Repository navigation
OpenCode strict live-turn ownership — kills the render spasm - #417
Merged
Merged
Conversation
allowReplaceOfLiveTurn true→false. The 'single stream = no racing producer' assumption was disproven by the 2026-07-06T16-54 bundle: OpenCode interleaves concurrent assistant messages on one SSE stream, and live replacement ping-ponged the turn slot — 30 turn_starteds across 4 alternating messageIDs, 27<->29 visible-row spasm. Strict ownership matches codex; concurrent content backfills via assembled committed entries and the universal ended-turn handoff. Companion: opencode-headless fix/session-filter-tool-blocks (session ownership filter — the other half of the interleaving). Gate: tsc -b node exit 0, tsc web 0 errors on main checkout. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One-knob fix:
allowReplaceOfLiveTurn: falsefor opencode, with the honest post-mortem WHY (my original 'no racing producer' rationale was disproven by bundle 87f0eeef — 30 turn_starteds across 4 alternating messageIDs). Companion to opencode-headless#2 (session filter + tool_use vocabulary). Gate: tsc clean both projects.🤖 Generated with Claude Code