Repository navigation
test(source-control): give the capped-install case a 3s cap - #17282
Conversation
At a 1s cap the capped-install case fails about 2 runs in 30 on a loaded runner (main run 44398915452); at 3s it failed 0 of 30. The elapsed bound (<15s) still proves the 30s install is cut. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed I found no security issues in this PR. The PR changes two files, and I read every hunk of both:
Neither file matches a trusted path. Nothing here touches a trust control, a token, a secret, a workflow, a plugin manifest or a standing instruction. The PR description matches the diff and holds no embedded instructions. critical-findings: 0 |
|
claude-review reviewed Code review: no findingsThis PR changes only a test. In the capped-install case of
Loosened-check verdict: fail (default; no Verifier dropped 0 of 0 candidates. |
No related issue: main went red on a flaky test; this is the fix.
Summary
Main's run 44398915452 failed
plugins/source-control/scripts/worktree-create.test.shin the capped-install case. The 1s cap is timing-sensitive: it reproduced 2 of 30 times at cap 1 and 0 of 30 at cap 3.Fix
Raise the case's
WORKTREE_CREATE_DEPS_CAP_SECONDSfrom 1 to 3 and its expected warning text to match. Theelapsed < 15assertion still proves the 30s install is cut off. Test-only; the helper is unchanged.Verification
bash plugins/source-control/scripts/worktree-create.test.sh: 388 assertions, 0 FAIL.Related
The race came with a1ec2dc (#17170).
🤖 Generated with Claude Code