Skip to content

Fix status detail truncation for wide Unicode characters - #61692

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/89c6cfb7cf36cdf0d63b6f732c59acd96128f9fd
Nov 15, 2026
Merged

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

Conversation

@copyberry

@copyberry copyberry Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

Fix status detail truncation for wide Unicode characters

Why

When status details exceed the line limit, character-based truncation can make the final line overflow its available terminal width.

What changed

Use display-width-aware truncation on the entire final line, including its indentation and trailing ellipsis.

Testing

Extend the status details test with wide Unicode characters, checking that every line fits within 10 columns and snapshotting the truncated output.

## Why

When status details exceed the line limit, character-based truncation can make the final line overflow its available terminal width.

## What changed

Use display-width-aware truncation on the entire final line, including its indentation and trailing ellipsis.

## Testing

Extend the status details test with wide Unicode characters, checking that every line fits within 10 columns and snapshotting the truncated output.

GitOrigin-RevId: 89c6cfb7cf36cdf0d63b6f732c59acd96128f9fd
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/89c6cfb7cf36cdf0d63b6f732c59acd96128f9fd branch from eedbbb5 to 03cb329 Compare November 15, 2026 21:01
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor
Codex Review Summary: 🔄 Running

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-11-15T21:01:33.784388Z eedbbb5 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot merged commit 03cb329 into main Nov 15, 2026
10 of 23 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/89c6cfb7cf36cdf0d63b6f732c59acd96128f9fd branch November 15, 2026 21:01
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 15, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 03cb3294 Deployed Nov 15, 2026 by lahejnar-dotcom via Translate non-English issue #26176
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