Repository navigation
fix(tui): lower durable event log level - #36479
Merged
Merged
Conversation
This was referenced Jul 12, 2026
This was referenced Jul 19, 2026
jinhuang712
pushed a commit
to jinhuang712/opencode
that referenced
this pull request
Sep 26, 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.
What
1. Before: one durable event becomes N INFO lines
With N connected TUIs, every client writes the same durable event to the shared normal log.
2. After: INFO describes connections; DEBUG carries event metadata
The normal log keeps connection lifecycle messages, while detailed durable-event metadata remains available when DEBUG logging is enabled.
This supersedes the duplicate durable event logging symptom tracked in #36283.
Fixes #36446
Implementation
packages/tui/src/context/sdk.tsx: emit per-durable-event metadata at DEBUG instead of INFO.packages/tui/test/cli/tui/use-event.test.tsx: assert that durable event diagnostics use the DEBUG level.Scope
This does not change event delivery, SSE subscriptions, durable event contents, or connection lifecycle logging.
Testing
cd packages/tui && bun run test test/cli/tui/use-event.test.tsx(6 passed, 0 failed)cd packages/tui && bun typecheck(passed)bun turbo typecheck --concurrency=3(31 successful, 31 total)git diff --check(passed)