aws / aws/amazon-q-developer-cli
error: EOF while parsing an object
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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 15.7.4 (24G517)
### Expected behaviour
I don't expect Kiro to encounter unrecoverable errors when writing source files.
### Actual behaviour
Kiro repeatedly runs in to this error when trying to write a particular source file:
```
Kiro is having trouble responding right now:
0: Failed to receive the next message: request_id: 79743423-0033-4872-bff4-a24131b0280d, error: EOF while parsing an object at line 1 column 84
Location:
crates/chat-cli/src/cli/chat/mod.rs:1524
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
```
It doesn't seem to be consistent for every source file, but for the particular workflow I'm trying to run it hits it every time.
### Steps to reproduce
I don't know how to reproduce this in general, but it is reliably reproduced in my project.
### Environment
```yaml
[q-details]
version = "1.27.1"
hash = "30746a31eef0bc41e66dd1fbab14ecbc4edb35cc"
date = "2026-03-05T20:36:04.628222Z (23h ago)"
variant = "full"
[system-info]
os = "macOS 15.7.4 (24G517)"
chip = "Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz"
total-cores = 6
memory = "16.00 GB"
[environment]
cwd = "/Users/USER/darjeeling"
cli-path = "/Users/USER/darjeeling"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/.toolbox/bin:/Users/USER/bin:/Users/USER/.pyenv/shims:/Users/USER/.local/share/mise/installs/node/lts/bin:/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:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools:/Users/USER/.cargo/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "ab293c423390429e93a98948f53e955c"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.27.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia da crates/chat-cli/src/cli/chat/mod.rs:1524 e ispeziona il percorso di gestione della richiesta associato all’EOF segnalato durante il parsing di un oggetto. Usa il workflow macOS dell’issue e il fallimento ripetuto nella scrittura del file sorgente come contesto di riproduzione; il lavoro è completato quando il workflow non produce più questo errore di parsing irrecuperabile e il comportamento rilevante è coperto da un test appropriato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100