Skip to content

feat: add immutable beta-to-prod release rings - #10068

Closed
Git-on-my-level wants to merge 2 commits into
mainfrom
codex/release-rings-v1-current
Closed

Git-on-my-level wants to merge 2 commits into
mainfrom
codex/release-rings-v1-current

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Jul 19, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add immutable, deployable release records and serialized beta-to-prod deployment/rollback workflows for the v1 stateless service ring.
  • Route beta desktop/mobile builds to api-beta.omi.me, pin runtime config and Secret Manager versions, and use a beta full-route transcription probe before promotion.
  • Guard legacy production deployment paths, record recovery evidence, and document the required external ring provisioning.

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

  • INV-AUTH-1

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.py
  • Focused Flutter beta-routing tests and macOS API routing tests.
  • python3 .github/scripts/check_release_rings.py
  • python3 .github/scripts/check-deployment-concurrency.py
  • actionlint .github/workflows/release-record.yml .github/workflows/deploy-release-ring.yml
  • make preflight

Rollout 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.

Review in cubic

Git-on-my-level and others added 2 commits July 20, 2026 04:49
…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]>
@mintlify

mintlify Bot commented Jul 19, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
omi 🟢 Ready View Preview Jul 19, 2026, 10:49 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@mintlify

mintlify Bot commented Jul 19, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
omi 🟡 Building – Jul 19, 2026, 10:48 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@undivisible

Copy link
Copy Markdown
Collaborator

Consolidated into #10090 — all 4 release-rings PRs merged sequentially with co-authorship preserved.

@github-actions

Copy link
Copy Markdown
Contributor

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:

  • Project standards — Ensuring consistency across the codebase
  • User needs — Making sure changes align with what our users need
  • Code best practices — Maintaining code quality and maintainability
  • Project direction — Keeping aligned with our product principles and locked invariants

Before your next PR, please skim:

  • PRODUCT.md — product north star
  • Product invariants — locked rules (shared chat, memory tiers, agent control plane, integrations, brand)

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!

Git-on-my-level pushed a commit that referenced this pull request Jul 20, 2026
Git-on-my-level added a commit that referenced this pull request Jul 20, 2026
#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
@undivisible
undivisible deleted the codex/release-rings-v1-current branch August 20, 2026 13:18
undivisible added a commit to undivisible/omi that referenced this pull request Sep 29, 2026
undivisible pushed a commit to undivisible/omi that referenced this pull request Sep 29, 2026
…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

This branch was successfully deployed

1 active deployment
staging - docs — 52c1920d Deployed Jul 19, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(release): stateless release rings v1 — build once, promote digests beta → prod, rollback = deploy older record

2 participants