WR Add Pull Request Instructions fails at artifact download (401) on its first ever run
I maintainer di solito rispondono entro 4 giorni
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions, javascript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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)
- Lingua principale
- JavaScript
- Stelle
- 62
- Fork
- 105
- Merge medio
- 2g 10h
- PR unite (30g)
- 3
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hackforla/VRMS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 4 giorni
-
complexity: small feature: Infrastructure p-feature: User Permissions role: Front End size: 0.25pt
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 4 giorni
-
Login form inputs lack visible focus indicator for keyboard navigationForse già presa @mvanhorn l’ha presa 162 giorni fa. ApertaBug complexity: medium good first issue p-feature: Login role: Front End size: 1pt
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 4 giorni
-
complexity: medium feature: Login role: devops size: 1pt
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
I maintainer di solito rispondono entro 4 giorni
-
complexity: small p-feature: Onboarding role: Front End size: 0.25pt
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
hackforla/VRMS#2105 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di hackforla/VRMS
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
naver/egjs-flicking#971 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
RADAR-base/radar-self-enrolment-ui#118 ·
I maintainer di solito rispondono entro 1 giorno