ci: add timeout limits to CI jobs

Set explicit `timeout-minutes` for develop and test workflows to prevent jobs from running indefinitely and to cap resource usage. This includes a hard‑cap for the e2e‑server job, which can leak open handles and cause hangs.
This commit is contained in:
claude_code
2026-06-29 00:06:14 +03:00
parent 62eb7d082f
commit 82c41ccec6
2 changed files with 5 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ permissions:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20
# Real Postgres + Redis so the server integration suite (`*.int-spec.ts`,
# behind `pnpm --filter server test:int`) runs in CI (red-team finding #7).
# Without it, cost-cap / FK-cascade / jsonb-round-trip / real-apply tests