Repository navigation
build: raise the citry wheel size cap to 1,536 KiB - #530
Merged
Merged
Conversation
The citry wheel measured 1,526,915 bytes on main at f67bb05, about 44 KB over the 1,448 KiB cap. Since #439 the merged features and fixes added about 63 KB of compressed Python source and no data, test or docs files; the only new members are five runtime modules. The new cap leaves about 45 KB of headroom, and the comment records what grew. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 28, 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(run 40773452229):citry-0.6.0-py3-none-any.whl is 1526915 bytes; the release cap is 1482752 bytes, about 44 KB over.What grew since #439
I built the citry wheel at #439's merge (8a7b423) and at main (f67bb05), then compared every member. The local build at main is 1,526,915 bytes, the same as CI. The wheel grew by about 63 KB compressed, all of it shipped Python source:
citry/_model_base.py(new)citry/_vue/direct_capture.pycitry/ext/events/state.pycitry/_slot_props.py(new)citry/nodes/__init__.pycitry/_markup_lint.pycitry/_vue/static_template.pycitry/_vue/runtime.jsNothing ships by mistake.
_model_base.py,_slot_props.py,_sub_path.py,_authored_expression.pyand_symbol_table.py.py.typed,_vue/runtime.js,_vue/dev_checks.min.jsand the i18nvue-plugin.source.js.The new cap
The cap is now 1,536 KiB (1,572,864 bytes), about 45 KB above the measured size. #439 left 19 KB, which lasted about a day, so this cap leaves more room. The comment above
MAX_WHEEL_BYTESnames what grew.Trimming would not help much here: the growth is spread over many runtime modules, and the largest non-Python member,
_vue/runtime.js, is already a minified bundle.Checks
verify_wheelpasses on the locally built wheel.test_distribution_artifacts.pypasses: 11 tests.🤖 Generated with Claude Code