Repository navigation
Drop unused install packages and fetch binaries with Node (#377) - #382
Merged
jtklein-agents merged 3 commits intoNov 25, 2026
Conversation
Remove electron-download, patch-package, postinstall-postinstall and download, the postinstall-patch script, and sentry-symbols.js. download-binaries now fetches the release zip with Node fetch, unpacks it with extract-zip, removes the __MACOSX folder, and skips the download when static/bin/<OS>/ already holds files. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ime-packages-current' into 377-merge # Conflicts: # yarn.lock
…ime-packages-current' into 377-merge # Conflicts: # yarn.lock
jtklein-agents
merged commit Nov 25, 2026
f53b1d0
into
spec/370-electron-build-and-runtime-packages-current
9 checks passed
jtklein-agents
deleted the
377-drop-unused-install-packages-and-fetch-binaries-with-node
branch
November 25, 2026 23:14
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #377
Summary
yarn download-binariesnow uses Nodefetchandextract-zip, and it skips the download when the binaries are already present.Install drops packages nothing uses any more:
BUILD.mdnow says native crash symbols are not uploaded.Evidence
Before: every run downloaded again, because the existence check looked at
static/bin/raxml-ng. It also leftstatic/bin/__MACOSXbehind.After: on macOS, run against a scratch
static/:yarn lint,yarn typecheckandyarn testpass (474 tests). The Ubuntu and Windows downloads, the Linux execute bits and the e2e runs are left to this PR's CI matrix.Merge Danger
Door: two-way
Revert restores the packages and the script.
Blast Radius: install/CI
The change touches install and the CI binary step on all three hosts. If an earlier unzip stopped halfway, the
<OS>folder isn't empty, so the script skips the download and won't repair it. To fix that, deletestatic/bin/<OS>and run it again. The packaged app is unchanged.🤖 Generated with Claude Code