aws / aws/amazon-q-developer-cli

the tool 'use_aws' stuck until mannually pressing enter key

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

### Operating system

Linux 6.8.0-1035-aws - Ubuntu 22.04.5 LTS

### Expected behaviour

The Q CLI gets the responses of the tool 'use_aws' and then processes the result.

### Actual behaviour

The Q CLI got stuck after running the tool. The user has to press `enter` key to continue the event loop.

### Steps to reproduce

There is no certain way to reproduce it. Mostly it happened when the tool `use_aws` returned with an error.

### Environment

```yaml

[q-details]
version = "1.14.1"
hash = "209dfbf9c7bd73473a6712f3351158323f28e173"
date = "2025-08-21T18:28:29.76428Z (2d ago)"

[system-info]
chip = "Intel(R) Xeon(R) Platinum 8488C"
total-cores = 4
memory = "30.82 GB"

[system-info.os.linux]
kernel_version = "6.8.0-1035-aws"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 22.04.5 LTS"
version_id = "22.04"
version = "22.04.5 LTS (Jammy Jellyfish)"

[environment]
cwd = "/data/git/gaming/game-material-intelligence-suite"
cli-path = "/data/git/gaming/game-material-intelligence-suite"
install-method = "unknown"
in-ssh = true

[env-vars]
PATH = "/home/USER/.linuxbrew/homebrew/bin:/home/USER/.linuxbrew/homebrew/sbin:/home/USER/go/bin:/usr/local/sbin:/usr/local/go/bin:/home/USER/.vscode-server/cli/servers/Stable-6f17636121051a53c88d3e605c491d22af2ba755/server/bin/remote-cli:/home/USER/.nvm/versions/node/v22.17.0/bin:/home/USER/.linuxbrew/homebrew/bin:/home/USER/.linuxbrew/homebrew/sbin:/home/USER/go/bin:/usr/local/sbin:/usr/local/go/bin:/home/USER/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/USER/.local/bin:/home/USER/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand:/home/USER/.local/bin"
SHELL = "/usr/bin/zsh"
TERM = "xterm-256color"
XDG_SESSION_TYPE = "tty"
ZDOTDIR = "/home/USER"
```

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.