Repository navigation
fix: keep release validation bounded and clean up session fixtures - #201623
Conversation
Apply the explicitly requested 120s to 180s test-only allowance to five worker lifecycle registrations. Preserve all assertions, synthetic execution deadlines, and production limits. Original FRV15 timeout causes remain unlocalized; this is not a product fix claim. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit b9a605f10eff1485c79968eec65141b2ad0ea14e)
Raise only the parameterized rollback test budget from the inherited 120 seconds to 180 seconds. FRV15 timed out in the Git case while neighboring rollback cases took 86-115 seconds. Preserve every restoration assertion and all production operation limits. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit d66b3b01f66390a4e3b1648ace73929fdaab5640)
Join captured creation-source persistence before checking terminal cleanup, and always release naming worktrees after the bounded root wait. Keep production limits unchanged while increasing focused integration-test deadlines. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit f10c54116aa51efe6e3593b429c2b93908dc64ef)
Allow the measured 101-package proof and APT installation sufficient bounded execution time. Retain launch and reservation lifecycle assertions instead of racing an unowned replacement port. Co-authored-by: RomneyDa <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR adjusts release-validation timeouts, fixes session-fixture cleanup ordering, and removes an unreliable port-rebind assertion. Example: A session creation source deregisters while its accepted terminal persistence is still pending.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it provides a focused fixture cleanup repair and bounded validation headroom, with no actionable correctness or security findings; exact-head CI remains pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherRelease-validation scripts and integration fixtures exercise Gateway, worker, update, and package-publication owners, then check results and release their test resources. flowchart TD
A[Release validation] --> B[Integration fixtures]
A --> C[Desktop proof script]
B --> D[Gateway and worker owners]
D --> E[Accepted persistence]
E --> F[Fixture cleanup]
F --> G[Result assertions]
Technical reviewBest possible solution: Retain the existing lifecycle owners and assertions while landing the fixture ordering repair and bounded allowances after required CI succeeds. Do we have a high-confidence way to reproduce the issue? Source establishes the stale cleanup result, and the PR reports a matching red/green regression; the historical hosted timeouts were not reproduced locally, and this review executed no target code. Is this the best way to solve the issue? The change uses existing settlement ownership, preserves runtime limits and substantive assertions, and removes a probe whose mocked process never owned the replacement listener. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 29f268729246. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +55, Other +1. Total +56 across 15 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 19, 2026, 12:19 AM ET / 05:19 UTC. |
Release adaptation of main PR #201623, merged as 428d204. Preserve the full 101-package CLI contract and existing startup/status assertions. Shared desktop and startup patches match the reviewed main change; CLI budget is adapted to the retained release suite. Co-authored-by: RomneyDa <[email protected]>
…penclaw#201623) * test(gateway): allow worker lifecycle fixtures 180 seconds Apply the explicitly requested 120s to 180s test-only allowance to five worker lifecycle registrations. Preserve all assertions, synthetic execution deadlines, and production limits. Original FRV15 timeout causes remain unlocalized; this is not a product fix claim. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit b9a605f10eff1485c79968eec65141b2ad0ea14e) * test(update): allow headroom for database rollback scenarios Raise only the parameterized rollback test budget from the inherited 120 seconds to 180 seconds. FRV15 timed out in the Git case while neighboring rollback cases took 86-115 seconds. Preserve every restoration assertion and all production operation limits. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit d66b3b01f66390a4e3b1648ace73929fdaab5640) * test: settle session fixtures and allow slower catalog refreshes Join captured creation-source persistence before checking terminal cleanup, and always release naming worktrees after the bounded root wait. Keep production limits unchanged while increasing focused integration-test deadlines. Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit f10c54116aa51efe6e3593b429c2b93908dc64ef) * test(release): bound slow setup and remove unowned port probe Allow the measured 101-package proof and APT installation sufficient bounded execution time. Retain launch and reservation lifecycle assertions instead of racing an unowned replacement port. Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
Release qualification can time out in slow integration fixtures, and session-worktree cleanup can report a stale removal result before accepted persistence finishes. An additional startup test races a port that its mocked Gateway does not own. This is a maintainer-requested release-validation repair.
User Impact
No production behavior or operation limits change. Release validation keeps its existing assertions while allowing bounded execution headroom and reliably joining fixture cleanup.
Why This Change Was Made
Use 180-second outer allowances for the affected worker/rollback/config cases, a 30-second test RPC/refresh allowance, and 300 seconds for the full 101-package CLI proof. Allow APT installation 480 seconds within a 20-minute active-work deadline. Join accepted session persistence before checking removal, always clean up naming worktrees, and remove an unowned port-rebind probe while retaining launch/config/status and independent reservation-release coverage.
Current main intentionally retired the old catalog-secrets suite in #198916; this patch preserves that retirement rather than restoring it merely to change a timeout.
Evidence
dc2fafc9ff846d827772c2a4f300cd044cdae688: six focused files passed, 89 tests total (68 tooling, 21 session/worktree). The main CLI proof executed all 101 packages with 4,900 requests.7f6b6d795f48..dc2fafc9ff84, P0–P2, and completed scoped-clean. Its supplied-patch review had no unchanged implementation context; the separate source review inspected owners and retained coverage.The release-only CLI suite passed all 7 tests, including both 101-package flows (ordinary: 4,900 requests; recovery: 7,792 requests). The six additional release-only credential-discovery failures were reproduced as loopback fixture traffic using an inherited HTTP proxy; a separate three-line test-only repair retains existing proxy exclusions and exempts only the fixture host:port. That full suite passed 9/9 on Node and 9/9 on Bun. The retired suite is not restored by this main PR. Neither this PR nor local passes claim that the new release candidate is qualified. Real desktop carriers and missing/cancelled CI coverage still require a new full release-validation run.
Simplification: no production owner, state, or compatibility layer added. Large worker diffs are formatter indentation around five timeout registrations. Added test code protects the distinct cleanup ordering failure.