Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#97 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
shell
領域
devops

調査の方向性

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

  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`
主要言語
Shell
スター
26
フォーク
20
平均マージ
9分
マージ済み PR(30日)
1

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/codespace-features のほかの issue

microsoft/codespace-features の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。