Skip to content

refactor(streams)!: narrow year_for_partition to the crate (semver gate demo, not for merge) - #911

Closed
DrunkOnJava wants to merge 4 commits into
mainfrom
demo/semver-gate
Closed

DrunkOnJava wants to merge 4 commits into
mainfrom
demo/semver-gate

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Throwaway PR, not for merge. It shows the semver checks gate of #910 failing on an unannounced breaking change (streams::year_for_partition narrowed to pub(crate)), then passing after the title is marked with ! and the job re-run. Closed once both runs are recorded on #910.

@DrunkOnJava DrunkOnJava changed the title refactor(streams): narrow year_for_partition to the crate (semver gate demo, not for merge) refactor(streams)!: narrow year_for_partition to the crate (semver gate demo, not for merge) Oct 23, 2026
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Demo done; evidence is on #910.

@DrunkOnJava
DrunkOnJava deleted the demo/semver-gate branch October 23, 2026 13:13
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