Skip to content

Commit 2d908f8

Browse files
fix(ci): give dev promote-trigger a 20-min margin over its poll budget
1 parent c7c2aab commit 2d908f8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,10 @@ jobs:
269269
github.event_name == 'push' && github.ref == 'refs/heads/dev' &&
270270
needs.deploy-trigger-dev.result == 'success'
271271
runs-on: blacksmith-4vcpu-ubuntu-2404
272-
# Dev bake is 5 min; the poll budget (30 min) and session (40 min) are sized for
273-
# that with margin, well short of the prod path's 70/90.
272+
# Dev bake is 5 min and dev deploys don't queue behind a bake (serialized by the
273+
# ci-<ref> group), so a 20-min poll is ample; the 40-min job leaves ~20 min for
274+
# setup + promote above it (mirrors the prod 90-vs-70 margin), and the 40-min
275+
# session outlasts the poll.
274276
timeout-minutes: 40
275277
permissions:
276278
contents: read
@@ -329,7 +331,7 @@ jobs:
329331
- name: Wait for ECS traffic cutover
330332
if: steps.appdeploy.outputs.deployed == 'true'
331333
env:
332-
OVERALL_TIMEOUT: "1800"
334+
OVERALL_TIMEOUT: "1200"
333335
run: |
334336
set -eo pipefail
335337
CHANGED=$(cat dev-meta/app_image_changed.txt)

0 commit comments

Comments
 (0)