aws / aws/amazon-q-developer-cli
Q CLI login fails to display auth URL when R (r-base) is installed - attempts browser redirect instead
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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
```
Beitragsleitfaden
Rechercherichtung
Beginne beim q login-Einstiegspunkt und reproduziere das Verhalten mit dem minimalen Dockerfile, zuerst ohne r-base und dann mit installiertem r-base. Verfolge, warum sich die Umgebung auf die Browserbehandlung auswirkt, anstatt die Authentifizierungs-URL auszugeben; als abgeschlossen gilt die Aufgabe, wenn q login in beiden Containern eine kopierbare URL im Terminal anzeigt und die relevanten Tests bestehen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- r, rust
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100