Skip to content

chore: fetch Electron versions once per build#1021

Merged
dsanders11 merged 1 commit intomainfrom
chore/fetch-electron-versions-once
Feb 23, 2026
Merged

chore: fetch Electron versions once per build#1021
dsanders11 merged 1 commit intomainfrom
chore/fetch-electron-versions-once

Conversation

@dsanders11
Copy link
Member

@dsanders11 dsanders11 commented Feb 23, 2026

Description of Change

The build transforms files in parallel, and while we cache the result of getting the Electron versions, it's not cached until one of those fetches succeeds, so there's an initial cache stampede when can cause a build failure. Attempting to fix this by doing a single fetch that will populate the cache before the build gets started.

Checklist

  • This PR was not created with AI. (PRs created mainly with AI will be closed. They waste our team's time. We ban repeat offenders.)

@cloudflare-workers-and-pages
Copy link

Deploying electron-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5f2443c
Status: ✅  Deploy successful!
Preview URL: https://7b1bae8e.electron-website.pages.dev
Branch Preview URL: https://chore-fetch-electron-version.electron-website.pages.dev

View logs

@dsanders11 dsanders11 marked this pull request as ready for review February 23, 2026 20:16
@dsanders11 dsanders11 requested a review from a team as a code owner February 23, 2026 20:16
@dsanders11 dsanders11 merged commit 92bec04 into main Feb 23, 2026
7 checks passed
@dsanders11 dsanders11 deleted the chore/fetch-electron-versions-once branch February 23, 2026 21:10
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.

2 participants