copilot-cli
copilot-cli copied to clipboard
Generic Exit Command Bug in v1.0.74, that shows no exit screen
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
- Start a session
- Ask a question to create context
- Use the /exit\ command
- 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.
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.
I looks like it was fix with "GitHub Copilot CLI 1.0.76".