Repository navigation
test(hopper): synchronize cleanup retry on lease acquisition - #12481
Conversation
[Low impact] This test-only change appears safe to merge. SummaryThe Hopper cleanup-retry test now waits for fake lease acquisition before cancelling startup, instead of relying on a 100 ms timeout.
No actionable issues found. Review was source-only; tests were not rerun. Available Git history showed no superseding change; remote PR status was not checked. Reviews (1) · Last reviewed commit: "test(hopper): gate cross-client lease cl..." · Reviewed by Greptile |
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. |
Summary
Synchronize the Hopper cleanup-retry test on fake launcher lease acquisition.
Problem and change
The fixture gave both clients a 100 ms startup budget. Under hosted load either client could time out during filesystem setup, before the test reached the ownership behavior it meant to exercise. The failing CI shard on #12416 returned a startup timeout where the test expected the retained owner.
The test now waits for explicit fake lease acquisition and cancels each admitted startup. It checks that failed cleanup retains the first client's lease, that the second client is refused with the first owner recorded, and that retry releases the lease. Production startup and timeout behavior use their existing paths.
Evidence and validation
All 47 focused fake-Hopper boundary tests and
npm run check:fastpassed. The merge with the current #12416 head was clean. No real Hopper operation ran.Author readiness
Human owner: @morluto