Skip to content

refactor(redact): redact_path_str takes impl AsRef<str> (public API gate demo, not for merge) - #918

Closed
DrunkOnJava wants to merge 6 commits into
mainfrom
demo/public-api-gate
Closed

DrunkOnJava wants to merge 6 commits into
mainfrom
demo/public-api-gate

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Throwaway PR, not for merge. It shows the public API listing diff of #910 catching a signature change cargo-semver-checks does not lint (redact::redact_path_str takes impl AsRef<str> instead of &str; callers still compile). Closed once the run is recorded on #910.

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Demo done; evidence is on #910.

@DrunkOnJava
DrunkOnJava deleted the demo/public-api-gate branch October 23, 2026 14:04
DrunkOnJava added a commit that referenced this pull request Oct 23, 2026
… without marking its title with ! (#873) (#910)

A `semver checks` job (tools/ci/semver-gate.sh), required through `CI passed`, compares each pull request's stable Rust API (default features, so not unstable-research) with its base two ways: cargo-semver-checks 0.51.0, where exit 100 is a verdict and anything else a failure, and a cargo-public-api 0.52.0 listing diff (nightly-2026-05-20), where any base item missing from the head was removed or changed, which covers the parameter-type changes cargo-semver-checks misses. A breaking change passes only when the title carries `!` or the body a BREAKING CHANGE: footer, read through the API so a re-run after a retitle sees it. The release type follows the baseline's version (patch before 1.0, minor after), and the comparison builds without -D warnings. Demos #911 (a removed function) and #918 (a changed parameter type) failed it unannounced and #911 passed after a `!` retitle. CONTRIBUTING.md states the rule; docs/release-1.0-criteria.md S2 records what is now checked.
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