Repository navigation
CI: retry the Pages deploy once when the artifact is not listed yet - #68
Merged
Merged
Conversation
Same change as Swift ml-explore#76, C #24 and LM ml-explore#421, which MLX did not get: MLX main 68ccd6e's Pages deploy failed with "No artifacts named github-pages were found" right after upload-pages-artifact finished in the same job (deploy-pages lists the run's artifacts as soon as it starts, and that list can lag the upload). Let the first try fail without failing the job; only when it failed before it created a deployment (no page_url), wait 20 seconds and run the same pinned deploy-pages once more. A second failure fails the job as before. No permission or pin changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gajesh2007
marked this pull request as ready for review
November 14, 2026 07:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The hosted Pages job runs
upload-pages-artifactand thendeploy-pagesin the same job.deploy-pages(v5.0.1) looks thegithub-pagesartifact up in the run's artifact list (@actions/artifactlistArtifacts, filtered by name) as soon as it starts. That list can lag the upload: failed runs logFound 1 artifact(s)0.35–0.65 s after the upload finalized, and thenNo artifacts named "github-pages" were foundeven though the artifact exists. Successful runs logFound 2at the same gap.Observed on 2026-11-14 with no GitHub incident, now also on MLX main 68ccd6e (run 43567201794). Same change as merged Swift ml-explore#76, C #24 and LM ml-explore#421; MLX uses deploy-pages v4.0.5:
Change
deploy-pagestry runs withcontinue-on-error.page_url, the listing-lag case), the job waits 20 seconds and runs the same pinneddeploy-pagesonce more. A second failure fails the job as before.github-pagesenvironment and the native render job are unchanged.Re-running a failed run is still no remedy, because the run then holds two
github-pagesartifacts anddeploy-pagesrefuses them. That behaviour is unchanged; dispatch a fresh run onmaininstead.Checks
mainand on manual dispatch, and the environment allows onlymain, so PR CI does not exercise it. It will be verified by the firstmainrun after merge. The rollback is reverting this commit.🤖 Generated with Claude Code