Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#97 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
shell
Área
devops

Línea de trabajo

Comienza con las funcionalidades artifacts-helper y external-repository, y con el script post_create que ejecuta external-git config. Reproduce la creación de un Codespace y un git pull posterior, comprobando por qué /home/vscode/ado-auth-helper no está listo en 180 segundos. Se considera terminado cuando el helper se instala o inicializa de forma fiable y los comandos de autenticación dejan de agotarse por tiempo de espera.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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`
Lenguaje dominante
Shell
Estrellas
26
Forks
20
Merge medio
9 min
PR fusionados (30 d)
1

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/codespace-features

Todos los issues de microsoft/codespace-features

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.