Repository navigation
Conversation
This was referenced Oct 16, 2026
neriousy
added this pull request to stack #56077
October 16, 2026 13:20
neriousy
force-pushed
the
desktop-early-start
branch
from
October 16, 2026 16:08
feccd8e to
eeac940
Compare
build-electron now needs only version. Each leg installs and runs the electron-vite build while build-cli runs, then waits for its own cli-unsigned-<cli> artifact with script/wait-for-artifact.ts (copied from beta) and downloads it just before Prepare. Prepare already runs the prebuild hook, so the old `bun run build` step, which copied and signed the CLI a second time, is gone. The workflow gains actions: read so the wait can list this run's artifacts and jobs.
neriousy
force-pushed
the
desktop-early-start
branch
from
October 16, 2026 16:21
eeac940 to
5f16a87
Compare
This branch has not been deployed
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.
Stacked on #56071 (
desktop-release-files) ("chore(ci): upload only the desktop release files"). That is stacked on #56070 (cli-target-jobs) ("chore(ci): build each CLI target in its own job and sign macOS and Windows in parallel"), which is stacked on #55987 (release-runner-moves). Only the last commit belongs to this PR. It needs #56070 (cli-target-jobs), because it waits for that PR's per-targetcli-unsigned-<target>artifacts.Summary
Desktop legs now build the app while
build-cliruns, instead of waiting for all of it; only Prepare needs the CLI. Beta does this since #55919.build-electronneeds onlyversion. New order: setup, "Build app" (electron-vite build), "Wait for the CLI", the CLI download, "Azure login" (Windows), Prepare, Package.prebuildhook repeated Prepare, including a second CLI signing. Prepare now signs once; Package signs again as before.script/wait-for-artifact.tsis byte-identical to beta's. It polls every 5 s and fails on producer failure or after 30 minutes.actions: read. A job-level block would drop theid-token: writethat Windowsazure/loginneeds.Expected effect
All figures are estimates from reference runs, not measured on the new layout.
versionend to the slowestbuild-clileg (estimated 82–135 s, unmeasured on dev), P the leg's pre-CLI time.Evidence
out/except.mapbuild noise.Things to know
macos-26legs start together. Windows legs already queue 49–217 s, off the critical path.build-clileg fails its desktop leg and skipspublish, but the other five legs run to the end (notarization, Sentry upload). "Re-run failed jobs" then re-runs only what failed.name:or second matrix key onbuild-cliturns fail-fast into a 30-minute wait.GITHUB_TOKENlimit. All 12 beta waits took 0–6 s. Recovery: "Re-run failed jobs".build-clifinishes, so a failed CLI leg leaves them there.actions: readis read-only on a public repo.tscreports an unreachable TS2345 in the script, kept identical to beta's.Next merge of dev into beta:
publish.ymlgoes from 3 to 7 conflict hunks: theactions: readcomment, thebuild-electronheader, the removed top download step, and beta's build/wait/Prepare block against "Build app".github.ref_name != 'beta'exclusion onbuild-cliwith dev's wait: every beta desktop leg would time out after 30 minutes. Drop the exclusion, or keepbuild-cli-betawith beta's own wait and download behindgithub.ref_name == 'beta'.Verification
publish.ymlcan't run on this PR.On the first dev release dispatch:
build-electronlegs start right afterversion.ready after Ns: macOS and linux-arm64 0 to ~30 s, Linux x64 up to ~1.5 min.publishstart about 1.4–1.9 min earlier (estimate).Rollback: revert this commit.