fix(release): lean sdist + resilient changelog#7
Merged
Conversation
Two fixes so the Release workflow actually produces a draft: - Exclude vendor/ (the ~74MB win_amd64 wheelhouse) + .planning/wiki/docs from the sdist. python -m build was producing a 73.9MB sdist; now ~258KB. - scripts/generate_changelog.py falls back to a deterministic git-log changelog when ANTHROPIC_API_KEY is missing or the Claude API call fails (the v2.1.0 release aborted on a 401 invalid-key from that secret). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Unblocks the Release workflow (which failed on v2.1.0).
vendor/(~74MB wheelhouse) +.planning/,wiki/,docs/from the source distribution.python -m buildwas producing a 73.9MB sdist; now ~258KB.scripts/generate_changelog.pynow falls back to a deterministic git-log changelog whenANTHROPIC_API_KEYis missing or the Claude API returns an error (the v2.1.0 release aborted on a 401 invalid-key from that secret). The AI path is still used when the key is valid.After merge I'll move the
v2.1.0tag to include this fix, re-triggering the Release workflow to produce a clean draft.🤖 Generated with Claude Code