Skip to content

Automate Core updates and release preparation - #2112

Merged
tconley1428 merged 2 commits into
mainfrom
amazzeo/prepare-release-core-update
Nov 12, 2026
Merged

tconley1428 merged 2 commits into
mainfrom
amazzeo/prepare-release-core-update

Conversation

@VegetarianOrc

@VegetarianOrc VegetarianOrc commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Keep Core updates on origin/main by default and add --latest-tag for the highest stable Core release, preserving explicit --revision overrides.
  • Refresh bridge dependency versions and Cargo.lock, then run the existing proto generation task.
  • Add poe prepare-release to update to the latest Core tag before preparing the Python release.
  • Make release preparation rebuild an existing release branch, publish with an explicit force-with-lease, and reuse an existing open PR.
  • Document the workflows and add focused coverage for tag selection, release commits, branch upserts, and concurrent remote changes.

Validation

  • poe test -s -n 0 tests/test_prepare_release.py tests/test_update_core.py — 35 passed, including real Cargo lockfile and temporary-local-remote Git tests.
  • Targeted Ruff import and formatting checks, mypy, Pyright, and basedpyright passed.
  • git diff --check passed.

Release branch behavior

Rerunning preparation for a version intentionally rebuilds its release branch from origin/main, replacing prior release-branch commits. The explicit force-with-lease rejects remote changes made during preparation. Existing open PR descriptions and discussion are preserved.

@VegetarianOrc
VegetarianOrc requested a review from a team as a code owner November 10, 2026 21:21
@VegetarianOrc
VegetarianOrc force-pushed the amazzeo/prepare-release-core-update branch from 8ed44a9 to 5e1e650 Compare November 10, 2026 21:30
@VegetarianOrc VegetarianOrc added the skip-changelog PR changes do not require changelog updates label Nov 10, 2026
@VegetarianOrc
VegetarianOrc force-pushed the amazzeo/prepare-release-core-update branch from 5e1e650 to b6d5c6d Compare November 10, 2026 22:37
@VegetarianOrc
VegetarianOrc force-pushed the amazzeo/prepare-release-core-update branch from b6d5c6d to 22a9c75 Compare November 10, 2026 22:52
@tconley1428
tconley1428 merged commit 6547f47 into main Nov 12, 2026
33 of 36 checks passed
@tconley1428
tconley1428 deleted the amazzeo/prepare-release-core-update branch November 12, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR changes do not require changelog updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants