Repository navigation
fix: allow catalog continuation after native terminal exit - #191817
Merged
Merged
Conversation
Recheck blocked catalog continuation against provider metadata on terminal exit, preserving retained transcript pages and existing read ownership. Co-authored-by: ericcaiwx-star <[email protected]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
roboclaw-bot
enabled auto-merge (squash)
November 3, 2026 10:08
Collaborator
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 4, 2026
…191817) Recheck blocked native catalog continuation against provider metadata after terminal exit, preserving retained transcript pages and read ownership. Supersedes openclaw#145930, thanks @ericcaiwx-star. Co-authored-by: ericcaiwx-star <[email protected]>
This was referenced Nov 12, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #145930, thanks @ericcaiwx-star.
Related: #145637
What Problem This Solves
Fixes an existing native conversation remaining unavailable for Web continuation after its terminal exits because the retained catalog pane still has the provider's earlier
canContinue: falseresult.User Impact
Users can continue once the provider allows it, without reloading the page. Provider denial still blocks continuation. Loaded transcript pages and the older-history cursor remain intact; no configuration or migration is required.
Why This Change Was Made
The catalog reader now handles the existing Gateway
terminal.exitevent and reuses its scoped metadata lookup for blocked conversations. A metadata-only read preserves the retained transcript. An unfinished transcript keeps its existing full-read/resume path.This takes the continuation repair from the original proposal. Transcript reconciliation and new-session discovery remain outside this change. A terminal exit revalidates blocked retained catalogs on the same connection; it does not infer permission from the exit event.
Production delta is +23 lines, reusing the existing reader and event subscription. There is no dead or duplicate owner code to remove safely to offset this small addition. The 102-line regression allocation covers continuation recovery, provider denial, and a hidden unfinished transcript in one parameterized mounted-pane test.
Evidence
43c3b45c8e2c, the focused regression fails: terminal exit leaves the catalog at one metadata read instead of two, so continuation stays blocked.node scripts/run-vitest.mjs ui/src/pages/chat/chat-pane-catalog-terminal.test.ts ui/src/pages/chat/chat-pane-catalog.test.ts ui/src/pages/chat/chat-pane-catalog-disconnect.test.ts --maxWorkers=1passes all 29 tests. The final command took 8.33 seconds wall time; the new file's three cases each take under one second. Hosted UI shards completed successfully in 549, 553, and 495 seconds (1,597 whole-job seconds including setup and existing tests).--tsconfig tsconfig.ui.json, formatting, andgit diff --checkpass. Broad build/typecheck/test proof is delegated to PR CI.43c3b45c8e2c, with complete affected owners supplied, is scoped-clean at P0–P2. No actionable findings.gh pr view/diffand was never checked out or run. This is an independent implementation on current main. Validation uses the production pane lifecycle and Gateway-event boundary in jsdom; no browser or real native CLI/Gateway run is claimed.Exact-head broad CI passed for
cb64e598b6f30833c78f3c1f6cd53224fe18e802; all required gates were green before merge.