Repository navigation
fix: reduce release detection overhead and transient failures - #672
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
blove
temporarily deployed
to
vercel-preview
September 15, 2026 22:19 — with
GitHub Actions
Inactive
This branch was successfully deployed
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.
Ordinary non-version main pushes currently enter full release discovery, queued first-attempt runs can be mistaken for incomplete publication history, and a transient GitHub download failure can force another recovery invocation.
This change returns early for ordinary pushes only after immutable maintenance-input comparison, verifies exact queued-run identity around a complete empty jobs response, scans historical ownership with at most four concurrent reads, and retries only fully settled release-download 5xx responses within the original deadline and cumulative byte budget. Existing ownership checks and fresh mutation authorization remain intact. Publishing order, publisher deadlines, workflows, and operator steps are unchanged.
A local read-only comparison inspected the same 483 releases with fresh asset reads: 109.319s before, 31.590s after, identical ownership results. Historical code merge
a239527dnow returns no candidate in 323ms with zero remote calls. These measure detection components, not end-to-end release time.Validation: 3,909 full release-controller tests passed locally, including all recovery interruption cases; 339 focused tests; 198 integrity/workflow-contract tests; scoped Biome and docs completeness checks. Independent specification and code reviews passed. Required hosted CI results are tracked on this PR. Regression coverage includes state/identity drift, incomplete job history, maintenance triggers, concurrent-read settlement, and real HTML/JSON error bodies with shared retry budgets.
Related: #668. Publisher-budget alignment and the next ordinary release measurement remain follow-up work.