fix(opencode-go): treat block-boundary SSE events as liveness for idle timer#96995
fix(opencode-go): treat block-boundary SSE events as liveness for idle timer#96995lsr911 wants to merge 1 commit into
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close: the merged sibling PR now supersedes this branch; current main contains the same opencode-go predicate change plus focused regression coverage, so this PR has no unique safe remainder to merge. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Keep the merged current-main implementation and regression test from #97128 as the canonical path, and close this duplicate branch. So I’m closing this here and keeping the remaining discussion on #97128. Review detailsBest possible solution: Keep the merged current-main implementation and regression test from #97128 as the canonical path, and close this duplicate branch. Do we have a high-confidence way to reproduce the issue? Yes for the original bug: the canonical report supplied a focused source-level wrapper sequence, and current main now includes equivalent regression coverage. No remaining failing current-main path was established after the merged sibling landed. Is this the best way to solve the issue? No, this branch is no longer the best way to solve the issue. The best current path is the merged sibling on current main because it contains the same source change plus regression coverage. Security review: Security review cleared: The PR diff only changes provider-local TypeScript stream timing logic and does not alter dependencies, workflows, secrets, permissions, package resolution, or downloaded-code paths. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against fbfadbd806e1; fix evidence: commit 552ec2b49d4a, main fix timestamp 2026-06-27T01:48:42Z. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
…e timer - Add text_end, thinking_end, toolcall_start, toolcall_end to isProviderProgressEvent so the idle timeout is reset at block boundaries, preventing premature abort on slow streams Co-Authored-By: Claude <[email protected]> Signed-off-by: lsr911 <[email protected]>
83710dd to
13c0937
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@clawsweeper re-review |
|
@clawsweeper re-review |
1 similar comment
|
@clawsweeper re-review |
|
Closing: the block-boundary SSE liveness fix is already upstream in main. |
What Problem This Solves
Treat block-boundary SSE events as liveness for idle timer, preventing
premature stream abort at block boundaries.
Changes
extensions/opencode-go/stream-termination.ts: Addtext_end,thinking_end,toolcall_start,toolcall_endtoisProviderProgressEvent.Evidence
Unit tests: stalled stream wrapper
AI-assisted.