GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||
GeezerVison is showing github.com — fix(client-runtime): reopening a running thread shows its cached messages right away by shivamhwp · Pull Request #24210 · pingdotgg/t3code Conversation
|
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This focused client-runtime fix adds one final cache write when an active thread view closes, while preserving the existing no-write-during-streaming behavior. A regression test verifies the cached snapshot contains the latest running state without repeated saves. You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Finalizer persistence and regression coverage packages/client-runtime/src/state/threads.ts, packages/client-runtime/src/state/threads-sync.test.ts |
The finalizer persists projections when history is not expanded. The test verifies that no cache write occurs while the scope remains open, then checks that closing it saves one snapshot with the latest sequence, title, and running status. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Possibly related issues
Suggested reviewers: maria-rcks, macroscopeapp
fff4dReopening a running thread can show its cached messages while the server responds. No actionable merge-blocking risk remains after normal checks.
Explanation
The title names the main change: reopening a running thread now shows its cached messages right away. It matches the objectives, which save the latest thread copy when the view closes so the next open can render from cache. It uses a conventional commit prefix and scope, and it is short and specific.
Explanation
The pull request description includes all required sections. It clearly explains the problem, change, scope and approval basis, focused verification with observed results, limitations, recordings, regression testing, and the agent model and harness.
Comment @coderabbitai help to get the list of available commands.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ages right away The thread cache skipped any thread with an active run, so a thread you checked while its agent worked was never saved on the device. Reopening it after a relaunch showed a blank view until the server answered. Save it once when the thread view closes; streaming updates still skip the write. Refs pingdotgg#24192 Co-Authored-By: Claude Opus 5.5 <[email protected]>
3369733 to
fff4d8c
Compare
Superseded by @maria-rcks's takeover in #25213. Closing in favor of that one. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.