Skip to content

fix(release): stop Windows server build from timing out and cancelling releases#5519

Merged
matthewevans merged 1 commit into
mainfrom
ship/release-windows-build-timeout
Jul 10, 2026
Merged

fix(release): stop Windows server build from timing out and cancelling releases#5519
matthewevans merged 1 commit into
mainfrom
ship/release-windows-build-timeout

Conversation

@matthewevans

Copy link
Copy Markdown
Member

The build-server Windows leg ran ~33-34 min warm against a 35-min CI
timeout; any cache miss tripped it, and a timed-out job reports as
'cancelled', which fails the release job's build-server==success gate and
silently skips the GitHub Release + production deploy. This happened on
most daily releases, requiring manual re-runs.

Root cause: server-release inherited release's fat LTO + codegen-units=1
(those exist for WASM binary size, not native servers). Switch to thin
LTO + 16 codegen units to cut compile time well under the ceiling, and
raise the timeout to 55 min for headroom against a cold cache.

…g releases

The build-server Windows leg ran ~33-34 min warm against a 35-min CI
timeout; any cache miss tripped it, and a timed-out job reports as
'cancelled', which fails the release job's build-server==success gate and
silently skips the GitHub Release + production deploy. This happened on
most daily releases, requiring manual re-runs.

Root cause: server-release inherited release's fat LTO + codegen-units=1
(those exist for WASM binary size, not native servers). Switch to thin
LTO + 16 codegen units to cut compile time well under the ceiling, and
raise the timeout to 55 min for headroom against a cold cache.
@matthewevans
matthewevans enabled auto-merge July 10, 2026 18:36

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the server-release profile in Cargo.toml to use thin LTO (lto = "thin") and 16 codegen units (codegen-units = 16) to optimize compile times and prevent CI timeouts on Windows. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@matthewevans
matthewevans added this pull request to the merge queue Jul 10, 2026
Merged via the queue into main with commit 91d6193 Jul 10, 2026
13 checks passed
@matthewevans
matthewevans deleted the ship/release-windows-build-timeout branch July 10, 2026 18:57
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