Skip to content

build: raise the citry wheel size cap to 1,424 KiB - #380

Merged
JuroOravec merged 1 commit into
mainfrom
build/raise-citry-wheel-cap
Oct 25, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
build/raise-citry-wheel-cap

Conversation

@JuroOravec

@JuroOravec JuroOravec commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Main is red on citry-ui-wheel-build. The citry wheel is over MAX_WHEEL_BYTES (1,376 KiB, 1,409,024 bytes). For example, ae421385c measured 1,428,727 bytes in CI.

What grew

I built the citry wheel locally at cd9d5e118, the last green citry-ui-wheel-build on main, and at 0451a0415 (main now), then compared the members one by one:

  • Total compressed growth: about 33 KB (1,403,183 → 1,436,006 bytes locally; CI wheels come out about 4 KB larger).
  • All of it is shipped Python source from the fixes and render-speed changes merged since. The largest are _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.js grew by only 0.3 KB.
  • No data, docs, or test files entered the wheel. verify_citry_distribution.py --check-wheel passes 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.py and 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/:

Checks

  • packages/py/citry/tests/test_distribution_artifacts.py passes (11 tests).
  • Ruff is clean.
  • This PR's citry-ui-wheel-build job reports the exact CI size. If it differs much from the estimate, I will correct the number in the comment.

🤖 Generated with Claude Code

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]>
@JuroOravec
JuroOravec merged commit 4d3f138 into main Oct 25, 2026
0 of 19 checks passed
@JuroOravec
JuroOravec deleted the build/raise-citry-wheel-cap branch October 25, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant