Skip to content

Release on merge - #263

Merged
abonneth merged 1 commit into
mainfrom
antoine/release-automation
Oct 19, 2026
Merged

abonneth merged 1 commit into
mainfrom
antoine/release-automation

Conversation

@abonneth

@abonneth abonneth commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Made with Cursor


Note

Medium Risk
Changes release automation (GitHub App credentials, auto tags/PRs) and adds publish gates that depend on live prod/runtime OpenAPI endpoints; misconfiguration could block releases or ship incompatible SDKs if checks are bypassed.

Overview
Automates release-on-merge to main: a new Release workflow mints a GitHub App token, then on each push either creates a vX.Y.Z GitHub release (when that tag is missing), does nothing (when HEAD matches the tag for release paths), or opens/updates a rolling release/next PR that bumps the patch via scripts/bump_version.py across pyproject.toml, uv.lock, and client version headers.

Publish now gates PyPI on a new api-compat job that runs scripts/check_release.py: the bundled openapi.json must not expose operations absent from prod AGP OpenAPI (US + EU), and session request bodies must not include fields the pinned hai-agent-runtime OpenAPI rejects.

Adds unit tests in tests/test_release_scripts.py for synchronized patch bumps and the compatibility checks.

Reviewed by Cursor Bugbot for commit f0b1f06. Bugbot is set up for automated code reviews on this repo. Configure here.

…me compatibility

Co-authored-by: Cursor <cursoragent@cursor.com>
@abonneth
abonneth requested a review from adeprezh as a code owner October 19, 2026 11:43
@abonneth
abonneth merged commit 101427e into main Oct 19, 2026
6 checks passed
@abonneth
abonneth deleted the antoine/release-automation branch October 19, 2026 23:48
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.

2 participants