v0.51.546 — Release TE (fix flaky gateway_sync test)
·
54 commits
to master
since this release
Release v0.51.546 — Release TE (fix a flaky gateway-sync CI test)
Ships #4566 (rodboev) — fixes the #4557 test_gateway_sync flake (which the maintainer filed). Test-infrastructure reliability only; no runtime behavior change.
Fixed
- Eliminated a non-deterministic CI test flake (#4557).
test_gateway_synccould intermittently fail (a session missing from/api/sessions) when a settings-visibility toggle rewrote the settings file inside the samemtime_nsbucket, colliding two cache layers. The session-list cache source stamp now includes a monotonic per-process settings-write counter, and the model-layer CLI-sessions cache is flushed on the visibility toggle. Thanks @rodboev.
Gate
- Full pytest suite: 9851 passed, 0 failed
- CI shard-2 replay (where #4557 flaked) × 3 consecutive runs: 0 failures — empirical confirmation the flake is killed
- Codex: SAFE TO SHIP (cache-key widening arity-consistent, no multi-worker invalidation regression, lock correct, no runtime change)
- Opus: SAFE — SHIP
Closes #4557.