Skip to content

Require release version bumps for shipped changes - #30

Merged
jakthom merged 1 commit into
mainfrom
ci/require-release-version-bump
Sep 10, 2026
Merged

jakthom merged 1 commit into
mainfrom
ci/require-release-version-bump

Conversation

@jakthom

@jakthom jakthom commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

PR #28 changed shipped code while retaining an already-released version, so release automation had no new tag to publish. The existing changelog check accepted the old release's notes. This adds a version check to the existing Go CI job, alongside the generated-file and changelog checks.

  • Compare pull requests with their base commit and pushes to main with the previous commit. Fetch complete history and tags so the check can detect reused release tags.
  • Require a release bump for shipped Go/Rust code, native headers and libraries, dependency manifests, build configuration, and the release workflow. Documentation, examples, test-only modules, fixtures, and development tooling can retain the current version. File deletions and moves out of the shipped package also require a bump.
  • Require the next patch for the same DataFusion version, or patch zero for a newer DataFusion version. Reject skipped or decreasing module majors, DataFusion/ABI rollbacks, existing release tags, and missing or empty release notes.
  • Reuse the version parser and document the policy and local check command in CONTRIBUTING.md.

The separate release-only follow-up is #29, which adds v0.550000.2 and its changelog entry. This PR changes CI and development tooling only.

Validation passed:

  • make lint, make test, make test.source, and make rust.test
  • Workflow lint with actionlint
  • Policy tests covering version transitions, shipped-file classification, changelog headings, and a temporary Git repository with renames and reused tags
  • The check accepts this tooling-only PR and rejects the historical PR Simplify execution and add upstream SQLLogicTest coverage #28 changes when compared with their original base, with an explicit missing-version-bump error

@jakthom
jakthom merged commit 6b41cae into main Sep 10, 2026
11 checks passed
@jakthom
jakthom deleted the ci/require-release-version-bump branch September 16, 2026 03:52
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