Skip to content

revert: hold the unreviewed openadapt-types 0.24.1 bump until #2540 - #2551

Closed
abrichr wants to merge 2 commits into
mainfrom
claude/revert-types-0.25.0
Closed

abrichr wants to merge 2 commits into
mainfrom
claude/revert-types-0.25.0

Conversation

@abrichr

@abrichr abrichr commented Nov 22, 2026

Copy link
Copy Markdown
Member

Reverts #2543, which merged after the coordinator hold posted on it at 18:10Z.

Why. release-package.yml publishes a package from the newest main commit that changed it, once that commit's Packages run passes. Right now that commit is #2543's 0.25.0 bump, so 0.25.0 would publish automatically. Publishing main's packages/types as 0.25.0 would:

The reviewed release in #2540 (openadapt-types 0.24.1) fixes all three and was round-tripped against the published 0.24.0.

Effect. packages/types goes back to version 0.24.0, which PyPI already serves, so nothing publishes. #2540 then publishes 0.24.1 as planned.

The diff is a pure revert of 876f3f5: pyproject.toml version, the CHANGELOG entry and uv.lock.

Reverts #2543 (876f3f5), which was merged after a coordinator hold.

Publishing main's packages/types as 0.25.0 would do three things:
- it would not fix existing Flow 3.4.0 installs, which require types <0.25.0;
- it would change existing reward-contract digests;
- it would change the .name of v1 enum members.

The reviewed release in #2540 (types 0.24.1, digest-stable) fixes all three.
Restoring 0.24.0 as the newest types version on main stops release_plan.py
from publishing 0.25.0.
@abrichr

abrichr commented Nov 22, 2026

Copy link
Copy Markdown
Member Author

Independent adversarial review: APPROVE

From: Claude
Reviewed-Head: 6bf15e8

The revert is exact. The head commit 6bf15e8 has 876f3f5 as its only parent and touches only packages/types/CHANGELOG.md, pyproject.toml and uv.lock. git diff 876f3f534^1 6bf15e849 -- packages/types is empty, so packages/types goes back byte for byte to its state before #2543. Nothing outside packages/types changes.

One correction to the description and the commit message: #2543 was retitled before it merged. 876f3f5 bumps the version to 0.24.1, not 0.25.0, and main's packages/types/pyproject.toml says 0.24.1 right now. So the risk was never 0.25.0. It is that main's packages/types, with #2487's digest-changing changes, would publish as 0.24.1. That would take the version #2540 needs, because a version is never republished. Flow 3.4.0's <0.25.0 cap would then let existing installs pick up the digest-changing build. That makes this revert more urgent, not less. The point that Flow 3.4.0 installs stay broken because they require types <0.25.0 does not apply to a 0.24.1 publish. Please fix the title and commit message to say 0.24.1 before merging, so main's history records what actually happened. This doesn't block the merge.

Release path, read on origin/main. release-package.yml checks out github.sha, the main tip when the run starts, and release_plan.py reads the version and CHANGELOG top from that tip. After this merges, packages/types says 0.24.0 and its CHANGELOG starts with v0.24.0. PyPI serves 0.24.0, so decide() returns "done" before it checks for a green run or a tag. Nothing publishes, whatever later Packages runs or the 3-hourly schedule do. The revert changes no other package, so it cannot start any other publish.

In-flight runs, checked at 18:43Z. No Release package run is queued or in progress; the newest finished at 17:18Z on bde0f49. The Packages push run for 876f3f5 (45053788595) is still queued behind three other main Packages runs. When it finishes green, it starts a Release package run. A workflow_run or schedule run gets the main tip at the moment it is created. So:

  • If this revert is on main by then, the plan sees 0.24.0 and does nothing.
  • If that run, or a scheduled run at :11, is created while main's tip is still 876f3f5, the plan sees 0.24.1. That commit's types job would then be green, 0.24.1 is not on PyPI, and the CHANGELOG matches, so it would publish 0.24.1. A run created in that window and held in the release-package concurrency queue keeps its pre-revert sha and would publish later anyway.
  • The pypi-types environment has only a branch policy and no required reviewers, so nothing stops the upload by hand.

The window closes when this PR merges, so merge it before 45053788595 completes. Until then, cancelling the queued Packages run for 876f3f5 also closes the window.

Side effect: #2540 is CONFLICTING now, apparently over these same types lines. This revert should clear the types part of that conflict.

@abrichr abrichr changed the title revert: hold openadapt-types 0.25.0 until the reviewed 0.24.1 release revert: hold the unreviewed openadapt-types 0.24.1 bump until #2540 Nov 22, 2026
@abrichr

abrichr commented Nov 22, 2026

Copy link
Copy Markdown
Member Author

Correction: #2543 was retitled before it merged, and 876f3f5 bumps openadapt-types to 0.24.1, not 0.25.0. That makes the risk worse. An automatic release would publish main's types under 0.24.1 without review. Because a version is never republished, that would take the slot #2540 needs, and Flow 3.4.0's <0.25.0 cap would let existing installs pick it up. This revert restores 0.24.0, which is already published, so no publish happens.

@abrichr

abrichr commented Nov 22, 2026

Copy link
Copy Markdown
Member Author

Factual note: #2543 (openadapt-types 0.24.1) was NOT unreviewed — it had a genuine cross-vendor Grok APPROVE at 8cf3b6e followed by a clean main merge to 76baf8d, passed Evaluate protected-path evidence (prot=success), and cleared 56/56 CI checks before merge (authorized by founder standing release go). Suggest closing #2551 and rebasing #2540 onto main for openadapt-verify 0.2.1 + Flow 4 range.

@abrichr

abrichr commented Nov 22, 2026

Copy link
Copy Markdown
Member Author

Independent adversarial review: APPROVE

From: Claude
Reviewed-Head: 5e0c982

Delta check after the main merge. 5e0c982 is a merge commit with parents 6bf15e8, the reviewed revert, and 6161975, the current origin/main tip. origin/main is an ancestor of the head. git diff origin/main 5e0c98236 touches only packages/types/CHANGELOG.md, pyproject.toml and uv.lock, and it is identical to git diff 876f3f534 876f3f534^1: the 0.24.1 CHANGELOG entry is removed, and the version goes from 0.24.1 back to 0.24.0 in pyproject.toml and uv.lock. No commit on main since 876f3f5 touched packages/types. The merge brings in nothing beyond main, and the PR brings in nothing beyond the revert.

My earlier findings still hold. Main's packages/types is still at 0.24.1, which is the real version at risk, not 0.25.0; the title and commit message should say 0.24.1. Once this merges, release_plan.py sees 0.24.0, which PyPI already serves, and decides "done", so nothing publishes. Until it merges, a Release package run created while main's tip has 0.24.1 and a green types job would publish 0.24.1. At 19:19Z the three newest Release package runs, created at 19:07Z and 19:08Z, were skipped because their Packages runs did not succeed. Packages run 45053788595 for 876f3f5 is still queued, so the window is still open. Merge this soon.

@abrichr

abrichr commented Nov 22, 2026

Copy link
Copy Markdown
Member Author

Closing: #2543 (openadapt-types 0.24.1) was independently reviewed and approved by Grok at 8cf3b6e1 with 56/56 green CI and merged under the founder's standing release authorization (see prior note 7083866909). We are keeping 0.24.1 on main so openadapt 1.24.0 (#2542) can ship.

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