You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release gate deadlocks on a reporting storage contract bump (adcp 10.0.0b24 / storage 0.2.0b5) #1947
The companion release gate (scripts/check_companion_releases.py) cannot release a storage-contract bump on next. Each side waits for the other to publish first.
#1945 raised the reporting storage contract from 2 to 3 (adcp.reporting.ledger.storage_contract / adcp_reporting_storage.contract, migration 0009). Release PR #1946 (adcp 10.0.0-beta.24) merged, and its publish failed at the companion gate (run 45369898960):
adcp 10.0.0b24 + adcp-reporting-storage 0.2.0b4: companion smoke failed: ... adcp reads the ledger with storage contract 3 but the storage implements contract 2; the pair would fail every reporting turn
adcp 10.0.0b24 does not work with the published adcp-reporting-storage 0.2.0b4. Publish a companion release that matches this adcp's storage contract first.
The storage release (#1884, adcp-reporting-storage 0.2.0b5) cannot publish first either. gate_companion smokes the built storage wheel against the oldest and newest published adcp that its adcp>= floor accepts:
With the floor at >=10.0.0b4, it smokes against b4 and b23 (contract 2), and the smoke fails.
With the floor at >=10.0.0b24, no published adcp satisfies it, so the gate fails with "publish adcp first".
RELEASING.md says to publish storage first. docs/releasing.md says to publish adcp first. Neither order works. This is the first contract bump since the gate was added.
Fix
Add a coordinated-bump path to the storage gate. When the storage's floor adcp is not yet on PyPI, smoke the storage wheel against the adcp wheel built from the same release commit. That commit's root version must equal the floor, and the gate refuses otherwise. The published-adcp checks still run whenever a published adcp satisfies the floor. The gate still never publishes a pair whose contracts differ or that fails the PostgreSQL round-trip.
Activity
fix(release): let a storage contract bump pass the companion gate (#1948