Repository navigation
feat: add immutable beta-to-prod release rings - #10068
Git-on-my-level wants to merge 2 commits into
Conversation
…ion, unified rollback) Adds internal maintainer doc docs/runbooks/release-process.md documenting the release philosophy and target process for issue #10049: build once on main, promote immutable image digests through the beta ring (real beta-channel users, shared data stores and GPU fleet) to prod behind a GitHub environment gate, with rollback as deploying an older release record through the identical deploy path. Adds a concise release-engineering bullet to AGENTS.md pointing at it. Kept out of the public Mintlify site deliberately — this is maintainer process, not user documentation. Docs-only change; no behavior or tests affected. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Consolidated into #10090 — all 4 release-rings PRs merged sequentially with co-authorship preserved. |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
#10090) Consolidates 4 sequential release-rings PRs by @Git-on-my-level into one mergeable branch. ## Product invariants affected - INV-AUTH-1 **Merged in order:** - #10068: feat: add immutable beta-to-prod release rings (foundation) - #10065: release: add audited macOS beta emergency forward-promotion lane - #10086: feat(release): make beta overrides explicit and dispatch reliable (closes #10082) - #10075: fix(release): verify atomic recovery across GKE and Cloud Run Co-authored-by: Git-on-my-level <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10090?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> ## Failure class (fixes) Failure-Class: FC-nonrecoverable-promotion
…le beta-to-prod release rings
…rdware#10065 BasedHardware#10086 BasedHardware#10075) (BasedHardware#10090) Consolidates 4 sequential release-rings PRs by @Git-on-my-level into one mergeable branch. ## Product invariants affected - INV-AUTH-1 **Merged in order:** - BasedHardware#10068: feat: add immutable beta-to-prod release rings (foundation) - BasedHardware#10065: release: add audited macOS beta emergency forward-promotion lane - BasedHardware#10086: feat(release): make beta overrides explicit and dispatch reliable (closes BasedHardware#10082) - BasedHardware#10075: fix(release): verify atomic recovery across GKE and Cloud Run Co-authored-by: Git-on-my-level <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/10090?utm_source=github" target="_blank" rel="noopener noreferrer" data-no-image-dialog="true"><picture><source media="(prefers-color-scheme: dark)" srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img alt="Review in cubic" src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a> <!-- End of auto-generated description by cubic. --> ## Failure class (fixes) Failure-Class: FC-nonrecoverable-promotion
Summary
api-beta.omi.me, pin runtime config and Secret Manager versions, and use a beta full-route transcription probe before promotion.Closes #10049
Root cause and durable guard
Release state was assembled from mutable workflow inputs and service-local deployment paths, so a rollback could not restore the exact serving configuration. Release records now contain immutable image digests, materialized config objects, numeric secret versions, and topology; the record-only workflow validates them before mutation and snapshots/restores on deterministic failure. Static release-ring and deployment-concurrency checks prevent a later workflow drift from restoring an arbitrary-ref production path.
Product invariants affected
The beta build identity is compile-time controlled and only changes backend routing; it does not alter authentication/session semantics.
Verification
uv run --with pytest --with pyyaml pytest .github/scripts/test_check_release_rings.py backend/tests/unit/test_release_rings.py backend/tests/unit/test_render_release_ring_config.py backend/tests/unit/test_cloud_run_traffic_snapshot.pypython3 .github/scripts/check_release_rings.pypython3 .github/scripts/check-deployment-concurrency.pyactionlint .github/workflows/release-record.yml .github/workflows/deploy-release-ring.ymlmake preflightRollout notes
The repository workflow fails closed until the documented beta Cloud Run/GKE/DNS/certificate/identity prerequisites are provisioned. A first live beta release and rollback drill remain an operational rollout step; macOS remains explicitly roll-forward-only for installed clients.