Repository navigation
Description
Problem Statement
A person using raxmlGUI installs it, runs analyses, reports crashes and receives updates through a handful of Electron-specific packages. The shell already runs on electron-vite and the current Electron, but those packages lag: electron-builder 24, electron-store 8, electron-log 4, @sentry/electron 4. The release job runs on an unmaintained GitHub Action that uploads draft releases from branch pushes and can publish an unsigned macOS app without the notarize guard. The packaged app sets no Electron Fuses. Install still pulls packages nothing uses.
Solution
The app looks and behaves as it does now. Underneath, electron-builder 26 packs, signs and publishes, and sets Electron Fuses. electron-store 12, electron-log 5 and @sentry/electron 8 replace their old versions without moving a user's settings or log file. Crash reports no longer carry the user's IP. The release job is plain yarn + electron-builder steps that publish only from v* tags and refuse to release an unsigned macOS app. The binary download script uses Node's own fetch, and unused install-time packages go away. A manual release-candidate check proves the signed, fused, auto-updated app on macOS before the next release.
User Stories
- As a person upgrading from 2.0.19, I want my dark-mode setting kept, so that the update changes nothing I chose.
- As a person upgrading from 2.0.19, I want my log file to stay where it was, so that a support request can still point at it.
- As a person using raxmlGUI, I want auto-update to keep working from the version I have, so that I get fixes without reinstalling.
- As a person using raxmlGUI, I want crash reports without my IP address, so that reporting an error shares no more than it needs.
- As a person using raxmlGUI, I want the installed app to refuse a tampered
app.asarand ignore Node debug switches, so that nothing can run code under the app's signature. - As the maintainer, I want branch pushes to build on all three OSes and publish nothing, so that no stray draft releases appear.
- As the maintainer, I want a tag build to fail when the macOS signing certificate is missing, so that an unsigned or unnotarized app can never be published.
- As the maintainer, I want page errors in Sentry under
raxmlGUI@<version>with source-mapped frames, so that crash reports stay readable. - As a developer, I want
yarn download-binariesto skip the download when the binaries are already there, so that installs stay fast.
Implementation Decisions
Each decision lives on its map ticket under Map: current Electron build and runtime packages on electron-vite and electron-builder:
- electron-builder 24 to 26 for this build config: pin ≥ 26.15.4 (26.18.1); the build block is unchanged; update feed files and fields unchanged.
- Release job scope: draft uploads and signing hardening and Release job and notarizing on electron-builder 26: the
afterSignnotarize hook and its Developer ID + team 9VR92ZCXA8 guard stay. - Which Electron Fuses to set.
- electron-store 8 to 12: bundled into main through
externalizeDeps.exclude; main stays CommonJS. - electron-log 4 to 5.
- @sentry/electron 4 to 8 and Sentry 8 setup: IP collection, preload wiring, release name.
- Binary download without the download package:
install-electronstays;sentry-symbols.jsis deleted withelectron-download.
The sandboxed preload stays CommonJS. The Electron major version does not change.
Testing Decisions
- Every child passes
yarn verifyand the app e2e on macOS, Ubuntu and Windows. - A unit test asserts the
electronFusesblock, likesrc/main/pageWindowPreferences.test.tsdoes for window preferences. - e2e keeps launching
out/main/index.json the dev Electron; a fused build can't be driven by Playwright. - The last child is a manual release-candidate check on macOS; it is the only proof of signing, notarizing, fuses, auto-update and Sentry delivery from a packaged build.
Out of Scope
Electron Forge; Electron major bumps; electron-builder 27 / electron-updater 7; ESM output for main; renderer logging; turning off grantFileProtocolExtraPrivileges; e2e on the packaged app; a CI release redesign beyond the action replacement. The packaged __static path bug is fixed outside this spec in Packaged app looks for the RAxML binaries in the build machine's checkout; the release-candidate check waits on it.
Further Notes
Research notes live on the unmerged research/* branches linked from each research ticket. Order: electron-builder 26 first; the release job and Fuses follow it; electron-store, electron-log, Sentry and the package cleanup run in parallel; the release-candidate check comes last.
Activity
jtklein-agents commentedon Nov 26, 2026
Merged upstream in AntonelliLab#526 (e1cea15). #378, the manual release-candidate check on macOS, stays open until someone runs it.