Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#97 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
shell
Lĩnh vực
devops

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

  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`
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/codespace-features

Tất cả issue của microsoft/codespace-features

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.