Skip to content

ci: skip Electron's binary download in CI, release and docs installs - #89

Merged
jddunn merged 1 commit into
masterfrom
ci/skip-electron-binary
Nov 8, 2026
Merged

jddunn merged 1 commit into
masterfrom
ci/skip-electron-binary

Conversation

@jddunn

@jddunn jddunn commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Summary

The first daily release (run 42471100534, 8 November) failed before publishing 0.9.5, and its re-run failed the same way: npm install runs Electron's install script, which downloads the Electron binary from GitHub's release servers, and those answered the runners with 504 Gateway Time-out in the build, postgres18 and browser jobs.

No job launches Electron. The package is a dev dependency for its types, and the tests that reach the Electron adapters mock the electron module. This change sets ELECTRON_SKIP_BINARY_DOWNLOAD=1 at the top of ci.yml, release.yml and pages-typedoc.yml, so installs no longer depend on that download.

Linked issues

No issue

Spec, plan and design

None

Pictures

No visible change

Type of change

  • Build or CI

How this was verified

This pull request runs the whole suite (build, postgres18, browser) with the variable set; a test that needed the binary would fail here. After the merge, a release dispatch publishes 0.9.5.

Migration notes

None

Summary by CodeRabbit

  • Chores
    • Updated automated checks, documentation publishing, and release workflows to skip downloading Electron binaries.

…tHub's release servers answered its install script with 504s and failed the daily release twice (run 42471100534)
@sourcery-ai

sourcery-ai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Sorry @jddunn, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 3 hours and 20 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@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-08T10:37:25.688815Z f710405 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.

@sourcery-ai

sourcery-ai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Set ELECTRON_SKIP_BINARY_DOWNLOAD=1 across CI, release, and documentation workflows so installs do not depend on downloading an Electron binary that no job uses.

  • .github/workflows/ci.yml L20-25
  • .github/workflows/pages-typedoc.yml L16-21
  • .github/workflows/release.yml L37-42

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The CI, Pages, and release workflows now set ELECTRON_SKIP_BINARY_DOWNLOAD to 1. The Pages and release workflows also add comments about Electron and its binary-download script.

Changes: Workflow Install Configuration

Layer / File(s) Summary
Set Electron download environment variable
.github/workflows/ci.yml, .github/workflows/pages-typedoc.yml, .github/workflows/release.yml
All three workflows set ELECTRON_SKIP_BINARY_DOWNLOAD to 1. The Pages and release workflows add comments about Electron's role and binary download.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Other

Merge Risk: Minimal · up to f7104

The inspected workflows can skip the Electron download. The separate ESLint check failed for an unknown reason.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title names the main change: setting ELECTRON_SKIP_BINARY_DOWNLOAD to skip Electron's binary download in the CI, release, and docs workflows. The raw summary confirms all three workflow files (ci.…
Description check Passed The description follows the repository template. It has a Summary section that states what changes and why, with the 504 failure context and the reason no job needs the binary. It includes Related (No…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: setting ELECTRON_SKIP_BINARY_DOWNLOAD to skip Electron's binary download in the CI, release, and docs workflows. The raw summary confirms all three workflow files (ci.yml, release.yml, pages-typedoc.yml) set this variable. The title uses the conventional commit prefix and is specific.

Full details: Description check

Explanation

The description follows the repository template. It has a Summary section that states what changes and why, with the 504 failure context and the reason no job needs the binary. It includes Related (No issue), Spec, plan and design (None), Pictures (No visible change), and a verification note. The Checklist section from the template is missing. The description also has a Type of change section and a Migration notes section that the template does not list. It does not mark the Tests added/updated or Docs updated items, and it does not state whether the Conventional commit title item is met. These gaps are minor for a CI-only change.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 946a93c and f710405.

Files selected for processing: 3

  • .github/workflows/ci.yml
  • .github/workflows/pages-typedoc.yml
  • .github/workflows/release.yml

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Skip Electron binary downloads in CI, release, and docs workflows

🐞 Bug fix ⚙️ Configuration changes 🕐 Less than 5 minutes

Grey Divider

AI Description

• Prevent Electron’s binary download from blocking CI, releases, and documentation builds during
 upstream outages.
• Keep dependency installation and existing checks intact; no workflow launches Electron.
Diagram

graph TD
  Release["Release workflow"] --> CI["CI workflow"] --> Install["Dependency install"] --> Electron["Electron install script"] --> Skip["Skip binary download"]
  Release --> Install
  Docs["Typedoc workflow"] --> Install
Loading
High-Level Assessment

Keep the workflow-level setting: it targets the unnecessary Electron download in every affected install without disabling other dependencies’ install scripts. A blanket script-skip option would be broader and risk breaking the build.

Files changed (3) +18 / -0

Other (3) +18 / -0
ci.ymlSkip Electron binary downloads across CI jobs +6/-0

Skip Electron binary downloads across CI jobs

• Sets ELECTRON_SKIP_BINARY_DOWNLOAD at workflow scope so dependency installs in CI do not rely on Electron’s binary host. A comment records the reason for the setting.

.github/workflows/ci.yml

pages-typedoc.ymlSkip Electron binary downloads during docs builds +6/-0

Skip Electron binary downloads during docs builds

• Sets the same workflow-level variable for the Typedoc dependency install, avoiding an unnecessary binary fetch before documentation generation.

.github/workflows/pages-typedoc.yml

release.ymlSkip Electron binary downloads during releases +6/-0

Skip Electron binary downloads during releases

• Sets the variable at release workflow scope so the publish job’s dependency install does not depend on Electron’s binary download. The release workflow also calls the separately updated CI workflow.

.github/workflows/release.yml

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can pick a display mode instead of tweaking every Display option by hand

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@codecov

codecov Bot commented Nov 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@jddunn
jddunn merged commit 661a021 into master Nov 8, 2026
8 of 9 checks passed
@jddunn
jddunn deleted the ci/skip-electron-binary branch November 8, 2026 10:47
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