Skip to content

ci: Linux static and unit skip Electron's binary download - #533

Closed
SSFSKIM wants to merge 2 commits into
masterfrom
linux-skip-electron-binary
Closed

SSFSKIM wants to merge 2 commits into
masterfrom
linux-skip-electron-binary

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Since about 08:45Z on 2026-11-08, GitHub's release CDN has answered 504 for electron-v44.4.5-linux-x64.zip, while it serves darwin-arm64. Every Linux setup failed at the postinstall, after ci-kit's retry. Neither the static job nor the unit job starts Electron.

  • .github/actions/setup/action.yml gains an electron input, default 'true'. With 'false' on Linux, it sets ELECTRON_SKIP_BINARY_DOWNLOAD=1, which scripts/postinstall.mjs already honours for the devenv Linux host, and it skips the Electron cache.
  • gate.yml: static and unit pass electron: 'false'. Linux e2e still installs Electron.
  • I didn't take a mirror fallback: @electron/get reads SHASUMS256 from the same mirror, so it would run an unverified third-party binary in a public repo's CI.

Gate 42468138813 (static, unit), at the head before this description was written:

  • unit 1/4–4/4 passed without the binary;
  • static installed and built (electron-vite build) without it. Its gate-scripts check then failed 16 tests in .github/scripts/hosted-mac.test.mjs. Those tests download gitleaks from GitHub releases, and that download got the same outage's 504s (gitleaks_8.30.1_linux_x64.tar.gz). Nothing in those tests touches this change.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

GitHub's release CDN has answered 504 for electron-v44.4.5-linux-x64.zip since about 08:45Z on 2026-11-08 while it serves darwin-arm64, so every Linux setup failed at the postinstall, after ci-kit's retry. Neither job starts Electron. The setup action gains an `electron` input; 'false' sets ELECTRON_SKIP_BINARY_DOWNLOAD=1 (scripts/postinstall.mjs) and skips the Electron cache on Linux. Linux e2e still installs it.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T09:51:46.651446Z 5e0a392 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

…kip-electron-binary

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@SSFSKIM

SSFSKIM commented Nov 8, 2026

Copy link
Copy Markdown
Owner Author

Closed. #534's API-route fallback already covers the release 504s this PR worked around. The composed gate (run 42474874392, attempt 2) showed that skipping the binary leaves unit's result to what the cache restores: src/main/lane-b/remote-port.test.ts reaches getElectronPath. A static-only skip would save little and add that same risk.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

@SSFSKIM SSFSKIM closed this Nov 8, 2026
@SSFSKIM
SSFSKIM deleted the linux-skip-electron-binary branch November 8, 2026 11:41
SSFSKIM added a commit that referenced this pull request Nov 8, 2026
…notification a row carries and the engine's queued notices; #535, #536 and #537 noted, #533 closed; the fake machine's queue-record row

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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