fix(release): give desktop closure staging 30min in bun binary builds
The CLI full-package build's nested @fusion/desktop build stages the production closure via pnpm deploy (~1300+ packages); on cold-store macOS release runners that exceeded runWorkspaceCommand's default 10-minute timeout and killed every v0.73.0-beta.* bun-darwin-arm64 release leg with exit 143. Raise the desktop sub-build budget to 30 minutes and widen the build-binaries job timeout to 45 minutes to match. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -24,7 +24,10 @@ jobs:
|
||||
build-binaries:
|
||||
name: Build ${{ matrix.target }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 30
|
||||
# FNXC:Release 2026-07-23-23:05: 45 min (was 30): the desktop pnpm-deploy closure staging
|
||||
# inside the CLI full-package build can take >10 min alone on cold-store macOS runners
|
||||
# (killed every v0.73.0-beta.* bun-darwin-arm64 leg); tsup now allows it 30 min.
|
||||
timeout-minutes: 45
|
||||
# Job-level env so the signing steps' `if:` can detect whether the
|
||||
# signing certificate secrets are configured (secrets can't be read in `if:` directly).
|
||||
env:
|
||||
|
||||
@@ -348,7 +348,15 @@ async function ensureDesktopRuntimeAssetsBuilt() {
|
||||
* The published CLI package must contain the desktop runtime it launches. Build the private desktop package during CLI packaging when dist is absent, but keep this strictly in the repository build path — the installed `fusion desktop` command itself must never run pnpm from an operator's cwd.
|
||||
*/
|
||||
console.log("Desktop runtime assets missing; building @fusion/desktop before staging CLI package assets...");
|
||||
await runWorkspaceCommand("pnpm", ["--filter", "@fusion/desktop", "build"], workspaceRoot);
|
||||
/*
|
||||
* FNXC:DesktopPackaging 2026-07-23-23:05:
|
||||
* The desktop build's `pnpm deploy` production-closure staging resolves and installs ~1300+
|
||||
* packages; on cold-store macOS release runners this alone exceeded the default 10-minute
|
||||
* runWorkspaceCommand timeout and killed every v0.73.0-beta.* bun-darwin-arm64 release leg
|
||||
* (exit 143). Give the desktop sub-build a 30-minute budget; release.yml's job timeout was
|
||||
* widened to match.
|
||||
*/
|
||||
await runWorkspaceCommand("pnpm", ["--filter", "@fusion/desktop", "build"], workspaceRoot, 1_800_000);
|
||||
|
||||
if (!existsSync(desktopRuntimeSrc)) {
|
||||
throw new Error(`[tsup] Desktop runtime build did not create expected assets at ${desktopRuntimeSrc}`);
|
||||
|
||||
Reference in New Issue
Block a user