Skip to content

test(hopper): synchronize cleanup retry on lease acquisition - #12481

Merged
morluto merged 1 commit into
mainfrom
test/hopper-cleanup-lease-fixture-gate
Nov 19, 2026
Merged

morluto merged 1 commit into
mainfrom
test/hopper-cleanup-lease-fixture-gate

Conversation

@morluto

@morluto morluto commented Nov 19, 2026

Copy link
Copy Markdown
Owner

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:fast passed. The merge with the current #12416 head was clean. No real Hopper operation ran.

Author readiness

Human owner: @morluto

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@greptile-apps

greptile-apps Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This test-only change appears safe to merge.

Summary

The Hopper cleanup-retry test now waits for fake lease acquisition before cancelling startup, instead of relying on a 100 ms timeout.

  • The cleanup-retry test waits for lease acquisition before cancelling startup.

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

@morluto
morluto marked this pull request as ready for review November 19, 2026 19:04
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T19:06:05.551677Z 6da8094 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@morluto
morluto enabled auto-merge (squash) November 19, 2026 19:07
@morluto
morluto merged commit 654c17b into main Nov 19, 2026
39 checks passed
@morluto
morluto deleted the test/hopper-cleanup-lease-fixture-gate branch November 19, 2026 19:23
@morluto morluto added area: tests Test suite and verification provider: hopper Analysis provider / engine: hopper labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification provider: hopper Analysis provider / engine: hopper

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant