This repository was archived by the owner on Nov 21, 2026. It is now read-only.
Repository navigation
bindings: a wheel at or over 100 MB fails the build and the release workflow - #204
Merged
Merged
Conversation
…orkflow verify_wheel_size.py checks every wheel against the 100 MB policy, with the largest members in the failure message and warnings for a wheel within 10 MB of the limit or below 30 MB. build.sh runs it on the wheel it just built, and the release workflow checks the same limit before the PyPI upload. release.md states the policy, the pre-tag checks (no existing tag of that name here or on origin), and the tagopt tip. Closes #203. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ubz3m6QXHESerCkehC1qgi
…rashed on the emoji) The Windows examples jobs failed with a UnicodeEncodeError: the cp1252 console cannot print the check marks, and build.sh treats a failing check as fatal. The messages are plain text now, and a test pins that the script has no non-ASCII character. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ubz3m6QXHESerCkehC1qgi
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
A wheel at or over 100 MB is a mistake (a whole distribution in
JAR_LIB_DIR, an optional jar, a stale artifact), and nothing failed it before.scripts/verify_wheel_size.py: fails a wheel at or over 100 MB (decimal), prints its largest members, and warns for a wheel within 10 MB of the limit or below 30 MB (engine or JRE missing?).ARCADEDB_WHEEL_MAX_MBoverrides it for an exceptional build and says so.build.shruns it on the wheel it just built, on every path (Docker, native, CI).release.md: the policy, the pre-tag checks (no tag of that name here or on origin), andgit config remote.upstream.tagopt --no-tags.Verification
8 tests (
tests/test_wheel_size.py) with small limits instead of 100 MB files. On the real 26.10.1 dev wheel (72.6 MB): passes at the default limit and fails with the largest members listed when the limit is forced to 50 MB.bash -n build.shand the workflow YAML parse.Closes #203.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Ubz3m6QXHESerCkehC1qgi