GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||
GeezerVison is showing github.com — fix(web): render persisted bash tool output in expanded turns by maslinedwin · Pull Request #7184 · pingdotgg/t3code Conversation
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| if (entry.output) { | ||
| parts.push(entry.output); | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium src/session-logic.ts:247
A successfully completed command that prints persisted stdout containing command not found, ENOENT, or exit code 1 is marked as failed, so it loses the success affordance despite its successful lifecycle status. entry.output is included in the error-phrase heuristic without being known to represent an execution error; restrict heuristics to error-specific output or rely on explicit lifecycle/exit status.
- if (entry.output) { - parts.push(entry.output); - }
In file @apps/web/src/session-logic.ts around lines 247-249:
A successfully completed command that prints persisted stdout containing `command not found`, `ENOENT`, or `exit code 1` is marked as failed, so it loses the success affordance despite its successful lifecycle status. `entry.output` is included in the error-phrase heuristic without being known to represent an execution error; restrict heuristics to error-specific output or rely on explicit lifecycle/exit status.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in ddb2bce. Failure heuristics no longer scan entry.output. Completed-success commands whose stdout mentions command not found / ENOENT / exit code 1 keep the success affordance; explicit lifecycle/status and error-shaped detail/command still fail.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I'm unable to act on this request because you do not have permissions within this repository.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Three findings in the new expanded Command-run output UI in apps/web/src/components/chat/MessagesTimeline.tsx. The keyboard one is a real interaction regression: the expanded body now contains focusable controls but only stops pointer events from reaching the row toggle.
Posted via Macroscope — UI Consistency
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 2c23bd1. Configure here.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Needs human review 1 blocking correctness issue found. This PR introduces new user-facing capability to render bash tool output across mobile, server, and web apps. It adds a new data field ( You can customize Macroscope's approvability policy. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Do not scan persisted stdout for failure phrases, skip MCP result duplication, and only project large result bodies for command/bash tools. Keep copied output raw, including a trailing exit-code line, and stop Enter/Space from collapsing the expanded row.
|
Confirmed the underlying behavior is still present on stable 0.0.40: for non-MCP tools (e.g. Claude's native Bash) the projected payload carries the command but the output is absent entirely — not truncated, missing — while MCP results keep only the short first-line summary. So #4083 didn't cover this path. Two notes that may help review, from a local reference implementation with offline fixtures:
Happy to share fixtures/cases if useful. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note: GPT-6 on behalf of shivam (@shivamhwp). The mobile expanded/copy path still trims persisted stdout at ddb2bce. During rebase, preserve main's image filtering, tool labels and lazy expanded-body construction. Main now derives |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for the PR. We're not taking changes to the orchestration and provider layers right now: that part of the server is being rewritten for V2, and merging into the current code would either conflict with or be thrown away by that work. Closing for now. If this is still an issue once V2 lands, please reopen (or open a fresh PR against the new code) and we'll take a proper look. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Bash tool output never renders in the web client, even when the turn is expanded
There was an error while loading. Please reload this page.