Keep the API serving through cohort rollout #1542

Merged
PlasticDigits merged 15 commits from fix/api-serving-continuity into main 2026-10-18 08:41:32 +00:00
Owner

The cohort rollout required stopping the API before the new schema was available. Serve the reviewed 67/68-compatible binary first, admit its replacement only after useful cached native quotes, then run the additive migration in a separate online job. Production API stop and protected-app cleanup are explicitly refused.

The image uses a process-owned startup admission latch; ongoing /ready-api remains dynamic, so transient quote loss cannot remove the sole API from proxy routing. The online job preserves original SQLx history, roles and semantic ACLs, uses a concurrent private snapshot and low lock/statement limits, and never restores the serving database. Exact-release worker bytes, deployment ownership, ambiguous acknowledgements, terminal receipts and credential cleanup remain bound.

Add fixed missing-prerequisite stages within the original eight-event request budget and correct the monitored hub-commit event. Neither change relaxes quotes or establishes the cause of earlier native503s. Consolidate the already-green #1540 browser clock/retry evidence here so one current-main branch carries the release; application price/campaign changes remain those merged in #1537.

Validation: 15 combined groups /126 checks pass on one unchanged compiled-input manifest. Every test process stayed below59s; compilation was separate. Paced handoff:106 total client calls,44 successful bidirectional native quotes, zero unexpected failures, actual block/checkpoint transfer and zero request-only LCD calls. Separate real online SQL rehearsal:134 runtime reader/writer iterations with zero errors, original history/ACL/roles preserved, lock refusal/retry/snapshot reuse and four actual permission denials. Normal human commits and repository hooks pass. See docs/qa/api-rolling-readiness/combined-local-results.json and docs/qa/issue-1211/online-owned-rehearsal.json.

  • Reviewed compatibility, startup admission, online migration and scoped release helpers; owned tests and documentation/agent invariants.
  • Existing deployed frontend price/campaign checks, explicitly scoped to frontend2df4a471 +restored backend0a3c2517; raw harness failures retained.
  • Exact merged Coolify rolling deployment, continuous API checks, online production migration and live digest/cohort checks.
  • Native live diagnosis/acceptance: earlier stress503 and restored-production missing observations remain FAIL/unresolved. This is not full#1505 acceptance.

No issue should close automatically. #1229 still requires governed chain migration (operator inbox card exists); third-party adapters/2.9% settlement in #1330 remain unimplemented; the full#1512 matrix remains incomplete. Related: #1206, #1211, #1229, #1330, #1505, #1512.

The cohort rollout required stopping the API before the new schema was available. Serve the reviewed 67/68-compatible binary first, admit its replacement only after useful cached native quotes, then run the additive migration in a separate online job. Production API stop and protected-app cleanup are explicitly refused. The image uses a process-owned startup admission latch; ongoing `/ready-api` remains dynamic, so transient quote loss cannot remove the sole API from proxy routing. The online job preserves original SQLx history, roles and semantic ACLs, uses a concurrent private snapshot and low lock/statement limits, and never restores the serving database. Exact-release worker bytes, deployment ownership, ambiguous acknowledgements, terminal receipts and credential cleanup remain bound. Add fixed missing-prerequisite stages within the original eight-event request budget and correct the monitored hub-commit event. Neither change relaxes quotes or establishes the cause of earlier native503s. Consolidate the already-green #1540 browser clock/retry evidence here so one current-main branch carries the release; application price/campaign changes remain those merged in #1537. Validation: 15 combined groups /126 checks pass on one unchanged compiled-input manifest. Every test process stayed below59s; compilation was separate. Paced handoff:106 total client calls,44 successful bidirectional native quotes, zero unexpected failures, actual block/checkpoint transfer and zero request-only LCD calls. Separate real online SQL rehearsal:134 runtime reader/writer iterations with zero errors, original history/ACL/roles preserved, lock refusal/retry/snapshot reuse and four actual permission denials. Normal human commits and repository hooks pass. See docs/qa/api-rolling-readiness/combined-local-results.json and docs/qa/issue-1211/online-owned-rehearsal.json. - [x] Reviewed compatibility, startup admission, online migration and scoped release helpers; owned tests and documentation/agent invariants. - [x] Existing deployed frontend price/campaign checks, explicitly scoped to frontend2df4a471 +restored backend0a3c2517; raw harness failures retained. - [ ] Exact merged Coolify rolling deployment, continuous API checks, online production migration and live digest/cohort checks. - [ ] Native live diagnosis/acceptance: earlier stress503 and restored-production missing observations remain FAIL/unresolved. This is not full#1505 acceptance. No issue should close automatically. #1229 still requires governed chain migration (operator inbox card exists); third-party adapters/2.9% settlement in #1330 remain unimplemented; the full#1512 matrix remains incomplete. Related: #1206, #1211, #1229, #1330, #1505, #1512.
Merge remote-tracking branch 'origin/main' into fix/api-serving-continuity
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was canceled
631a53f4ee
test: verify digest peer rate limit and clarify online rollout
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was canceled
9776a58c96
test: verify deployed price response races and reloads
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was canceled
d692bfce92
PlasticDigits force-pushed fix/api-serving-continuity from d692bfce92
Some checks failed
ci/woodpecker/pr/woodpecker Pipeline was canceled
to b9dbd815ba
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2026-10-18 08:18:10 +00:00
Compare
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/cl8y-dex-terraclassic!1542
No description provided.