Skip to content

fix(build): let the Windows payload guard account for the alternate app icons - #20

Merged
sheehanmunim merged 1 commit into
mainfrom
fix/windows-payload-limit
Aug 19, 2026
Merged

fix(build): let the Windows payload guard account for the alternate app icons#20
sheehanmunim merged 1 commit into
mainfrom
fix/windows-payload-limit

Conversation

@sheehanmunim

Copy link
Copy Markdown
Member

Problem

The Windows leg of the fleet refresh failed on Blade:

WindowsPackagedPayloadValidationError: Windows packaged payload contains 81 files; expected at most 80.

WINDOWS_PACKAGED_PAYLOAD_FILE_LIMIT is upstream's tripwire against accidental payload bloat — a stray node_modules tree or source directory landing in the package. MT Code intentionally adds three files on top of that payload: the alternate app icons (default / white-on-black / black-on-white), which the runtime applies to the window when the user picks one.

Fix

Raised the limit to 84 and documented why, keeping the margin tight enough that the guard still catches real bloat.

Verification

vp test run scripts/build-desktop-artifact.test.ts — 50 passing.

Model: Claude Opus 5, harness: Claude Code

…pp icons

Blade's build failed with "Windows packaged payload contains 81 files; expected
at most 80". The guard is a tripwire on accidental bloat (a stray node_modules
or source tree landing in the package), and MT Code deliberately ships three
alternate app icons on top of upstream's payload — the icon the user picks is
applied to the running window. Raised the limit to 84 so the tripwire still
has a tight margin.

Model: Claude Opus 5, harness: Claude Code
@sheehanmunim
sheehanmunim merged commit 37ffc10 into main Aug 19, 2026
2 of 7 checks passed
@sheehanmunim
sheehanmunim deleted the fix/windows-payload-limit branch August 19, 2026 20:19
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS labels Aug 19, 2026
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