Skip to content

ci: the semver checks job lists the public items a change adds to the stable rvt API - #1836

Merged
DrunkOnJava merged 1 commit into
mainfrom
ci/public-api-additions
Nov 12, 2026
Merged

DrunkOnJava merged 1 commit into
mainfrom
ci/public-api-additions

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

The semver checks job already lists the stable rvt API at the base and at the head (cargo public-api), but it reads only the removed lines. It now also reports the items the head adds. They go in the job log, a ::notice:: on the pull request's checks, and a section of the job summary, at most 200 lines. An addition is never a failure.

Motivation

An item added to the stable API is kept through 1.x once it ships (RELEASE.md, "What 1.0 keeps stable"). #1813 added pub fn RevitFile::release_inflated_partitions, which only rvt::research calls. That was caught only because a reviewer read carefully, and it is now pub(crate). With this change, such an addition shows on the pull request without anyone looking for it.

Testing

Unit tests are banned here. The new block was run on its own, with that exact item as the one line the head adds:

  • the log listed the item, and Public items the head adds (1);
  • the notice was printed;
  • the summary section was written;
  • it exited 0.

bash -n passes. The count uses grep -c '', since wc -l pads its number on macOS. This pull request's own semver checks run, once it is ready, adds nothing to the API, so its section stays empty: the real test of the wiring.

Breaking changes

None.

… stable rvt API, as a notice and in its summary
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 12, 2026 21:02
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) November 12, 2026 21:26
@DrunkOnJava
DrunkOnJava merged commit b3eaaeb into main Nov 12, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/public-api-additions branch November 12, 2026 21:27
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