Including Chinese comments in a .tsx file can cause partial patch failures

Open 💬 4 comments Opened Mar 25, 2026 by Capyhw
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.116.0

What subscription do you have?

修复它

Which model were you using?

gpt-5.4

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal

What issue are you seeing?

tsx文件中包含中文注释,会导致局部patch异常,包括但不限于卡住、降级到全文替换(但是会丢失注释)

What steps can reproduce the bug?

1

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 5 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #15139
  • #14739
  • #14227
  • #15422
  • #15061

Powered by Codex Action

etraut-openai contributor · 5 months ago

English translation: Including Chinese comments in a .tsx file can cause partial patch failures, including but not limited to freezing or falling back to full-file replacement (which may result in the comments being lost).

etraut-openai contributor · 5 months ago

The bug report did not include repro steps as requested.

Use /feedback to upload your logs and session details, the post the thread ID here.

Capyhw · 5 months ago

Uploaded thread: 019d22f9-6803-7db0-8804-976725e71b08