Repository navigation
Align monorepo CI lanes and immutable package release flow - #187
Conversation
|
Review from the session that built the release workflows this replaces. Scope Blocking:
|
All three windows-latest legs were cut off at exactly 10 minutes. GitHub reports a timed-out job as cancelled rather than failed, so it read like an unrelated interruption. The cap was set when this job ran core's suite alone; it now runs four. Raised to 25 for the matrix job only, since the observed durations are censored. If #187's verify/workspaces split lands, this becomes a cap that is never reached.
0.1.0-alpha.4 was versioned and tagged but never published. Its tag was created before the peer-floor gate was fixed, and GitHub runs a workflow from the commit the tag points at, so re-running that release would have re-executed the broken gate. Moving a tag onto a later commit is worse than spending a version number, so the version moves instead; the inert alpha.4 tag stays where it is, pointing at a commit that never shipped. No change to the published package. ui 0.1.0-alpha.6 and admin 0.1.0-alpha.4 published normally; this only affects auth. #187's release:check earned its place here: `changeset version` updates the manifest but not the root lockfile, and the check refused the commit until `npm install --package-lock-only` brought them back into agreement. Nothing else would have caught that before the tag was pushed. No fix was needed to #187's peers step after all. The revision that merged already replaces the --prefix approach with an isolated temp copy and reads each peer's manifest from the filesystem rather than through its exports map -- both points from the review on that PR -- and adds an assertion the earlier version did not have, that the installed version equals the declared floor exactly. Co-Authored-By: Claude Opus 5 <[email protected]>
Problem and change
A prose-only PR changed AGENTS.md and took 9m08s because every PR ran the complete core and extension suites on three Node versions. Releases duplicated shell logic across four workflows, reused version tags across commits, and could publish from a failing main revision.
Add a fail-closed prose lane while preserving the required
verify-complete,container, and CodeQL policies. Run static checks once and core/workspace suites independently with existing Node/OS coverage. Restore the real workspace scaffold integration that previously skipped because it referenced old external checkouts.Centralize release identity, exact-SHA main/CodeQL preflight, published-peer installation, immutable artifact retries and channel checks. Candidate/core release share preparation; extension publishers share preparation and keep their existing npm OIDC workflow names. Add read-only status/plan/timing helpers and an explicit sequential release coordinator. Align all workspace lockfile versions and replace stale release/version documentation with the current runbook and measured audit.
Verification
npm run verifypassed after merging Run the peer-floor gate outside the workspace #184: 842 passing tests and one existing live-TLS fixture skip, including the real workspace scaffold integration.npm run test:packagepassed archive installation, starter/cookbook and declaration consumer checks.bash -n.release:status,release:run, andci:reportexercised against live metadata. No publish or execute command ran.48c3d8c. Publication/OIDC and GHCR recovery remain external validation. See [Request]: Measure CI lanes and complete release-train validation after alignment #185 for measured post-rollout performance, published-tarball train preparation and further coverage work.Compatibility and security
No runtime YAML/API, licensing or trust-boundary changes. Main protections and supported matrix coverage remain. New release publication fails closed on a non-green source commit, wrong tag SHA, different already-published bytes or channel regression. Older unlabeled GHCR images need reviewed migration; no existing image is silently relabeled. The coordinator is read-only unless
--executeis supplied and never merges or bypasses checks.Separately, the user explicitly approved and enabled immutable release-tag rule 23712319 (no bypass actors); its exact configuration is included. Existing GitHub alpha releases were marked prerelease and latest restored to stable v0.3.0, resolving #186, without moving tags or changing artifacts. No package was published.