Skip to content

Drop unused install packages and fetch binaries with Node #377

Done

Description

@jtklein-agents

Parent

Spec: Electron build and runtime packages current

What to build

Install pulls no unused packages, and yarn download-binaries uses Node fetch and skips work it already did.

Acceptance criteria

  • electron-download, patch-package, postinstall-postinstall and download are gone from package.json, along with the postinstall-patch script.
  • sentry-symbols.js is deleted.
  • postinstall-electron (install-electron) stays.
  • scripts/download-binaries.js fetches the release zip with Node fetch, fails on a non-OK response, writes it to a temp file, and unpacks it with extract-zip (a devDependency).
  • Unpacked macOS and Linux binaries keep their execute bits.
  • A second run with binaries present downloads nothing (the check looks in static/bin/<OS>/).
  • No static/bin/__MACOSX folder is left.
  • yarn verify and the app e2e pass on macOS, Ubuntu and Windows.

Activity

  1. added
    ready-for-agent
    on Nov 25, 2026
  2. jtklein-agents commented on Nov 25, 2026

    @jtklein-agents
    OwnerAuthor

    Done in #382 (merged into spec/370-electron-build-and-runtime-packages-current as f53b1d0). CI green on macOS, Ubuntu and Windows (e2e + release).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions