Skip to content

fix: reduce release detection overhead and transient failures - #672

Merged
blove merged 1 commit into
mainfrom
blove/release-detection-efficiency
Sep 15, 2026
Merged

blove merged 1 commit into
mainfrom
blove/release-detection-efficiency

Conversation

@blove

@blove blove commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

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 a239527d now 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.

@vercel

vercel Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
b4-run Ready Ready Preview Sep 15, 2026 10:19pm UTC

Request Review

@github-actions github-actions 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.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove
blove merged commit 96cf4da into main Sep 15, 2026
30 of 31 checks passed
@blove
blove deleted the blove/release-detection-efficiency branch September 15, 2026 22:35

This branch was successfully deployed

1 active and 1 inactive deployments
Preview — e20c8c6d Deployed Sep 15, 2026 by vercel[bot]
vercel-preview — e20c8c6d Deployed Sep 15, 2026 by blove via vercel-native #1901
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