From ecd48f5db636fb2ffc079b42b97e33158a65f9ef Mon Sep 17 00:00:00 2001 From: collissimo <148455189+collissimo@users.noreply.github.com> Date: Sun, 1 Nov 2026 18:33:48 +0100 Subject: [PATCH] fix(desktop): Windows payload limit fits the fork's natives and compile cache Fork release run 41320584358 failed: upstream's server compile cache (#28572) adds 14 files on a native Windows build, taking the fork's payload from 68 to 82 files over the limit of 80. Upstream cross-builds Windows, so it skips the cache and validates 53 files. Raise the limit to 110, keeping upstream's headroom of about 27 files. Co-Authored-By: Claude Opus 5.5 --- scripts/build-desktop-artifact.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/build-desktop-artifact.ts b/scripts/build-desktop-artifact.ts index 8ba7f1adcbbd2..972b1614db1f4 100644 --- a/scripts/build-desktop-artifact.ts +++ b/scripts/build-desktop-artifact.ts @@ -1051,7 +1051,8 @@ export function resolveWindowsServerAsarIgnoreGlobs(arch: typeof BuildArch.Type) ]; } -export const WINDOWS_PACKAGED_PAYLOAD_FILE_LIMIT = 80; +// Fork: 110, not upstream's 80. Fork natives add 15 files and a native Windows build adds the server compile cache. +export const WINDOWS_PACKAGED_PAYLOAD_FILE_LIMIT = 110; export const WINDOWS_SERVER_RESOURCE_SOURCE_DIR = "apps/desktop/prod-resources/windows-server"; export const WINDOWS_SERVER_EXTRA_RESOURCES = [ {