WR Add Pull Request Instructions fails at artifact download (401) on its first ever run
Maintainer thường phản hồi trong vòng 4 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- github-actions, javascript
Hướng nghiên cứu
Start with .github/workflows/wr-pr-instructions.yml and the failing run linked in the issue; inspect the Download artifact step and the following step that reads its output. Replace the hand-rolled download with actions/download-artifact@v4, select the named artifact, and update the path as described. Done when a new PR run posts the comment without a 401 and still selects the correct artifact if another is added; pull request #2232 is already open.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Overview
.github/workflows/wr-pr-instructions.yml fails at its very first real step — Download artifact — with a 401 InvalidAuthenticationInfo from Azure blob storage. The step has almost certainly never run before: every run of this workflow since at least 2026-06-30 was skipped, because the upstream Add Pull Request Instructions workflow was failing on every PR with ReferenceError: module is not defined in ES module scope. When that ESM bug was fixed, four dependabot PRs produced the first upstream successes ever, this workflow woke up for the first time, and the download step failed on its debut run.
Action Items
- Diagnose: confirmed the 401 originates from Azure (
x-ms-error-code: InvalidAuthenticationInfo) on the SAS-signed redirect URL, not from GitHub. The artifact is valid —expired: false, and it downloads fine from outside the runner. Not expiry, not a missing artifact, not token scope, not the PR's dependency content - Confirm the dormant path: all 30 prior runs of
wr-pr-instructions.ymlshowLast-Workflow-Success: skipped; the 17 recorded "successes" took theLast-Workflow-Failurebranch and never executed the download - Replace the hand-rolled
github.actions.downloadArtifact()octokit call withactions/download-artifact@v4(run-id: ${{ github.event.workflow_run.id }}+github-token: ${{ secrets.GITHUB_TOKEN }}), which handles cross-run artifact auth on the runner's HTTP path - Update the following step to read
artifact/artifact.txt(the new action writes into thepath:you give it) - Stop indexing artifacts positionally —
artifacts.data.artifacts[0]picks whichever artifact happens to be first. Match onname: adding-pr-instructions-artifactso a second artifact can never be downloaded by mistake - Re-open or comment on the 4 PRs that lost their instructions comment (
#2223–#2228range, dependabot PRs opened2026-10-06T00:46Z) once the fix lands - Separately confirm the upstream ESM fix (
requireof atype: modulescript insidegithub-script) is intentionally landed and covered — it is the reason this workflow was dead for months
Acceptance criteria
- A new PR opened against
developmentresults in a comment posted byPost Comment, with no 401 in theDownload artifactstep - Adding a second artifact to the upstream workflow does not change which artifact this workflow downloads
Resources/Instructions
- Failing run: https://github.com/hackforla/VRMS/actions/runs/37395785437/job/112051281571
- Failing step output:
url: https://productionresultssa4.blob.core.windows.net/actions-results/.../adding-pr-instructions-artifact.zip?sig=... status: 401 x-ms-error-code: InvalidAuthenticationInfo - Upstream workflow that had been failing:
.github/workflows/pr-instructions.yml(ReferenceError: module is not defined in ES module scope)
- Ngôn ngữ chính
- JavaScript
- Star
- 62
- Fork
- 105
- Merge trung bình
- 2 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 hackforla/VRMS
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 4 ngày
-
complexity: small feature: Infrastructure p-feature: User Permissions role: Front End size: 0.25pt
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 4 ngày
-
Login form inputs lack visible focus indicator for keyboard navigationCó thể đã có người làm @mvanhorn đã nhận 161 ngày trước. Đang mởBug complexity: medium good first issue p-feature: Login role: Front End size: 1pt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 4 ngày
-
complexity: medium feature: Login role: devops size: 1pt
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 4 ngày
-
complexity: small p-feature: Onboarding role: Front End size: 0.25pt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
hackforla/VRMS#2105 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của hackforla/VRMS
Issue tương tự
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
app bug config windows-os
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openai/codex#51926 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
clawsweeper:needs-product-decision clawsweeper:needs-security-review clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:security issue-rating: 🦞 diamond lobster P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
openclaw/openclaw#166870 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
⚠ needs intervention document structure changed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
[Package] Widget primitives [Type] Enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
WordPress/gutenberg#84204 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày