Skip to content

fix: restore hourly catalog, continuation, and replay checks - #200183

Merged
steipete merged 4 commits into
openclaw:mainfrom
steipete:fix/hourly-consumer-migrations-2518-b9d11
Nov 16, 2026
Merged

steipete merged 4 commits into
openclaw:mainfrom
steipete:fix/hourly-consumer-migrations-2518-b9d11

Conversation

@steipete

@steipete steipete commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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

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 merge 2746e91ef32c8; this is a corrected PR/main interaction, not an inherited-failure waiver.

Focused proof Result
Google catalog and registration 45/45 on Node and 45/45 on Bun
ClawRouter replay, exact qualified parent Original two cases failed on Node and Bun; both pass after migration, one unrelated case unselected
Continuation UI owner, corrected exact CI tree 44/44 on Node 24.22.1 and 44/44 on Bun 1.4.4
Failed UI-chat type leaf and touched caller lint Both pass
Chromium continuation E2E with production UI assets Passes with both assistant groups and all four exact Resumed labels
Real-Gateway child handoff/update/reload Original exact-main case fails at the stale wait assertion; migrated case passes with native child activity, persisted lifecycle, final completion, five parent requests, and complete Gateway/provider cleanup

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 5db76fd51b9d again 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 failed model-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 at 1e7bdc2b9040469af8beabbe669287e20a941bee passed 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.

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Nov 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review November 16, 2026 17:20
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Contributor
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-16T18:29:04.838087Z 5db76fd New commits
ℹ️ 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.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The browser test incorrectly requires a persistent handoff wait and elapsed clock after the update and reload.
  • After: The test requires the wait to disappear while retaining child activity, persisted lifecycle, completion, and parent-resume checks.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-supported maintenance repair with useful validation evidence and no actionable findings; broad exact-head CI is unfinished.
Proof confidence 🐚 platinum hermit (4/6) This maintenance change preserves user-visible runtime behavior; recorded focused checks and browser scenarios support the validation migrations.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Scheduled validation fails because tests and internal export surfaces lag behind intentional owner migrations.
Reason: The maintainer-authored repair restores useful checks while reducing internal surface area and preserving approved runtime contracts.

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
Reviewed head: 1e7bdc2b9040469af8beabbe669287e20a941bee

Before merge

None.

Findings

None.

Agent review details

How this fits together

Provider 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]
Loading

Technical review

Best 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

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit ddbbc80 adds ui/src/e2e/chat-send-ack-ownership.e2e.test.ts:86 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ddbbc80aac5a; files: ui/src/e2e/chat-send-ack-ownership.e2e.test.ts)
  • Ayaan Zaidi: Raw commit 30e9d3e adds extensions/google/provider-catalog-runtime.ts:93 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 30e9d3ee295e; files: extensions/google/provider-catalog-runtime.ts)
  • Vincent Koc: Raw commit a390d12 adds src/agents/clawrouter-xai-responses.test.ts:244 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a390d1248fbc; files: src/agents/clawrouter-xai-responses.test.ts)
  • Vyctor H. Brzezowski: Raw commit 18136c9 adds ui/src/pages/chat/chat-subagent-wait.ts:422 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 18136c960eaf; files: ui/src/pages/chat/chat-subagent-wait.ts)

PR surface

Source -6, Tests -31. Total -37 across 9 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 2 8 -6
Tests 6 54 85 -31
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 9 56 93 -37

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: Restoring scheduled validation is useful maintenance with limited blast radius and no runtime behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-11-16T17:38:25.375Z sha d9b03dd :: needs changes before merge. :: [P2] Migrate the settle-receipt caller before removing the helper import
  • reviewed 2026-11-16T18:30:37.417Z sha 5db76fd :: needs maintainer review before merge. :: none

Reviewed November 16, 2026, 2:31 PM ET / 19:31 UTC (Revision 3).

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui agents Agent runtime and tooling extensions: google size: S labels Nov 16, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Addressed the one open item in ClawSweeper's review at 5db76fd51b9db36db5b02b926cbe1ca829ab2864.

  1. Migrate the settle-receipt caller before removing the helper import. The remaining callback now uses readProjectedContinuation(chatItemGroups(part)[0]?.messages[0]?.message). The subagent assertion and both tool-visibility variants remain intact. The exact failed CI main parent is integrated; the pre-fix tree matches the failed merge candidate. UI-chat typechecking, both owning UI files (44/44 each on Node 24.22.1 and Bun 1.4.4), lint, and Chromium continuation all pass.

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

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor Author

Follow-up CI correction at 1e7bdc2b9040469af8beabbe669287e20a941bee, after the zero-item review of 5db76fd51b9d:

  1. Remove the obsolete screenshot-only ACK scroll. The successor tool readiness checks remain, while the unused scrollIntoViewIfNeeded() call is removed. test(runtime,ui): remove low-value tests (batch d342) #178793 removed its screenshot captures; the lazy row introduced by perf(ui): defer detailed tool rendering from chat boot #181052 can legitimately replace a matching placeholder while the scroll waits for stability. All four original ownership/receipt cases pass on the correction, with unchanged draft, visibility, command-text, send-count, abort-identity assertions and deadlines. The full-fixture Codex delta review is clean; the prior eight files are unchanged.

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

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Nov 16, 2026
@clawsweeper clawsweeper Bot added the status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. label Nov 16, 2026
@steipete
steipete merged commit 9c44c4c into openclaw:main Nov 16, 2026
148 of 149 checks passed
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

@steipete
steipete deleted the fix/hourly-consumer-migrations-2518-b9d11 branch November 16, 2026 20:00
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. extensions: google P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant