Repository navigation
ci: skip crates added by the PR in the API change check - #12554
Merged
Merged
Conversation
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.
Which issue does this PR close?
None. #12517 is the first PR to add a crate since
api_change.ymllanded in #11949.Rationale for this change
cargo semver-checks --baseline-revfails when a workspace member doesn't exist at the baseline commit. On #12517 the job exits with 101 onpackage 'arrow-bitutils' not found(run). cargo-semver-checks has no option to skip such packages (obi1kenobi/cargo-semver-checks#146).What changes are included in this PR?
The
comparestep finds theCargo.tomlfiles the PR adds and passes each package name to the workspace scan as--exclude.This doesn't fix the false positive when a crate re-exports items moved into another crate (obi1kenobi/cargo-semver-checks#355). In the same run, the scan reports
arrow_buffer::bit_chunk_iteratorand its structs as removed, thougharrow-bufferre-exports them, so #12517 will still getapi-change.Are these changes tested?
This PR's own run covers a PR that adds no crate. The path that excludes a crate runs once #12517 is rebased onto this branch.
Are there any significant user-facing changes?
No.
AI usage disclosure
I wrote this PR with help from Claude but understand and support the core approach, implementation, and test coverage.