Repository navigation
fix: restore hourly catalog, continuation, and replay checks - #200183
Conversation
|
🦞👀 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 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. |
|
Codex review: needs maintainer review before merge. What this changesThis PR migrates validation callers to current catalog, continuation, replay, and handoff contracts and removes obsolete internal exports and screenshot scrolling. Example: A parent answers an update while its original child continues running.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is a useful maintenance repair with no actionable findings; the earlier continuation-caller blocker is resolved, and exact-head CI remains in progress. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherProvider tests consume catalog and stream owners, while Control UI tests turn Gateway history and lifecycle facts into conversation groups and handoff status. flowchart TD
A[Validation suites] --> B[Google catalog loader]
A --> C[ClawRouter stream hooks]
A --> D[Gateway session history]
D --> E[Transcript projection]
E --> F[Continuation groups and handoff status]
Technical reviewBest possible solution: Land the complete validation-consumer migration through existing CI gates while preserving current runtime owners and behavior. Do we have a high-confidence way to reproduce the issue? Source and migration history establish the obsolete exports and expectations, supported by the PR's recorded red/green validation; this read-only review ran no target code. Is this the best way to solve the issue? The patch completes caller migrations through existing owners, removes the unused forwarding surface, and retains distinct lifecycle and replay assertions without adding machinery. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 4ba3e541cee8. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -6, Tests -31. Total -37 across 9 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 HistoryReviewed November 16, 2026, 2:31 PM ET / 19:31 UTC (Revision 3). |
Baseline-Refresh: aee5d9ac539a0daf0d8b209b6e25107fb1af1b7e
|
Addressed the one open item in ClawSweeper's review at
The same owner migration also left the real-Gateway handoff test expecting a stale wait after a settled parent update. Its updated contract preserves the initial wait, continuing native child, update/reload lifecycle, final completion, and exactly one parent resume. The original case fails on the exact main parent and the migrated case passes. Its affected typecheck/lint and the complete eight-file Codex review are clean. Original CI and the remaining separately investigated ACK/mobile/Slack failures are documented in the updated PR body; no inherited exemption is claimed. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Follow-up CI correction at
Run43928243586 also reported the first rejected-key Save taking 2,520 ms against the unchanged 2,000 ms requirement. That key-save family remains unresolved, also affects #200133, and is not claimed fixed, flaky, or inherited by this ACK correction. The updated body preserves the failed run and proof limits. The prior zero-item review does not cover this new head. @clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
…w#200183) * fix(ci): restore catalog, continuation, and replay checks * test(ui): complete continuation and handoff consumer migrations * test(ui): remove obsolete ACK fixture screenshot scroll
What Problem This Solves
Restores scheduled CI checks whose tests and export surfaces missed catalog, replay, and continuation-owner migrations. Also completes the continuation test cutover after the first PR run merged a newly added main caller.
Current correction head:
1e7bdc2b9040469af8beabbe669287e20a941bee.User Impact
No production behavior changes. Catalog discovery, replay isolation, continuation grouping, and real-Gateway child lifecycle checks again exercise their current owner contracts.
Why This Change Was Made
30e9d3ee295e9) moved Google registration toloadGoogleLiveCatalog. Remove the provider-only wrapper now used solely by tests and migrate its callers to the unchanged loader's provider result.24385a20428a3) left a module-only session-history type and a test-only grouping export public. Keep those declarations private; tests inspect emitted groups through the existing continuation metadata reader.225d22fc5020) deliberately removed the credential lookup path from replay identity. Remove the superseded profile-isolation test option/arm while retaining same-session replay, rejection across sessions, request authentication, usage, and transcript immutability assertions.18136c960eaf7) added another continuation caller and intentionally limited the transcript wait to the current handoff. Migrate that new caller without changing its assertions. Update the real-Gateway test to require the initial generic handoff wait without an elapsed clock, then require its absence after a settled parent update and reload while the same child continues. Child activity, persisted parent lifecycle, completion, and exactly one parent resume remain checked.Production code shrinks by six lines and test code by thirty-one lines. The obsolete elapsed-clock parser and polling helper disappear. No schema, configuration, production wait/replay boundary, timeout, or dependency-audit exemption changes.
The shared overflow fixture from the original PR revision is already identical on main through
472cd0a2f5425; it is no longer part of this PR's diff.A subsequent PR run exposed an obsolete screenshot-only scroll in the ACK ownership fixture. #155746 added it for captures; #178793 removed those captures but left the scroll. #181052 later introduced a legitimate lazy placeholder that can be replaced while Playwright waits for scroll stability. Remove only the unused scroll operation; all four receipt/ownership cases, draft/visibility/command assertions, send counts, and abort identity checks remain intact. The hosted log does not identify the detached node, so this does not claim a renderer defect or an inherited failure.
Evidence
Scheduled run 43878996712 reported the three dead exports. The original repair's required changed-file check covered all 43 obligations: 36 passed in the original 537.99-second aggregate, and seven initially failed because compiler/declaration dependencies resolved outside the task checkout. After exact-version private dependency materialization, only the failed gates were replayed and passed. A candidate fixture type error was corrected with the real production snapshot type; that fixture has since landed independently. The original aggregate failure remains recorded, and successful gates were reused.
The first exact-head PR run 43917418516 failed. Its merge tree added #198133's third continuation caller after the original two-caller migration, causing TS2304 and a Bun ReferenceError. The correction integrates that exact main parent,
4a0e45492b898, and migrates the third caller. The integrated pre-fix tree is identical to the actual failed CI merge2746e91ef32c8; this is a corrected PR/main interaction, not an inherited-failure waiver.The corrected continuation proof took 4.63 seconds for the type leaf, 7.82/5.67 seconds for Node/Bun owner tests, 5.37 seconds for lint, and 31.88 seconds for Chromium including its production UI build. The real-Gateway case changed from an original failure at 19.900 seconds to a passing case in 16.572 seconds. These are validation costs, not production performance or allocation claims.
No new authenticated Google calls were made: the mechanical live-test migration receives the same provider value from the unchanged loader, with deterministic catalog and extension-test type proof. No live-provider behavior change is claimed.
Fresh complete eight-file Codex review and the subsequent full-fixture one-line ACK delta review are scoped-clean through P2. The newly affected UI E2E chat type leaf passed in 4.11 seconds and the changed wait-clock test lint passed in 4.56 seconds under Node 24.22.1; canonical formatting and diff checks also passed. Prior seven-file proof and independent wait-clock red/green proof remain bound to their exact source inputs.
Run 43928243586 at
5db76fd51b9dagain failed the ACK fixture before resolving the deferred receipt, at the obsolete scroll. After the one-line removal on that exact published head, all four original Chromium cases passed once (35.61 seconds wall; browser exited cleanly). All assertions and deadlines remain. The same run also failedmodel-key-save-check.real-gateway.e2e.test.ts:155: the first rejected-key Save took 2,520 ms against the unchanged 2,000 ms requirement. This key-save latency family is unresolved and also blocks #200133; this ACK-only correction does not fix it or establish that it is flaky or inherited. The original run's mobile sharing-access and Slack inline-identity failures remain separately investigated; their passing appearances in this run do not establish fixes. The run is terminal with 47 successful jobs, the two substantive failures above, the failed aggregate gate, and 25 skipped jobs. The final correction at1e7bdc2b9040469af8beabbe669287e20a941beepassed exact-head CI 43939175453: 49 successful jobs, 26 skipped, zero failures, including both real-Gateway shards and the combined CI gate. The prior key-save latency failure did not recur in this run; it remains unresolved, and this PR does not claim to fix it. ClawSweeper reviewed that exact final head with zero findings and zero open items. The unused worker fixtures remain owned by #200133. Later consolidation-related dead-export findings are reported separately, and a green changed-file export check does not imply the hourly unused-files gate is green.