Skip to content

ci: retry Pages deploy when the artifact is not yet listed - #95

Open
nschimme wants to merge 1 commit into
MUME:masterfrom
nschimme:fix-pages-deploy-retry
Open

nschimme wants to merge 1 commit into
MUME:masterfrom
nschimme:fix-pages-deploy-retry

Conversation

@nschimme

@nschimme nschimme commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

The master deploy fails intermittently with No artifacts named "github-pages" were found. The upload succeeds, but deploy-pages looks the artifact up less than a second later and finds none. This is tracked upstream in actions/deploy-pages#451.

This retries the deploy within the same job, after 30s and then a further 60s. The final attempt still fails the run if it does not succeed. A successful retry leaves an error annotation from the earlier attempt.

PR checks do not run deploy.yml, so this is only verified once the push run happens after merge. Only YAML parsing was checked locally.

🤖 Generated with Claude Code

Summary by Sourcery

Make GitHub Pages deployments resilient to transient artifact lookup failures by retrying within the same workflow job.

Bug Fixes:

  • Retry GitHub Pages deployment after delays when the uploaded artifact is temporarily unavailable.

Enhancements:

  • Preserve the successful deployment URL across the initial attempt and retries while allowing the final attempt to fail the workflow.

CI:

  • Add in-job GitHub Pages deployment retries with 30-second and 60-second delays.

deploy-pages intermittently finds no github-pages artifact right after
upload (actions/deploy-pages#451). Retry twice, after 30s and 60s.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sourcery-ai

sourcery-ai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Configuration

Add delayed retries for Pages deployment and select the successful attempt’s page URL, addressing the intermittent artifact lookup failure.

  • .github/workflows/deploy.yml L28, L224-249

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

This branch was successfully deployed

1 active deployment
pr-95 — c3d4cad1 Deployed Nov 28, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant