Repository navigation
perf(release): reuse immutable inventories during discovery - #766
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
blove
temporarily deployed
to
vercel-preview
September 21, 2026 00:56 — 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.
Release discovery repeatedly reads the same commit-bound package inventories while comparing current/parent commits and verifying terminal releases. Reuse those inventories within one resolution call, including concurrent reads, while keeping mutable refs, external evidence and later authorization calls fresh.
The cache holds at most 2048 entries, retains only valid results as frozen copies, and drops failed reads so they can retry. Publishing order, deadlines and workflows are unchanged.
A local real-Git inventory replay over 100 first-parent commits requests 200 inventories for 101 SHAs. Git calls drop from 6222 to 3142; two-sample mean time drops from 22.392s to 14.039s with identical inventory digests. This isolates inventory work and is not a complete discovery/release speedup claim. The runbook contains reproduction and limits; complete hosted timing remains for the next ordinary release.
Validation: six new regressions exercised red/green; 133 production-observation tests, 33 release-integrity tests and 166 workflow-contract tests pass. Scoped Biome, workspace build, docs and whitespace checks pass. Independent spec and code reviews found no blocking issues. All 3,923 local controller tests pass. Exact-head hosted CI validate, CopilotKit examples and real Vercel checks pass (run 35549232754). The optional Claude Review preflight failed with HTTP 400 because the Anthropic account has insufficient credit; independent spec and code reviews approved this change.
Refs #668.