Skip to content

fix(release): smooth recovery and deterministic archives - #778

Open
jeremi wants to merge 4 commits into
mainfrom
fix/release-process-smoothing
Open

fix(release): smooth recovery and deterministic archives#778
jeremi wants to merge 4 commits into
mainfrom
fix/release-process-smoothing

Conversation

@jeremi

@jeremi jeremi commented Aug 14, 2026

Copy link
Copy Markdown
Member

Summary

  • make candidate and protected-main waits compact by default, while surfacing pending protected-environment approvals and retaining --verbose-wait
  • add a read-only verify-recovery command that validates the exact remote tag, candidate attestations and lifetime, and draft binding before printing the protected-main retry command
  • keep release.yml as the single fail-closed authority for draft assets, OCI, npm, and PyPI reconciliation
  • canonicalize Pagefind WASM gzip streams with deterministic framing across macOS and Linux

Why

The v0.22.0 release exposed three operator-cost issues: noisy run watching, a manual recovery audit after a safe publication failure, and platform-dependent Pagefind gzip bytes. These changes address those observed failures without adding another release gate or duplicating publication policy.

Validation

  • python3 -m unittest release/scripts/test_registry_release.py release/scripts/test_verify_public_release.py (73 tests)
  • python3 -m unittest release/scripts/test_release_workflow_structure.py (37 tests)
  • npm test in docs/site (349 tests)
  • npm run check:archive-lock (28 archives)
  • npm run check:docset
  • actionlint
  • python3 -m py_compile release/scripts/registry-release
  • git diff --check

Independent review found no blockers after simplifying recovery to leave destination reconciliation in the protected publication workflow.

jeremi added 2 commits August 14, 2026 12:50
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8aa6e9d51d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/site/scripts/build-archives.mjs
Comment thread release/scripts/registry-release
Comment thread release/OPERATIONS.md
Comment thread release/scripts/registry-release Outdated
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1c3fe0d940

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread release/scripts/registry-release
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
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