feat(tui): show tab activity detail#26476
Conversation
ecf6985 to
f1ad153
Compare
07736d1 to
d04ac5c
Compare
f1ad153 to
14e20be
Compare
e839871 to
bd8bcd9
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bd8bcd9624
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
bd8bcd9 to
ef38cb7
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ef38cb7e47
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
1 similar comment
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f6d85dedf0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 620df376c1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| //! OSC 21337 is an iTerm2 extension; other terminals ignore it. The payload | ||
| //! is a semicolon-separated list of `key=value` pairs. We emit `status` | ||
| //! (label), `indicator` (dot color), and `status-color` (text color). | ||
| //! Formats bounded activity detail and owns the low-level terminal write path. |
There was a problem hiding this comment.
Split complex tab-status detail change
This commit is 799 changed lines across 22 files and is not mechanical: it combines OSC detail formatting/sanitization and throttling, bottom-pane waiting-detail plumbing, command/activity tracking, and test updates. The change-size guidance says complex logic changes should stay under 500 lines and, when larger, identify a staged split (AGENTS.md lines 114-120); a reviewable split would be to land the bounded OSC/detail formatting and throttle state with tests first, then wire command/activity and modal detail providers in a follow-up.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
I reduced this layer from 799 to 749 changed lines by moving the shared OSC sanitizer and terminal-title reuse into PR1, where it is independently tested. This PR remains the third layer of the explicitly requested three-PR stack; splitting the remaining detail plumbing would require a fourth PR. I am leaving this thread open for maintainer visibility.
27d665c to
8da1e5c
Compare
Co-authored-by: George Nachman <gnachman@gmail.com>
620df37 to
94bceb2
Compare
|
@codex review |
|
Security review completed. No security issues were found in this pull request. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Codex Review: Didn't find any major issues. Delightful! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Why
The structured status is most useful when it explains what Codex is doing or what needs user attention. This layer adds that detail while bounding terminal output and avoiding high-frequency OSC writes.
What Changed
How to Test
Targeted tests:
just test -p codex-tui tab_statusjust test -p codex-tui osc_textjust test -p codex-tui picks_the_latest_command_then_falls_back_to_the_survivorThe full
codex-tuirun passed 2,800 tests; two unrelated guardian feature-flag tests remain failing onmain.Stack
Part of #25879.