Skip to content

fix(release): unstall the npm release pipeline (0265) - #385

Merged
crs48 merged 6 commits into
mainfrom
claude/0265-npm-release-pipeline-stall-electron-changelog-en
Jul 5, 2026
Merged

crs48 merged 6 commits into
mainfrom
claude/0265-npm-release-pipeline-stall-electron-changelog-en

Conversation

@crs48

@crs48 crs48 commented Jul 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

Implements exploration 0265: every npm Release run on main has failed since 2026-07-04 because sync-electron-version.mjs (PR #373) bumps xnet-desktop inside pnpm version-packages, and changesets/action then crashes with ENOENT reading the nonexistent apps/electron/CHANGELOG.md (changesets/action#256). The Version Packages PR #281 has been frozen since, and nothing can publish.

  • fix(release): the sync script now owns the desktop changelog — seeds apps/electron/CHANGELOG.md and prepends a matching ## <version> entry on every core-train bump (idempotent; exported function + node:test coverage; verified end-to-end with a local pnpm version-packages run).
  • ci(release): a red npm Release run now opens (or comments on) a single deduped alarm issue instead of failing silently — 12 consecutive failures went unnoticed.
  • docs: release-cadence policy in CLAUDE.md (merge the refreshed Version Packages PR after each exploration lands; .changeset/ pile-up is the stall litmus) + the 0265 exploration doc.

Staged-bump audit: no majors pending; the fixed core group will release as 0.1.0 (minor) — appropriate for the queued changesets.

Test plan

  • node --test scripts/changeset/sync-electron-version.test.mjs (5 tests)
  • Local pnpm version-packages repro: 0.0.3 → 0.1.0 bump writes the changelog entry, no ENOENT
  • Post-merge: next npm Release run on main goes green and refreshes PR chore(release): version packages #281 with the 0263/0264 changesets

🤖 Generated with Claude Code

xNet Test and others added 6 commits July 5, 2026 14:59
The data/data-bridge/react updates produced no npm releases because
(1) the changesets Version Packages PR #281 is the by-design manual
publish gate and has sat unmerged since 06-26, and (2) since PR #373
every npm-release run crashes: sync-electron-version.mjs bumps
xnet-desktop inside 'pnpm version-packages', and changesets/action
then ENOENTs reading apps/electron/CHANGELOG.md (upstream issue #256).

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: xNet Test <[email protected]>
changesets/action reads CHANGELOG.md for every package whose version
changed during 'pnpm version-packages' (uncaught ENOENT otherwise —
changesets/action#256). xnet-desktop is changeset-ignored, so
sync-electron-version.mjs now owns its changelog: seed the file at
0.0.3 and prepend a matching entry on every core-train bump. Extracted
the sync into an exported function with node:test coverage.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: xNet Test <[email protected]>
Twelve consecutive red runs went unnoticed because nothing watches a
push-triggered workflow (exploration 0265). On failure, open one
'npm Release pipeline is failing on main' issue — or comment on the
open one — so a broken release pipeline is loud until closed.

Co-Authored-By: Claude Fable 5 <[email protected]>
Signed-off-by: xNet Test <[email protected]>
@crs48
crs48 temporarily deployed to pr-385 July 5, 2026 22:17 — with GitHub Actions Inactive
@crs48 crs48 changed the title claude/0265 npm release pipeline stall electron changelog en fix(release): unstall the npm release pipeline (0265) Jul 5, 2026
@github-actions

github-actions Bot commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor

Preview removed for PR #385.

github-actions Bot added a commit that referenced this pull request Jul 5, 2026
@crs48
crs48 merged commit 47959ce into main Jul 5, 2026
16 checks passed
@crs48
crs48 deleted the claude/0265-npm-release-pipeline-stall-electron-changelog-en branch July 5, 2026 22:32
github-actions Bot added a commit that referenced this pull request Jul 5, 2026

This branch was previously deployed

1 inactive deployment
pr-385 — 97245160 Deployed Jul 5, 2026 by crs48 via deploy-preview #663
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