Performance: long time to abort after pressed Ctrl+C

Open 💬 0 comments Opened Apr 29, 2026 by sssxks

What version of Codex CLI is running?

0.125.0

What subscription do you have?

Plus

Which model were you using?

_No response_

What platform is your computer?

_No response_

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

VSCode

What issue are you seeing?

takes long time (sometimes 2~3s) to abort codex cli after pressing Ctrl + C.

long time to boot is an already known regression, but i also noticed aborting is also quite slow given this program is coded in rust. don't think it is expected behavior

https://github.com/user-attachments/assets/5848f1b2-eb00-487c-a4cc-9fc4adae28a0

What steps can reproduce the bug?

  • install latest codex
  • codex to open codex
  • Ctrl+C to abort codex

What is the expected behavior?

abort instantly, with unnoticeable lag.

Additional information

_No response_

View original on GitHub ↗