[BUG] v2.1.143: silent render-miss after upstream stream stall in skill-scoped turn (follow-up to #58897, fix incomplete)
What's Wrong?
In the VS Code extension webview, the final assistant text from a long, multi-tool-call turn does not render in the chat panel, even though it is fully persisted to the session JSONL on disk and is visible when the same session is opened via the CLI (claude --resume <sessionId>). The chat appears truncated right after the user prompt, with no error toast, no Unhandled case: [object Object] banner, and no further UI updates. Subsequent shorter assistant turns in the same session DO render normally.
This looks like the render-miss class of #58897 / #59054 / #58984 but is not fixed in v2.1.143 (the version that closed those threads). I have two independent reproductions on v2.1.140 and v2.1.143 with identical signature.
The single structural difference between the not-rendered assistant entries and the rendered ones in the same JSONL is the attributionSkill field: the missing-from-GUI entries have attributionSkill: "<skill-name>" set (the turn was generated inside a slash-skill invocation), and the visible entries do not (turns outside any skill scope).
What Should Happen?
The webview should render the assistant turn that is already persisted to the session JSONL, including assistant turns produced inside slash-skill invocations. Developer: Reload Window should re-render the full conversation from disk (matching the workaround reported by the author of #58984), but in my case it does not recover the truncated render either.
Error Messages/Logs
No Unhandled case banner in the UI for this manifestation. Stall warnings and a Stop hook schema validation failure are logged at the moment the missing turn is persisted:
# session A: 2026-05-14, ext v2.1.140
2026-05-14T13:25:30Z Stream started - received first chunk
2026-05-14T13:26:03Z [WARN] [Stall] stream_idle_partial lastChunkAgeMs=15001 bytesTotal=655 idleDeadlineMs=300000
2026-05-14T13:26:29Z [WARN] [Stall] stream_idle_partial lastChunkAgeMs=14999 bytesTotal=691
2026-05-14T13:26:44Z [WARN] [Stall] stream_idle_partial lastChunkAgeMs=30001 bytesTotal=691
2026-05-14T13:27:01Z [WARN] [Stall] stream_idle_partial lastChunkAgeMs=15001 bytesTotal=727
2026-05-14T13:27:03Z [WARN] Streaming stall detected: 74.5s gap between events (stall #1)
2026-05-14T13:27:10Z [WARN] Streaming completed with 1 stall(s), total stall time: 74.5s
2026-05-14T13:27:50Z [WARN] Streaming stall detected: 36.2s gap between events (stall #1)
2026-05-14T13:28:54Z Assistant text block (5649 chars, attributionSkill="<skill-name>") persisted to JSONL
2026-05-14T13:28:54Z [DEBUG] Hook JSON output validation failed - Stop hook returned hookSpecificOutput.additionalContext which is not in the Stop schema
# session B: 2026-05-18, ext v2.1.143
2026-05-18T08:54:09Z Stream started - received first chunk
2026-05-18T08:56:11Z [WARN] Streaming stall detected: 45.8s gap between events (stall #1)
2026-05-18T08:56:39Z Assistant text block (5253 chars, attributionSkill="<skill-name>") persisted to JSONL
In both sessions the assistant turn that fails to render is the first turn produced inside the slash-skill scope and follows at least one mid-turn upstream streaming stall.
Steps to Reproduce
- Open a fresh VS Code chat in the Claude Code extension on remote-SSH (laptop -> Linux VM via vscode-server) with
permissionMode: bypassPermissions, modelclaude-opus-4-71M. - Invoke a slash-skill that takes a ~3 to 4 KB prompt and runs 10 or more tool calls (Bash, Read, MCP servers). Both my repros used
/triageagainst a structured SNOW ticket input. - Wait for the upstream stream to stall mid-turn (
Streaming stall detected: >= 30s gap), which on the corporate Prisma Access / Zscaler network path happens once or twice per long turn in my measurements (39 stall events in one workday, peak 131.5s). - Let the model produce its final assistant text (typically 5 to 6 KB of markdown with mixed RU and EN, multiple fenced code blocks).
- Observe: the JSONL session file gets the assistant entry written (with
attributionSkill: "<skill-name>"), but the VS Code chat panel stays truncated at the user prompt. No toast, no banner. - Try
Developer: Reload Windowand re-open the same session. The truncated render persists across reload. - Open the same session via CLI in a terminal pane on the same VM:
claude --resume <sessionId>. The full assistant text is visible there.
Roughly 2 to 3 of every 10 long skill-scoped triage turns hit this for me; short non-skill turns (post-skill chat replies in the same session) always render fine.
Claude Model
Opus (claude-opus-4-7, 1M context)
Is this a regression?
I don't know
Last Working Version
Unknown. The closely-related Unhandled case toast class was claimed fixed in 2.1.142 by claude[bot] auto-close on #58984 / #59054, but multiple users (bornsl0ppy, SpencerBelleau, kitbeaupre-boop) confirmed the toast still fires on 2.1.142 in the #58897 thread. One user (heidkaemper) reports 2.1.143 works for them on macOS, but I am hitting the render-miss class (no toast) on 2.1.143 with the signature above.
Additional Context
- Extension:
anthropic.claude-code-2.1.143(and earlieranthropic.claude-code-2.1.140) - Spawn: confirmed in extension log,
version: 2.1.143, native binary at<ext-path>/resources/native-binary/claude - Permission mode:
bypassPermissions(not Auto mode, so this is not thetoAutoClassifierInputpath mentioned in #58984) - Host: Windows 11 (Azure AD Joined laptop) connecting via VS Code Remote-SSH to Linux VM running vscode-server; extension runs in the remote extension host
- Network: corporate Prisma Access / Zscaler proxy in front of
api.anthropic.com(high stall rate, likely SSE buffering)
Related issues
- #58897 (OP for the
Unhandled caseclass, closed-as-fixed-in-2.1.142 by claude[bot]) - #59054 (duplicate, closed; my earlier 5th-repro comment is in the thread)
- #58984 (duplicate, closed; author notes Reload Window re-renders for them, which does NOT match my case)
- #55863 (open; structural sibling: extension recognizes message subtype,
inputStream.enqueue, no webview renderer branch). TheattributionSkill: "<skill-name>"field on the not-rendered entries is the equivalent signal here. - #59030 (open; duplicate label, different trigger: Monaco editor worker)
Asks
- Reopen the underlying tracking issue (or scope a new one) for the render-miss class specifically. The toast and the silent render-miss are likely two outcomes of the same renderer fragility, but only one of them is currently marked fixed.
- Confirm whether the webview switch in
webview/index.js(theQB1assertNever pattern from #58897 OP) has an explicit branch for assistant turns withattributionSkillset, or whether those fall through to a no-op default. - Document a reliable workaround. CLI resume works for me, but I cannot expect non-CLI users to recover their truncated conversations this way.
Happy to share full session JSONLs and extension logs privately.
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/60140
- https://github.com/anthropics/claude-code/issues/59326
- https://github.com/anthropics/claude-code/issues/58897
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and π the existing issue instead
- To prevent auto-closure, add a comment or π this comment
π€ Generated with Claude Code
Not a duplicate. The three proposed issues (#60140, #59326, #58897) are all in the Unhandled case: [object Object] toast / banner family - visible UI error surfaces. This issue is the silent render-miss family - no toast, no banner, no error message in the chat panel, just truncated render after the user prompt.
Per-issue comparison:
| Issue | Surface symptom | Trigger | Mine matches? |
|---|---|---|---|
| #58897 | Unhandled case: [object Object] banner from assertNever switch fallthrough |
Unknown streaming event type | No - no banner in my repro |
| #60140 | Same toast + visible "response disappearing" | Webview's ~30-40s timeout vs SDK's idleDeadlineMs=300000 |
No - no toast in my repro |
| #59326 | Same toast + had_error:true |
Bash tool_dispatch_end outcome=error cascading into stream end |
No - no Bash tool failure in my repro |
| #60166 (this) | Silent render-miss, no UI error of any kind | attributionSkill: "<skill-name>" set on the assistant turn (turn generated inside slash-skill scope) + upstream streaming stall |
n/a |
Differentiators that argue against duplicate-collapse:
- No visible error at all in my repro. The webview does not show
Unhandled case, does not show a banner, does not emit any toast. The chat panel simply stops rendering after the user prompt. Subsequent shorter turns in the same session render fine. - Structural correlation in the JSONL. The not-rendered assistant entries in my session JSONLs all have
attributionSkill: "<skill-name>"set. The visible-rendered entries in the same JSONL do not. This field is set by the CLI when the turn is produced inside a slash-skill invocation (/triagein both my repros). The proposed-duplicates make no such structural claim. - Maintainer label confirms. The repo maintainers (or their auto-labeler) added
area:skillsto this issue and not to the three proposed duplicates. The skill-scope dimension is a real distinguishing axis. - Empirically refutes the fix-claim on the toast family. The bot auto-closed #59054 and #58984 as fixed-in-2.1.142 (per
claude[bot]on 2026-05-15). My two repros are on 2.1.140 and 2.1.143. The 2.1.143 repro proves the underlying renderer fragility class is not actually closed on 2.1.143 for the skill-scoped silent-render-miss variant, even if the visible-toast variant is fixed. - Reload Window behavior differs. #58984 author reports
Developer: Reload Windowre-renders the conversation from disk. My case does not - reload does not recover the missing assistant turn. This argues the persistence/replay path is wired differently for skill-attributed turns.
The toast variant and the silent-render-miss variant may share an underlying renderer fragility (e.g. the QB1 assertNever pattern from #58897's OP could have two failure modes: throw-and-toast for some unknown event types, swallow-and-no-render for others). But surface symptoms, recovery profile, structural JSONL correlate, and which build claims to fix them are all distinct. Collapsing this into the toast family loses the skill-scope and silent-render-miss signal that the JSONL provides.
Happy to attach the two affected session JSONLs privately for engineering diff.
Adding second-reporter datapoints that directly confirm the attributionSkill hypothesis at the field level, and broaden version coverage.
Direct field-level confirmation of OP's attributionSkill hypothesis
I parsed the JSONL for all three of my render-drop repros and inspected the top-level attributionSkill field on the originally-failed-to-render assistant text blocks:
| Session ID | Active ext | Failed text size | attributionSkill value |
User-facing trigger |
|---|---|---|---|---|
27c5bcbb-β¦ |
v2.1.140 | 2,119 chars | "TG_1_Architectural_Consultant" |
Slash command (/TG_1_Architectural_Consultant) β a prompt-injection command, not a Skill tool path |
87913e33-β¦ |
v2.1.140 | 12,393 chars | "what-context-needed" |
Slash command, but the model dispatched the Skill tool to load what-context-needed mid-turn; that became the scope of the failed text |
7b0a1d24-β¦ |
v2.1.140 | 13,257 chars | "TG_1_Architectural_Consultant" |
Slash command |
So every render-drop on my side has attributionSkill set. That matches the OP's structural observation 1:1. Adjacent successful sessions in the same workspace (commit-message generators, short non-skill turns) presumably do not β I haven't grepped exhaustively but the pattern fits.
One interesting nuance: attributionSkill in my data takes either the slash-command name (when the turn is scoped to a slash-command prompt-injection invocation) or the sub-skill name (when the model dispatched the Skill tool to load a helper skill mid-turn and the final text emission happened inside that scope). So the field captures both classes; the rendering bug fires whenever it is set, regardless of which class.
Version coverage
- Both
v2.1.140andv2.1.145exhibit the bug on my side. I originally hit it onv2.1.145(latest at the time), rolled back tov2.1.140hoping for a fix β bug persisted..obsoletein~/.vscode/extensions/confirms the rollback took effect (anthropic.claude-code-2.1.145-win32-x64: true). - Three render-drop repros in the same day (May 21 2026), all in the same VS Code instance on Windows 11 (native local β no Remote-SSH, no Prisma/Zscaler proxy).
Tool-chain shape and AskUserQuestion observation
| Session ID | Tool chain before the failed text | Has AskUserQuestion? |
|---|---|---|
27c5bcbb-β¦ |
Agent Γ 3, Read, AskUserQuestion Γ 4 |
Yes |
87913e33-β¦ |
Skill, Read, Agent Γ 2, Glob Γ 3, Grep Γ 2, Read |
No |
7b0a1d24-β¦ |
Skill, Read, Agent, Glob Γ 3, Grep Γ 2, Read |
No |
In every case the final assistant text is fully present in the session JSONL at ~/.claude/projects/<project>/<session-id>.jsonl and the model sees it in context on the next turn (it replies coherently, confirming server-side state intact). The renderer is the only failing layer.
AskUserQuestion is NOT required to trigger the bug. The shared factors are: attributionSkill set on the assistant turn, multi-tool chain prior to the final emission, and a large final text (~2 to 13 KB).
Stream-stall evidence I cannot provide
I tried to pull the equivalent stream-stall log output the OP shared β every VS Code log directory on my system (%APPDATA%\Code\logs\β¦) is empty, going back at least a week. Either default builds don't write to that location on Windows, or the harness logs elsewhere. Pointer to the right log location for Windows users would help future repro reports.
That said, since my repros happen on a stable local Windows network with no corporate proxy, the upstream-network-stall trigger from the OP may be sufficient but is not necessary. The bug fires on me without any stall warning surfacing (or, possibly, with stalls that my client never logs visibly).
Related observation (likely separate bug)
In the same day, one of my sessions (c5bc54f9-β¦, 12:42) hit a categorically different failure mode: zero assistant text turns in the JSONL (15 lines total, all tool-call and metadata blocks, no assistant/text content). The UI showed an extended working state then silence. This is NOT a render-miss β the model genuinely produced no text. Might be the same upstream stream-stall pathology hitting at a different lifecycle point, or might be unrelated. Mentioning it here so the maintainers can decide whether to track separately.
Related issues β broader / sibling bug family
The duplicate-detection bot on a parallel report flagged this thread alongside two others that look like the same underlying class with different framing or surface symptom:
- #59526 β VSCode extension renderer disconnects from live stream during long multi-step tasks; work completes successfully in background (macOS, v2.1.142). Same shape as the render-miss described here but framed without the skill-scope hypothesis β likely a parent / broader-class description of the same bug. Interestingly the OP there reports that closing and reopening the panel restores full visibility, which is the inverse of #60166's "
Developer: Reload Windowdoes not recover." Whether that's an OS difference (macOS vs Windows), a version difference (v2.1.142 vs v2.1.140/.143), or two distinct render paths within the same bug class is worth resolving. - #60002 β VSCode extension: "Unhandled case: [object Object]" banner orphans response, leaves chat stuck at "Thinkingβ¦" (Windows 11). Different visible surface (banner rendered) but same underlying impact (response done on agent side, lost to UI). Plausibly the visible-banner manifestation of the same stream-state-machine breakage that this thread sees as a silent drop.
If maintainers agree these are one bug, consolidating into a single tracker with three sub-cases (silent skill-scoped drop / silent broad multi-step drop / banner-orphan) would help avoid further duplicate splintering.
What this changes for the fix priority
OP reported v2.1.143; I confirm v2.1.140 and v2.1.145. So the bug is not bracketed by any version in the current release line β it is reproducible on the current latest. The fix in #58897 (Unhandled case banner) was a different surface symptom of what is plausibly the same underlying stream-state-machine bug, and #60166's identification of attributionSkill as the structural correlate is now confirmed by an independent reporter on a different OS, different network, and different version pair.
Happy to share raw JSONL session structures privately with engineering if it helps narrow the fault.