Repository navigation
Conversation
deploy-pages looks the artifact up through the Actions results service straight after upload-pages-artifact finalises it. On two consecutive main runs that listing returned only the earlier coverage and Playwright artifacts, so the deploy failed with "No artifacts named github-pages were found" although the REST API listed the artifact moments later. Poll the run's artifact list until github-pages appears, bounded so a genuinely missing artifact still fails the job.
|
If your organization's extra usage balance is empty or was never set up, an Owner of your Claude organization can add extra usage credits at claude.ai/admin-settings/usage. If your organization's monthly spend limit for extra usage is $0 or was reached, an Owner can raise it on the same page. If neither applies, contact Anthropic support. Once that's fixed, PR Steward starts at the next push to this pull request. |
|
Closing without merging. The two failures it targeted were intermittent: the same run's Pages job succeeded on its third attempt (a re-run of the failed job with debug logging, commit 40918c9, no change to the code or settings), so main CI is green. The pre-poll also could not affect the second failure form, a 400 from the Pages service itself ('Unable to find artifact'), and the REST listing it polls is not the route deploy-pages reads. If it recurs, the fix to evidence is a retry of the deploy step, with the run ids of the failures. |
What this changes
The
deploy-sitejob in.github/workflows/ci.ymlwaits until the run's artifact list shows the uploadedgithub-pagesartifact beforeactions/deploy-pageslooks it up.Why
Two consecutive main runs failed at
deploy-pageswithNo artifacts named "github-pages" were found for this workflow run, afterupload-pages-artifacthad reported the artifact finalised in the same second. The log saidFound 2 artifact(s)(the earlier coverage and Playwright artifacts) and the REST API listsgithub-pagesfor the same run. The last green run used the same action SHAs and the same step timing and found 4, so the results-service listing lags the finalise intermittently. Refs #1831 only for the timing of the first failure; it does not close it.Notes for review
A pull request cannot run this job (it needs
github.ref == 'refs/heads/main'on a push), so the PR proves only that the workflow still validates. Only the merge to main exercises the new step. The wait polls the REST list, which is not the same service as deploy-pages' lookup, so if the next main run still fails the cause is not a listing lag and needs the action's own debug log.