copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Generic Exit Command Bug in v1.0.74, that shows no exit screen

Open Zelophobian opened this issue 4 months ago • 2 comments

Describe the bug

  • Version: 1.0.74
  • Problem: Exit-Screen with Session-ID does not show on normal Exit (Ctrl+C/D, /exit)
  • Workaround: /exit print\ does work, but shows the whole session
  • Cause (presumably): Race Condition in Shutdown — \session.shutdown()\ empties Events before \Ovn()\ \hasUserMessages\ check
  • Affected: Git Bash + PowerShell, Windows Terminal
  • Regression: It was no problem in previous versions

Affected version

\\ GitHub Copilot CLI 1.0.75. \\

Steps to reproduce the behavior

  1. Start a session
  2. Ask a question to create context
  3. Use the /exit\ command
  4. No exit screen shows up after the Copilot CLI is closed

Expected behavior

On exit, the exit screen shows up with the session ID and some stats about the session.

Zelophobian avatar Jul 27 '26 05:07 Zelophobian

I have just seen that the exit screen was shown inside copilot cli, before it closed. The information is present but gets rendert to early, apparently. But I'm not quick enough to make a screenshot.

Zelophobian avatar Jul 27 '26 13:07 Zelophobian

I looks like it was fix with "GitHub Copilot CLI 1.0.76".

Zelophobian avatar Jul 30 '26 07:07 Zelophobian