aws / aws/amazon-q-developer-cli

Q stops working on a long running or stale terminal in WindSurf IDE

Open
#2,033 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue

### Operating system

macOS 15.5.0 (24F74)

### Expected behaviour

When Q stops working, running "q doctor" shows "Everything looks good!" but it still doesn't work.

### Actual behaviour

When Q stops working, running "q restart" (which seems equally fast) fixes the Q not working issue.

### Steps to reproduce

1. Get a Macbook M3 Air 14 inch 2025
2. Install Homebrew, Windsurf IDE
3. Open Windsurf IDE -> navigate to terminal
4. Run "brew install q"
5. After installation and set ups done
6. Run "q doctor" -> displays "Everything looks good!" -> and it works
7. Close the Macbook (Screen Down) and leave it for the night
8. Next day Open the Macbook (Screen Up) -> Navigate to the same -> Same Windsurf IDE -> navigate to the same terminal
**9. In the terminal start typing 'cd /' -> No suggestions show up -> Run "q doctor" -> displays "Everything looks good!" -> Repeat point 9 to reproduce.**
10. Run "q restart" -> Amazon Q dialog box pops up -> close it by clicking on red cross
11. Run "q doctor" -> displays "Everything looks good!"
12. In the terminal start typing 'cd /' -> shows suggestions

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.