Skip to content

fix(web): thread error banner can be dismissed again - #97

Merged
enisze merged 1 commit into
mainfrom
feature/dismissable-runtime-stream-error
Sep 23, 2026
Merged

enisze merged 1 commit into
mainfrom
feature/dismissable-runtime-stream-error

Conversation

@enisze

@enisze enisze commented Sep 23, 2026

Copy link
Copy Markdown
Owner

Claude runtime stream errors shown in the banner at the top of a chat could not be clicked away. Dismissing cleared only the client-side error copy, and the banner immediately fell back to the error persisted on the thread's session (session.lastError).

The fix from upstream pingdotgg#6123 (session-scoped dismissal keyed by thread + message) was lost during the fork integration (8872cabbc); the helpers in ThreadErrorBanner.tsx remained but were unused. This restores the wiring in ChatView: the banner and top-banner spacing use the masked visibleThreadError, and dismissing records the dismissal and forces a rerender. A new, different error on the same thread still shows.

Verified with vp test run apps/web/src/components/chat/ThreadErrorBanner.test.tsx and a web typecheck.

Model: Claude Opus 5.5 (1M context). Harness: Claude Code.

🤖 Generated with Claude Code

The fork integration dropped the session-scoped dismissal wiring from
pingdotgg#6123, so dismissing a runtime stream error only cleared the local copy
and the banner fell through to session.lastError.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@enisze
enisze merged commit f6e4967 into main Sep 23, 2026
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant