aws / aws/amazon-q-developer-cli

Bug: Whenever my macOS goes to sleep for a while and then wakes up, amazon-q will fail.

Open
#2,230 1 comment 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
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS

### Expected behaviour

amazon-q provides auto-complete function normally

### Actual behaviour

Whenever my macOS goes to sleep for a while and then wakes up, amazon-q will fail. It will not show auto-complete suggestions, and I have set `system` in the theme. When I am in a light theme, the color of the Amazon Q dashboard is still dark. I have to restart it manually, and Amazon Q will show auto-complete suggestions again, and the theme will be updated accordingly.

### Steps to reproduce

Let your macOS sleep for a while and then wake it up.

### Environment

```yaml
➜ ~ q diagnostic

[q-details]
version = "1.12.2"
hash = "b9100eb751546269f095585705a0e7fc3ea55419"
date = "2025-06-30T22:40:01.105251Z (3d ago)"
variant = "full"

[system-info]
os = "macOS 15.4.1 (24E263)"
chip = "Apple M4"
total-cores = 10
memory = "32.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"

[env-vars]
PATH = "/opt/homebrew/opt/llvm/bin:/usr/local/sbin:/usr/local/bin:/Users/USER/.local/bin:/Users/USER/.venv/bin:/Users/USER/.espressif/python_env/idf5.5_py3.13_env/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "f62851e7ef464be4a474c0ea821e8a09"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.12.2"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```

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.