ado-auth-helper Not Installing or Timing Out in Codespaces
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Bắt đầu với các tính năng artifacts-helper và external-repository, cùng script post_create chạy external-git config. Tái hiện việc tạo Codespaces và một git pull sau đó, đồng thời kiểm tra lý do /home/vscode/ado-auth-helper chưa sẵn sàng trong vòng 180 giây. Hoàn tất có nghĩa là helper được cài đặt hoặc khởi tạo một cách đáng tin cậy và các lệnh xác thực không còn bị timeout.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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`
- Ngôn ngữ chính
- Shell
- Star
- 26
- Fork
- 20
- Merge trung bình
- 9 phút
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/codespace-features
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
microsoft/codespace-features#118 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/codespace-features#80 · 1 bình luận ·
-
Artifact helper for Maven Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
microsoft/codespace-features#32 · 2 bình luận ·
Tất cả issue của microsoft/codespace-features
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
huggingface/Repo2RLEnv#163 · 1 bình luận ·
-
setup tools wizard offers no GitHub auth path, and setup summary doesn't recognize `gh` CLI auth Đang mởarea/auth comp/cli P3 tool/skills type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
NousResearch/hermes-agent#121131 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bradcypert/plum#53 ·
-
tmp_watchgod.sh exceeds the 1000-line cap; the Zone A guard helpers are a clean extraction seam Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
WingedGuardian/GENesis-AGI#2301 ·