Skip to content

万舸齐发,候潮同归 · Batch registry convergence - #39

Merged
eric8810 merged 1 commit into
mainfrom
codex/n2-registry-finalize
Jul 23, 2026
Merged

eric8810 merged 1 commit into
mainfrom
codex/n2-registry-finalize

Conversation

@eric8810

Copy link
Copy Markdown
Contributor

变更

  • 同一发布阶段先提交全部 npm 包,再统一等待 registry integrity 收敛,消除逐包串行 CDN 等待
  • promotion 自动移除 npm 首次发布时给 Tiny/Medium preview 补出的 latest
  • 只在 latest 仍指向本次 preview 版本时移除,保留未来已独立晋级的版本
  • 正确处理缺失 dist-tag 时 npm 返回空输出的情况

验证

  • python3 -m unittest tests.python.test_npm_release(14 tests)
  • python3 -m unittest discover -s tests/python -p "test_*.py"(79 tests)
  • 公共 registry 缺失 dist-tag 实测解析为 None
  • git diff --check

发布上下文

0.4.0 next release run 29998726639 已成功;合并后 promotion 将使用该 run 的不可变 release artifact,清理 preview tag 并晋级稳定 Small 闭包。

Submit each package in a release phase before waiting for npm metadata to converge, so registry propagation no longer serializes every publish.

Remove accidental latest tags from first-published Tiny and Medium preview packages during stable promotion while preserving independently promoted versions.
@eric8810
eric8810 merged commit b6ef2fd into main Jul 23, 2026
1 check passed
@eric8810
eric8810 deleted the codex/n2-registry-finalize branch July 23, 2026 10:58
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