Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ado-auth-helper Not Installing or Timing Out in Codespaces

Aperta
#97 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
shell
Ambito
devops

Direzione di ricerca

Inizia con le funzionalità artifacts-helper ed external-repository e con lo script post_create che esegue external-git config. Riproduci la creazione di un Codespace e un successivo git pull, verificando perché /home/vscode/ado-auth-helper non sia pronto entro 180 secondi. Il lavoro è completato quando l’helper viene installato o inizializzato in modo affidabile e i comandi di autenticazione non vanno più in timeout.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hey

We have observed multiple occurrences where ado-auth-helper is not installed correctly in GitHub Codespaces. However, when we explicitly run the command ado-auth-helper get-access-token, it successfully generates an access token, which suggests that there is an underlying issue with how the helper is being installed or initialized.

Our devcontainer.json includes the following features:

  • "ghcr.io/microsoft/codespace-features/artifacts-helper:latest": {}
  • "ghcr.io/microsoft/codespace-features/external-repository:latest": {}

Scenarios Where Errors Occur

  1. During Codespaces Creation

When a Codespace is created using external Git configuration, we run external-git config in the post_create script. During initialization, we see the following log:

2026-01-21 21:19:46.581Z: Configuring ADO Authorization Helper

After waiting for 180 seconds, the process times out and logs the following warning:

2026-01-21 21:22:46.793Z: ::warning::AzDO Authentication Helper not found after 180 seconds Expected location: /home/vscode/ado-auth-helper Continuing without Azure Artifacts authentication... .

  1. After Codespaces Is Created
    In some cases, the Codespace is created successfully, but ado-auth-helper is either not installed correctly or times out later during usage.
  • For example, running git pull results in the following error:
@node:internal/process/promises:394
    triggerUncaughtException(err, true /* fromPromise */);
    ^
 
[AggregateError: All promises were rejected] {
  [errors]: [
    Error: timed-out waiting for auth
        at Timeout._onTimeout (/home/vscode/.vscode-remote/extensions/ms-codespaces-tools.ado-codespaces-auth-1.2.1/out/auth-helper.js:1368:14)
        at listOnTimeout (node:internal/timers:588:17)
        at process.processTimers (node:internal/timers:523:7)
  ]
}
 
Node.js v22.21.1


- In some cases, even after Codespaces is created successfully, ado-auth-helper is not installed correctly.

`::warning::AzDO Authentication Helper not found after 180 seconds
Expected location: /home/vscode/ado-auth-helper
Continuing without Azure Artifacts authentication...
info Lage task runner - let's make it`
Lingua principale
Shell
Stelle
26
Fork
20
Merge medio
9m
PR unite (30g)
1

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/codespace-features

Tutte le issue di microsoft/codespace-features

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.