fix(harbor): clean-tree wheel build for the benchmark runner (PR 9) - #887
Merged
Conversation
uv build --wheel in the live main checkout stalls indefinitely: setuptools' package discovery walks the entire project tree before filtering to src*, and the working checkout carries ~4.5GB of untracked payloads (reference_projects/ 1.8G, eval/harbor/jobs/ 2.5G and growing with every benchmark run, ui-tui/node_modules 234M). The runner now exports HEAD via git archive into a temp dir, builds there in seconds, and copies the wheel back to dist/; a CLAWCODEX_WHEEL env override and any existing dist/ wheel short-circuit the build entirely. Verified: the archive-export build completes and produces dist/clawcodex_cli-1.6.0-py3-none-any.whl. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
uv build --wheelin the live main checkout de-facto hangs: setuptools discovery crawls the full tree, which carries ~4.5GB of untracked payloads (reference_projects/ 1.8G, eval/harbor/jobs/ 2.5G, node_modules 234M). The runner now builds from agit archive HEADexport in a temp dir (seconds), copies the wheel back, and honorsCLAWCODEX_WHEEL/existingdist/wheels first. Verified end-to-end.🤖 Generated with Claude Code