Skip to content

Check crate package paths instead of a fixed file count - #27

Merged
krflol merged 1 commit into
masterfrom
fix/crate-file-set-gate
Oct 2, 2026
Merged

krflol merged 1 commit into
masterfrom
fix/crate-file-set-gate

Conversation

@krflol

@krflol krflol commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

The crates.io workflow rejected v2.5.4 because it required exactly 81 package files. Adding the two Standard 14 metric modules correctly produces 83 files, so the count prevented publication after the source tests had passed.

Compare the Cargo package listing with the checked-out release's tracked src/ files and the explicitly allowed root metadata/license files. Fail on missing, unexpected, or duplicate entries, and retain the existing build-output/secret-path exclusion. The workflow can then publish the existing immutable v2.5.4 tag.

Validation: execute the exact Python block extracted from the workflow against the actual 83-file Cargo listing; reject a missing file, an unexpected replacement with the same count, and a duplicate. Focused packaging/release tests, the full 492-test Python suite using the built 2.5.4 runtime, and metadata checks pass. This changes release automation only.

@krflol
krflol merged commit 12767e8 into master Oct 2, 2026
12 checks passed
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