Skip to content

test(jobs): widen terminal-job wait for loaded CI runners - #277

Merged
willgriffin merged 1 commit into
mainfrom
claude/fence-timeout-flake-14f110
Oct 29, 2026
Merged

willgriffin merged 1 commit into
mainfrom
claude/fence-timeout-flake-14f110

Conversation

@willgriffin

Copy link
Copy Markdown
Owner

Closes #276

The 3s terminal wait in waitForTerminalJob (job-workspace-runner.integration.spec.ts) timed out on the loaded shared runner (suite takes 11-15 min there), failing main CI on the permission-fence case.

  • Terminal wait ceiling 3s -> 25s (TERMINAL_JOB_BUDGET_MS). It resolves on the first job:completed/job:failed event for the job, and listeners are attached before runner.start(), so a job finishing early is never missed and local speed is unchanged.
  • Describe timeout 20s -> 45s so it cannot fire before the wait (10s native startup + 25s + headroom).
  • No assertions changed.

Validation: spec 15/15; root pnpm format-check, lint, check, test, build, knowledge:check all green.
Review-cycle: standard risk, one balanced reviewer (codex-sol), CLEAN after evidence continuation.

@willgriffin
willgriffin merged commit 6a508cb into main Oct 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: permission-fence dispatch test times out on loaded runners

1 participant