Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit c096949

Browse files
authored
add ci command for webhooks and increase visibility timeout (#878)
* add ci command for webhooks and increase visibility timeout * add ci command for webhooks and increase visibility timeout
1 parent a3eec03 commit c096949

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/deploy-prd-enhanced-webhooks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
aws-region: us-east-2
2424
- name: Deploy Enhanced Infrastructure
2525
run: |
26+
npm ci
2627
cd cdk-infra/
2728
npm ci
2829
npm run deploy:enhanced:webhooks -- -c env=prd -c customFeatureName=enhancedApp

.github/workflows/deploy-stg-enhanced-webhooks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
aws-region: us-east-2
2626
- name: Deploy Enhanced Infrastructure
2727
run: |
28+
npm ci
2829
cd cdk-infra/
2930
npm ci
3031
npm run deploy:enhanced:webhooks -- -c env=dotcomstg -c customFeatureName=enhancedApp-dotcomstg

cdk-infra/lib/constructs/queue/queues-construct.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { Duration } from 'aws-cdk-lib';
12
import { IQueue, Queue } from 'aws-cdk-lib/aws-sqs';
23
import { Construct } from 'constructs';
34

@@ -13,6 +14,7 @@ export class AutoBuilderQueuesConstruct extends Construct {
1314
const jobsQueueDlq = new Queue(this, 'jobsQueueDlq');
1415

1516
const jobsQueue = new Queue(this, 'JobsQueue', {
17+
visibilityTimeout: Duration.seconds(120),
1618
deadLetterQueue: {
1719
queue: jobsQueueDlq,
1820
maxReceiveCount,
@@ -22,6 +24,7 @@ export class AutoBuilderQueuesConstruct extends Construct {
2224
const jobUpdatesQueueDlq = new Queue(this, 'jobUpdatesQueueDlq');
2325

2426
const jobUpdatesQueue = new Queue(this, 'JobUpdatesQueue', {
27+
visibilityTimeout: Duration.seconds(120),
2528
deadLetterQueue: {
2629
queue: jobUpdatesQueueDlq,
2730
maxReceiveCount,

0 commit comments

Comments
 (0)