Repository navigation
build: raise the citry wheel size cap to 1,424 KiB - #380
Merged
Merged
Conversation
The citry-ui-wheel-build job on main fails because the citry wheel is over the 1,376 KiB cap. A member-by-member diff of the wheel built at cd9d5e1 (the last green build) against main shows about 33 KB of compressed growth, all Python source from the bug fixes and render-speed changes merged since (the largest: _vue/direct_capture.py, _vue/leaf_program.py, component_render.py, and the new _walk.py). No data, docs, or test files entered the wheel, and the verifier's closed file list still passes, so nothing needs to be left out. The cap's own comment asks for a deliberate raise, so it now records what the wheel carries and leaves about 18 KB of headroom, close to the margin the previous raise left. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main is red on
citry-ui-wheel-build. The citry wheel is overMAX_WHEEL_BYTES(1,376 KiB, 1,409,024 bytes). For example,ae421385cmeasured 1,428,727 bytes in CI.What grew
I built the citry wheel locally at
cd9d5e118, the last greencitry-ui-wheel-buildon main, and at0451a0415(main now), then compared the members one by one:_vue/direct_capture.py(+6.5 KB),_vue/leaf_program.py(+4.5 KB),component_render.py(+3.3 KB), and the new_walk.py(+2.3 KB)._vue/runtime.jsgrew by only 0.3 KB.verify_citry_distribution.py --check-wheelpasses on the local main wheel, and it checks the closed file list.So nothing needs to be left out of the wheel. Following the cap's own comment ("A sizeable addition should raise the cap on purpose"), this PR raises it to 1,424 KiB (1,458,176 bytes). That leaves about 18 KB of headroom over the estimated CI size of main (about 1,440,000 bytes), close to the 12.8 KB margin the previous raise left. The comment now names
_walk.pyand records the measurement.Room for the open PRs that add shipped Python
I checked that the new cap still fits the open PRs that change
packages/py/citry/citry/:_vue/direct_capture.py. I built it against its own merge base (2640d2462) instead, and it adds 4.1 KB (1,420,200 → 1,424,286 bytes).Checks
packages/py/citry/tests/test_distribution_artifacts.pypasses (11 tests).citry-ui-wheel-buildjob reports the exact CI size. If it differs much from the estimate, I will correct the number in the comment.🤖 Generated with Claude Code