Skip to content

fix(desktop): Windows payload limit fits the fork's natives and compile cache - #30

Merged
collissimo merged 1 commit into
collin/mainfrom
fork-repair/41320584358
Nov 1, 2026
Merged

collissimo merged 1 commit into
collin/mainfrom
fork-repair/41320584358

Conversation

@collissimo

Copy link
Copy Markdown
Owner

Fork release run 41320584358 failed on the Windows build: Windows packaged payload contains 82 files; expected at most 80.

Cause: upstream pingdotgg#28572 (nightly v0.1.7-nightly.20261101.4035) writes resources/server-compile-cache/ in an afterPack hook that only runs when the build host matches the target. The fork builds on a native Windows runner, so the hook ran and took the payload from 68 files (run 41278363282) to 82. Upstream's Windows x64 build logged Skipping unexecutable target win32/x64 and validated 53 files, so its limit of 80 never counted the cache.

Fix: raise WINDOWS_PACKAGED_PAYLOAD_FILE_LIMIT from 80 to 110, which keeps upstream's headroom of about 27 files. The cache stays in the build and is still counted. The nightly merge itself succeeded in that run, so this PR does not merge upstream.

Verification: check:changed passes format, lint, knip, typecheck and react compiler. Its test step fails locally on Windows on 8 tests in build-desktop-artifact.test.ts and 13 in ClaudeAdapterV2.test.ts; the same counts fail without this change. Not checked before merge: the real Windows build, which the Fork release run after this merge proves.

🤖 Generated with Claude Code (Claude Opus 5.5, T3 Code)

…le cache

Fork release run 41320584358 failed: upstream's server compile cache
(pingdotgg#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 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Nov 1, 2026
@collissimo
collissimo merged commit 39e3b6f into collin/main Nov 1, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant