Skip to content

Add thread usage to TUI status surfaces - #38282

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/dd69ee621c5bca0e5d9edd32b2bba42487eb1500
Aug 13, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/dd69ee621c5bca0e5d9edd32b2bba42487eb1500

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Add thread usage to TUI status surfaces

What changed

  • Add thread-credits and estimated-thread-cost items to the configurable
    status line and terminal title for Enterprise workspaces.
  • Fetch one shared thread usage estimate only when either item is selected,
    omit unavailable values, and refresh the display after turns complete.
  • Preserve the last nonzero estimate while usage settles, with bounded delayed
    refreshes and retries for transient failures.

Testing

  • Add coverage for configuration, rendering, previews, plan availability,
    replay handling, retries, and post-turn settlement.

## What changed

- Add `thread-credits` and `estimated-thread-cost` items to the configurable
  status line and terminal title for Enterprise workspaces.
- Fetch one shared thread usage estimate only when either item is selected,
  omit unavailable values, and refresh the display after turns complete.
- Preserve the last nonzero estimate while usage settles, with bounded delayed
  refreshes and retries for transient failures.

## Testing

- Add coverage for configuration, rendering, previews, plan availability,
  replay handling, retries, and post-turn settlement.

GitOrigin-RevId: dd69ee621c5bca0e5d9edd32b2bba42487eb1500
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/dd69ee621c5bca0e5d9edd32b2bba42487eb1500 branch from cd82973 to 1e71e35 Compare August 13, 2026 00:35
@copyberry
copyberry Bot merged commit 1e71e35 into main Aug 13, 2026
28 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/dd69ee621c5bca0e5d9edd32b2bba42487eb1500 branch August 13, 2026 00:36
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 13, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 1e71e35d Deployed Aug 13, 2026 by xulin303 via Translate non-English issue #7785
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants