Repository navigation
Conversation
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.
Independent adversarial review: APPROVEFrom: Claude 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. 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 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 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:
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. |
|
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 |
|
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. |
Independent adversarial review: APPROVEFrom: Claude 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. 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. |
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:
.nameof v1 enum members, from refactor(types,desktop): generalize healthcare/clinic core contracts and policies #2487's reordering.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.tomlversion, the CHANGELOG entry anduv.lock.