Skip to content

fix(web): keep cited child threads available on desktop and web - #86

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
codex/retain-cited-threads
Nov 9, 2026
Merged

ScriptedAlchemy merged 2 commits into
mainfrom
codex/retain-cited-threads

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

A desktop chat could say “Thread no longer available” for an idle subagent that still existed. If the stored thread ID contained literal percent escapes, the renderer requested only the decoded ID. Even a successful lookup could lose its title when the renderer released the read that supplied it.

Keep the cited thread and its decoded fallback loaded while the citation is displayed. Prefer the ID as written and release both reads when the citation changes or unmounts. Desktop and web share this renderer. iOS and Android already retain the same candidates; the mobile regression now checks the opaque ID through title resolution and tap-target lookup.

Before After
Unavailable thread Resolved child thread

The Chromium regression failed on the base revision and passed with the fix, including the destination and cleanup assertions. All 22 focused tests passed, as did vp run check:changed origin/main. No live Electron or Android device session was available; the screenshots are from the Chromium component test.

Model and harness: GPT-6, Codex.

@changeset-bot

changeset-bot Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7d5eec3

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy merged commit 07516b0 into main Nov 9, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant