ado-auth-helper Not Installing or Timing Out in Codespaces
まだ誰も着手していません。
評価
調査の方向性
artifacts-helper と external-repository の機能、および external-git config を実行する post_create スクリプトから始めます。Codespaces の作成と、その後の git pull を再現し、/home/vscode/ado-auth-helper が 180 秒以内に準備完了にならない理由を確認します。helper が確実にインストールまたは初期化され、認証コマンドがタイムアウトしなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 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... .
- 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`
- 主要言語
- Shell
- スター
- 26
- フォーク
- 20
- 平均マージ
- 9分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/codespace-features のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
microsoft/codespace-features#118 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/codespace-features#80 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/codespace-features#32 · コメント 2 件 ·
microsoft/codespace-features の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
astral-sh/python-build-standalone#1293 ·
-
package-update
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
oSoWoSo/vOid_Community_repOsitory#185 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
carbon-language/carbon-lang#7821 ·