Skip to content

perf(release): overlap registry scans with ordered uploads - #784

Merged
blove merged 4 commits into
mainfrom
blove/ordered-publish-design
Sep 22, 2026
Merged

blove merged 4 commits into
mainfrom
blove/ordered-publish-design

Conversation

@blove

@blove blove commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

The publisher currently waits for each accepted package to become publicly verifiable before uploading the next. npm's publish-time scanning therefore accumulates across 21 packages; 0.10.0 recorded 36m36.861s between upload acceptance and registry version timestamps.

Keep npm uploads serial in canonical order, but defer convergence checks for newly accepted ordinary OIDC uploads until the upload loop finishes. npm can process those packages concurrently. Queue time counts against each package's existing pending allowance, and the final fresh verification of all packages still gates completion. Existing pre-upload checks, recovered-version handling, bootstrap behavior, deadlines, OIDC and workflows remain unchanged.

A later verification failure may be discovered after more packages have been accepted. It still emits no completion evidence. Recovery re-observes the sealed versions; hidden acceptance cannot guarantee exactly-once external attempts, and duplicate rejection remains a hard command failure.

Controlled tests with 21 identical two-minute delays take 42 minutes with the retained upload-and-wait schedule and 2 minutes with deferred verification, with identical canonical evidence and at most one upload command in flight. This is a scheduling test, not a production forecast.

Validation: 217 publisher/audit tests, 33 integrity tests and 166 workflow-contract tests pass; scoped Biome, docs and whitespace checks pass. Independent recovery-contract, implementation-spec and code-quality reviews approve. All 3,940 local controller tests pass. Merge requires exact-head hosted validation plus real Vercel and CopilotKit checks. No benchmark release was dispatched.

Refs #668. Builds on #783.

Hosted validation: CI run 35755280026 passed on commit 15f2907, including validate, vercel-native, and copilotkit-examples-e2e. The Kubernetes end-to-end job passed on targeted retry after an initial Docker image download connection reset.

@vercel

vercel Bot commented Sep 22, 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 22, 2026 4:37pm 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 4f5f6e9 into main Sep 22, 2026
51 of 53 checks passed
@blove
blove deleted the blove/ordered-publish-design branch September 22, 2026 17:09

This branch was successfully deployed

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