CI: timeout-minutes on every job
CI / UI screenshots (before/after) (push) Skipped
CI / Test (jest) (push) Successful in 52s
CI / Lint (eslint) (push) Successful in 56s
CI / Security (npm audit) (push) Successful in 18s
CI / Scan (secrets, workflows, shell) (push) Successful in 2m12s
CI / Integration (api) (push) Successful in 2m31s
CI / Lint (eslint) (pull_request) Successful in 22s
CI / Test (jest) (pull_request) Successful in 26s
CI / Security (npm audit) (pull_request) Successful in 14s
CI / UI (playwright) (push) Successful in 2m29s
CI / Deploy (push) Skipped
CI / Deploy worker (push) Skipped
CI / Notify (push) Skipped
CI / Integration (api) (pull_request) Successful in 2m41s
CI / Scan (secrets, workflows, shell) (pull_request) Successful in 1m53s
CI / UI screenshots (before/after) (pull_request) Successful in 11s
CI / UI (playwright) (pull_request) Successful in 1m56s
CI / Deploy (pull_request) Skipped
CI / Deploy worker (pull_request) Skipped
CI / Notify (pull_request) Skipped

A Test (jest) job sat in npm ci for over 20 minutes; with no timeout a
hung step holds main's queue until the runner's own limit (hours).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-22 22:45:58 -05:00
1 parent e6dbb2869b
commit db1f71aa4c
1 file changed
+10
+10
View File
@@ -27,6 +27,7 @@ jobs:
lint:
name: Lint (eslint)
runs-on: ubuntu-latest
timeout-minutes: 20 # a hung step fails instead of blocking main
container: node:20-bookworm
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
@@ -46,6 +47,7 @@ jobs:
test:
name: Test (jest)
runs-on: ubuntu-latest
timeout-minutes: 20
container: node:20-bookworm
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
@@ -57,6 +59,7 @@ jobs:
audit:
name: Security (npm audit)
runs-on: ubuntu-latest
timeout-minutes: 10
container: node:20-bookworm
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
@@ -85,6 +88,7 @@ jobs:
integration:
name: Integration (api)
runs-on: ubuntu-latest
timeout-minutes: 25
container: node:20-bookworm # the server and workers on production's Node
env:
DB_HOST: 127.0.0.1
@@ -109,6 +113,7 @@ jobs:
scan:
name: Scan (secrets, workflows, shell)
runs-on: ubuntu-latest
timeout-minutes: 20
container: node:20-bookworm
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
@@ -147,6 +152,7 @@ jobs:
ui:
name: UI (playwright)
runs-on: ubuntu-latest
timeout-minutes: 30
# Official image with Chromium and its system libraries; its version must match
# @playwright/test in package.json.
container: mcr.microsoft.com/playwright:v1.64.1-noble
@@ -182,6 +188,7 @@ jobs:
ui-screenshots:
name: UI screenshots (before/after)
runs-on: ubuntu-latest
timeout-minutes: 30
if: github.event_name == 'pull_request'
container: mcr.microsoft.com/playwright:v1.64.1-noble
env:
@@ -231,6 +238,7 @@ jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
timeout-minutes: 15
needs: [lint, test, audit, scan, integration, ui]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# Never run two deploys at once; queue instead of cancelling a deploy mid-way.
@@ -290,6 +298,7 @@ jobs:
deploy-worker:
name: Deploy worker
runs-on: ubuntu-latest
timeout-minutes: 15
container: node:20-bookworm
needs: [deploy] # the server first: it must understand anything new the worker sends
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
@@ -356,6 +365,7 @@ jobs:
notify:
name: Notify
runs-on: ubuntu-latest
timeout-minutes: 5
needs: [lint, test, audit, scan, integration, ui, deploy, deploy-worker]
# Alert on any failure on main or in the weekly audit, and on every deploy outcome.
if: >-