Repository navigation
Description
Core's cascade.yml dispatches core-release for any tag matching v[0-9]*.[0-9]*.[0-9]*, so tagging v3.0.0-alpha in core triggers this repo's release.yml. As written, that release would not produce a correct 3.0.0-alpha package:
-
Builds from the default branch, whatever the major. The
preparejob checks out the default branch and pins it to the dispatched core version. Decided in policy: define what a v3 prerelease (3.0.0-alpha) promises minigraf#928: the alpha is the first v3 release and the branch move (release: move v3 to main and main to v2.x at the 3.0.0-alpha minigraf#937,v3→main,main→v2.x) is done before the alpha is tagged. After the move a 3.x dispatch builds frommain(correct), but a 2.x dispatch must build fromv2.x, notmain. Choose the branch from the dispatched major. -
The pin step doesn't match
v3's dependency line. The twosedcommands expectminigraf = "…"orminigraf = { … version = "…" }. Onv3(the futuremain) the line isminigraf = { git = "…", rev = "…" }, so neither matches and the release would keep the git dependency. -
The tag job fast-forwards
main($SHA:refs/heads/main). That is right for a 3.x release after the move; a 2.x release built fromv2.xmust updatev2.x, notmain. -
npm publishhas no--tag. A3.0.0-alphapublish would becomelatest(npm install PKGwould install the alpha), and newer npm releases refuse a prerelease without an explicit tag. Publish prereleases with--tag next, and leavelateston 2.x. -
verify-published.ymlshould install the exact version (PKG@3.0.0-alpha), not the dist-tag. -
close() does not release an open cursor or fact log: reopening the path fails with STG-025 #17 (
close()doesn't release an open cursor or fact log) and close() from a user function inside a write transaction's statement blocks #26 (close()from a user function inside a write transaction blocks) don't block the alpha: they are known issues of the prereleases, tracked by thev3.0.0milestone (#928). Node still publishes the alpha.
Decided in project-minigraf/minigraf#928 (2026-11-30): the version is 3.0.0-alpha; later prereleases are -beta, -rc1, -rc2, … (PyPI 3.0.0a0, 3.0.0b0, 3.0.0rc1). The alpha is the first v3 release and triggers the branch move (project-minigraf/minigraf#937), with v2.x as the maintenance branch. Every binding, Tier 2 included, publishes the alpha in lock-step with core (#928, docs in project-minigraf/minigraf#945).
Found during the 3.0.0-alpha readiness check (no release was attempted).
Additional channel and compatibility checks
- Test the default-branch workflow against
v2.xtoo; its unconditionaltest:typesstep targets a script absent on the v2 source. Retain the check on 3.x. - Verify
nextand unchanged stablelateston all five npm packages, including skip-existing retries; exact-version installs alone cannot verify dist-tags. Current npm may reject an implicit prerelease tag rather than updatelatest; do not depend on the npm version. At stable, explicitly switch later v2 maintenance patches to a maintenance dist-tag (proposedv2) so they cannot move v3latestbackward. - Record the two-major dry run in release: rehearse both binding release lines and verify all seven alpha publications minigraf#960.
Activity
adityamukho commentedon Nov 29, 2026
Severity update (Codex review, confirmed in src/lib.rs:736–741 and :950–953): #26 is a synchronous self-deadlock. Transaction execution holds the slot guard across the core call, and
close()from a callback then blocks onslot.lock()for the same slot. Fix it (reject reentrant close with INT-001, or defer it) before publishing the Node alpha, or leave Node out of the alpha (Tier 2); don't ship it as a known issue. Also: publish the four platform packages and the root package under the same dist-tag.consumer-test/run.sh:54already installs the exact version.adityamukho commentedon Nov 30, 2026
Release rehearsal and publication checks for this binding are tracked in project-minigraf/minigraf#960. Its "Before tagging" checklist (7 bindings × the 3.x and 2.x source lines, no writes or publishing, recorded per path) is part of the acceptance criteria for the binding release 9F3D -workflow mission that fixes this issue.
fix(release): work on Windows and macOS runners for both source lines (…
ci(release): sync the shared release helper (#29)
ci(release): accept only 2.x releases from the default workflow (#29) (…
ci(release): sync the shared release helper (#29)
Merge pull request #32 from project-minigraf/feat/29-release-routing
adityamukho commentedon Dec 1, 2026
The release workflow changes are merged (#32 on
v3; #31 on the 2.x line). Both source lines passed the pre-move rehearsal (3.x against core candidate38b10383, 2.x against registry2.0.12), andverify-publishedfromv3passed against published 2.0.12: project-minigraf/minigraf#960 (comment)The ticked items are covered by those changes. No publication or recovery path has run on GitHub yet.
Still open here, at publication (project-minigraf/minigraf#929): verify
nextand an unchangedlateston all five packages on the real publish. The channel rule is implemented (older-major stable patches go tomaintenance-v2, because npm rejectsv2). Dist-tag repair needs "Allow npm dist-tag" on each trusted publisher.