Repository navigation
fix(release): verify atomic recovery across GKE and Cloud Run - #10075
Git-on-my-level wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c7a56928e9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
c7a5692 to
28cd245
Compare
Restore the complete pre-mutation serving vector after a failed release ring and verify convergence rather than trusting command success. - Snapshot and restore GKE ConfigMaps plus Helm release revisions/manifests, with read-back checks. - Verify restored Cloud Run traffic, remove candidate tags, and delete first-time services during recovery. - Fail closed on recovery divergence and preserve the pre-mutation active release pointer using generation-aware updates. - Prevent manual-dispatch values from being interpolated directly into shell commands. - Resolve observed (status.traffic) rather than requested (spec.traffic) on the post-restore read-back so a wedged Cloud Run service whose status.traffic still serves the candidate cannot be falsely reported as restored. Failure-Class: new
28cd245 to
64d23e6
Compare
|
Addressed the Codex P1 review on The post-restore read-back now resolves Added a regression test ( |
|
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! |
…covery across GKE and Cloud Run
#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
…ify atomic recovery across GKE and Cloud Run
…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
Follow-up to #10068. Restores the complete pre-mutation serving vector after a failed release ring and verifies convergence rather than trusting command success.
Verification
rtk proxy backend/.venv/bin/python -m pytest -q .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 backend/tests/unit/test_release_ring_gke_snapshot.py— 25 passedrtk python3 .github/scripts/check_release_rings.py— passedrtk python3 .github/scripts/check-deployment-concurrency.py— passedProduct invariants affected
Failure class
Failure-Class: FC-nonrecoverable-promotion
The release must preserve and restore the pre-promotion serving vector until the complete candidate is verified.