Skip to content

fix: pin electron to 41.x so release builds produce installers#119

Merged
eboudrant merged 1 commit into
mainfrom
fix/pin-electron-41
Jun 4, 2026
Merged

fix: pin electron to 41.x so release builds produce installers#119
eboudrant merged 1 commit into
mainfrom
fix/pin-electron-41

Conversation

@eboudrant

Copy link
Copy Markdown
Owner

Summary

The v0.0.20 release failed: the macOS build jobs reported success but produced no .dmg/.zip, so the "Create Release" job errored downloading the missing papastudio-arm64/papastudio-x64 artifacts.

Root cause: the only change since the last good release (v0.0.19, built on electron 41) was the electron → 42.3.0 bump in #115. ci.yml never runs electron-forge make, so the packaging regression slipped through and only surfaced at release time. This pins electron back to ^41.7.1 (resolves 41.7.1), restoring the known-good packaging path.

Test plan

  • npx electron-forge make --arch=arm64 locally on electron 41.7.1 produces both out/make/PapaStudio.dmg and the arm64 zip. (The "Making for the following targets: ," log line is a cosmetic electron-forge display quirk — the makers do run and emit installers.)
  • After merge, re-dispatch the Release workflow for v0.0.20.

🤖 Generated with Claude Code

@eboudrant eboudrant enabled auto-merge (squash) June 4, 2026 22:51
The v0.0.20 release failed — macOS build jobs succeeded but emitted no
.dmg/.zip, so Create Release errored on missing artifacts. The only change
since the last good release (v0.0.19, on electron 41) was the electron 42.x
bump (#115, then #116 → 42.3.3); ci.yml never runs `electron-forge make`, so it
surfaced only at release time. Pin electron back to ^41.7.1 (keeping the other
#116 dependency updates).

Verified locally: `electron-forge make --arch=arm64` on electron 41.7.1
produces out/make/PapaStudio.dmg and the arm64 zip.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@eboudrant eboudrant force-pushed the fix/pin-electron-41 branch from 6f9b93c to e8de649 Compare June 4, 2026 23:21
@eboudrant eboudrant merged commit baf17d8 into main Jun 4, 2026
7 checks passed
@eboudrant eboudrant deleted the fix/pin-electron-41 branch June 4, 2026 23:23
eboudrant added a commit that referenced this pull request Jun 5, 2026
The v0.0.20 release produced no installers: electron-forge 7.11.2 (latest
stable) silently fails to run the makers under Node 24.x — `make` stops after
packaging and emits no .dmg/.zip. Reproduced locally: Node 24 → nothing,
Node 22 → dmg + zip. electron was never the cause (v0.0.19 shipped on 42.2.0),
so this also reverts the misdiagnosed #119 pin back to ^42.

- release.yml: build job Node 24 → 22.
- package.json: electron ^41.7.1 → ^42.0.0 (resolves 42.3.3).

Verified locally: npm ci + electron-forge make on Node 22 + electron 42.3.3
produces PapaStudio.dmg and the arm64 zip.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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