aws / aws/amazon-q-developer-cli
Q CLI login fails to display auth URL when R (r-base) is installed - attempts browser redirect instead
- 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
Linux (Docker container)
### Expected behaviour
q login should display the authentication URL in the terminal regardless of whether R is installed, allowing users to manually copy and paste the URL into their browser.
### Actual behaviour
With R installed, q login tries to open a browser tab directly instead of showing the URL in the terminal.
### Steps to reproduce
1. Create a Docker container with r-base installed
2. Install Q CLI in the container
3. Run q login
4. Observe that the command tries to open a browser instead of showing the URL
Additional Info:
Minimal reproduction case available via Dockerfile that demonstrates the issue when r-base line is uncommented. Issue identified through testing - Q login works normally until r-base package
is added to the environment.
### Environment
```yaml
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Parti dal punto di ingresso di q login e riproduci il comportamento usando il Dockerfile minimo, prima senza r-base e poi con r-base installato. Individua perché l’ambiente modifica la gestione del browser invece di stampare l’URL di autenticazione; il lavoro è completato quando q login mostra un URL copiabile nel terminale in entrambi i container e i test pertinenti passano.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- r, rust
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100