Skip to content

ci(release): publish under latest so releases need no manual dist-tag step - #94

Merged
tonibergholm-codento merged 1 commit into
mainfrom
ci/release-publish-latest
Nov 20, 2026
Merged

tonibergholm-codento merged 1 commit into
mainfrom
ci/release-publish-latest

Conversation

@tonibergholm-codento

Copy link
Copy Markdown
Contributor

After v0.1.0-alpha.3 published, npm's latest tag still named alpha.2. The release pipeline can't move it: trusted publishing (OIDC) covers npm publish only, and moving it by hand takes one security-key approval per package, seven in all. The publish step now sets latest itself.

  • Stage B publishes with --tag latest, prereleases included, and checks that latest names the new version.
  • The post-publish check waited 75 s and failed run 44750832298 although every package was out. It now polls every 15 s for up to 10 minutes, with a 12-minute hard cap on the step.
  • README, SECURITY.md, the package READMEs and docs/release-process.md drop the @alpha install tag, which stays on 0.1.0-alpha.3. The README notes that until alpha.4 ships, latest still names alpha.2 for six packages, so install @0.1.0-alpha.3.

Proof: the new verify step, extracted from the YAML, ran against the live registry with RELEASE_TAG=v0.1.0-alpha.3. It passed core (latest = alpha.3) and failed proxy with version 0.1.0-alpha.3, dist-tag latest 0.1.0-alpha.2; a missing version reports version missing. npm publish --dry-run --tag latest accepts a prerelease on npm 11.20, and without --tag it refuses. actionlint shows only diagnostics main already has.

Reviewed with sol-loop: 2 rounds with gpt-6.2-sol. Sol verdict: approved

Created with Claude Opus 5.5 in Claude Code (T3 Code).

… step

Prereleases went out with --tag alpha, leaving npm's latest tag stale.
Moving it needs npm dist-tag add, which OIDC trusted publishing cannot
run, and by hand it takes one security-key approval per package.
Publish with --tag latest instead and check that latest moved.

The post-publish check gave up after 75 s in run 44750832298 although
all seven packages were out. It now polls for up to 10 minutes, with a
12-minute hard cap on the step.

Docs drop the @Alpha install tag, which stays on 0.1.0-alpha.3.
@coderabbitai

coderabbitai Bot commented Nov 20, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c7428775-31dd-4ca4-b30c-78abf64d9117
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T14:50:03.800038Z 78a61bc PR opened
🔒 Security Review ✅ Completed 2026-11-20T14:58:32.200014Z 78a61bc PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Sentinel dependency audit — WARN · ✓ ok

145 allow · 5 warn · 0 block · 0 error
provenance: 46 verified · 0 invalid · 104 absent · 0 unknown

package verdict score finding how to fix
esbuild@​0.28.1 warn 62/100 `install.js` combines launch + write + read primitives — partial materialization pattern. Review the finding details; approve with a recorded rationale only if you understand and accept the risk.
fast-uri@​3.1.9 warn 75/100 Network egress: connects to a hardcoded IP address. Confirm the egress is expected for this package's purpose; if not, remove it or pin to a version without it.
isexe@​2.0.0 warn 77/100 `test/basic.js` combines read + launch + write primitives — partial materialization pattern. Review the finding details; approve with a recorded rationale only if you understand and accept the risk.
tsx@​4.22.4 warn 76/100 `dist/index-D9F1FXzN.cjs` combines read + write primitives — partial materialization pattern. Review the finding details; approve with a recorded rationale only if you understand and accept the risk.
undici-types@​7.18.2 warn 64/100 Network egress: imports a raw networking module. Confirm the egress is expected for this package's purpose; if not, remove it or pin to a version without it.

▶ Run sentinel explain <package> <version> for a suggested safe version and a ready waiver.

Sentinel · 150 packages audited · 2026-11-20T14:49:31.428Z · SBOM uploaded as a build artifact

@tonibergholm-codento
tonibergholm-codento merged commit d9d4c37 into main Nov 20, 2026
7 checks passed
@tonibergholm-codento
tonibergholm-codento deleted the ci/release-publish-latest branch November 20, 2026 15:00
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