Repository navigation
ci: retry the publish workflow's GitHub API calls - #277
Merged
Merged
Conversation
A single HTTP 504 from the GitHub API (gh api .../releases --paginate in the plan step) failed the whole signed publish, so a night's merged packages never reached the testing repository (three times on 11-10). scripts/gh-retry runs a gh command and retries transient failures (HTTP 5xx and 429, timeouts, reset or cancelled streams) up to 5 times with backoff (5, 10, 20, 40 s). Any other failure, such as a 404 for a release that does not exist, returns at once with gh's exit code, so the existence checks keep their meaning. A create that failed after the release was made uploads the files to it instead; a retried download overwrites what a failed attempt left. Every gh api and gh release call in publish.yml goes through it; request-builds checks out scripts/ for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
techmore
pushed a commit
to techmore/fedora-aurora
that referenced
this pull request
Nov 13, 2026
Pin mesa-aurora / aurora-wip 5ccdc3f8. G17P tests a per-sample fragment's coverage once, which fixes GPU stalls when a sample-shading client runs beside another client (mesa#294), and admits queues before consuming submission payloads (mesa#293). The M5 draws GL tessellation natively (mesa#292). Also VK_NV_cooperative_matrix2 on the M5, VK_EXT_memory_priority and VK_EXT_pageable_device_local_memory, G17P ray tracing improvements (recursion depth 31, pipeline caching, faster opaque ray queries, overlapped acceleration structure builds), and M5 fixes (mesa#243, aurora-silicon#244, aurora-silicon#246, aurora-silicon#259, aurora-silicon#260, aurora-silicon#264-aurora-silicon#274, aurora-silicon#277-aurora-silicon#284, aurora-silicon#286, aurora-silicon#288, aurora-silicon#289, aurora-silicon#291). Signed-off-by: Diljit Singh <hey@djdev.me>
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.
A single HTTP 504 from the GitHub API, from
gh api .../releases --paginatein the plan step, failed the whole signed publish. When that happened the merged packages didn't reach the testing repository. It happened three times on 11-10, at 10:12Z, 11:21Z and 14:55Z.scripts/gh-retryruns aghcommand and retries transient failures up to 5 times, with backoff of 5, 10, 20 and 40 s. Transient means HTTP 5xx or 429, timeouts, and reset or cancelled streams. Any other failure, for example a 404 for a release that doesn't exist, returns at once with gh's exit code, sorelease viewexistence checks keep their meaning. Only the successful attempt's stdout is passed on.release create: if a transient failure left the release created, the next attempt uploads the files to it withrelease upload --clobberinstead of failing on "already exists".release download: a retry adds--clobber, so the files a failed attempt left behind don't stop it.gh apiandgh releasecall in.github/workflows/publish.ymlgoes through it. Therequest-buildsjob checks outscripts/for it.gh workflow runis not retried: a retry after a transient failure could dispatch the build twice.Tests:
tests/test_gh_retry.pyuses a fakegh. It checks that a 504 is retried, a 404 isn't, the attempts give up after 5,release viewof a missing release fails at once, a create that failed after creating uploads instead, and a retried download overwrites.🤖 Generated with Claude Code