Skip to content

Require API version-bump checks after the bootstrap release #449

Description

@lukewilliamboswell

Context

The release workflow currently runs the package bump check with:

bump_check: warn

at .github/workflows/release.yml:132-143.

The comment explains a valid bootstrap exception: the previous stable 0.20.0 bundle and alpha-0 are no longer parseable by the new compiler. It also says to change the check to require after the first stable new-compiler .tar.zst release.

Leaving this as a comment-only follow-up makes it easy for later releases to continue publishing despite an incorrect semantic version bump.

Suggested direction

After the first stable new-compiler release is available and parseable, change bump_check to require. If possible, make the transition version-aware so the exception automatically expires after the bootstrap version rather than relying on a later manual edit.

Acceptance criteria

  • The bootstrap exception is limited to the specific release(s) that need it.
  • All subsequent stable releases fail before publication when the API bump is insufficient.
  • Release-candidate and pre-release behavior is documented and tested.
  • The workflow emits a clear diagnostic containing the detected required bump.
  • The obsolete bootstrap comment is removed or updated once enforcement is active.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedciGH Actions or workflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions