Skip to content

ci: skip crates added by the PR in the API change check - #12554

Merged
sdf-jkl merged 2 commits into
apache:mainfrom
mbutrovich:ci-api-change-new-crates
Dec 4, 2026
Merged

sdf-jkl merged 2 commits into
apache:mainfrom
mbutrovich:ci-api-change-new-crates

Conversation

@mbutrovich

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

None. #12517 is the first PR to add a crate since api_change.yml landed in #11949.

Rationale for this change

cargo semver-checks --baseline-rev fails when a workspace member doesn't exist at the baseline commit. On #12517 the job exits with 101 on package '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 compare step finds the Cargo.toml files 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_iterator and its structs as removed, though arrow-buffer re-exports them, so #12517 will still get api-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.

@boring-cyborg boring-cyborg Bot added the development-process Internal changes; PRs with this label are excluded from changelog label Dec 4, 2026
@mbutrovich mbutrovich self-assigned this Dec 4, 2026
@mbutrovich
mbutrovich requested a review from sdf-jkl December 4, 2026 16:38

@sdf-jkl sdf-jkl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mbutrovich 🙏

@sdf-jkl
sdf-jkl enabled auto-merge December 4, 2026 17:17
@sdf-jkl
sdf-jkl added this pull request to the merge queue Dec 4, 2026
Merged via the queue into apache:main with commit e4920d8 Dec 4, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Internal changes; PRs with this label are excluded from changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants