Repository navigation
Add mobile store release-notes pipeline (fragments, gate, promote lane) - #18466
Merged
Git-on-my-level merged 1 commit intoSep 24, 2026
Merged
Git-on-my-level merged 1 commit into
Git-on-my-level merged 1 commit into
Conversation
Gate user-facing mobile edits with offline fragments and keep marketing-version release text intact across repeated collections. Add a confirmation-only store promotion lane that checks exact processed builds and public version floors. Verification: python3 .github/scripts/test_mobile_changelog.py (33 tests); python3 app/scripts/mobile_store_promote_test.py (9 tests); python3 .github/scripts/check-release-process-guards.py (passed). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Git-on-my-level
added a commit
that referenced
this pull request
Sep 24, 2026
…losure (#18480) ## What changed and why SCA-550: Production Pusher promotion failed after unrelated merges because it compared this protected run's checked-out `main` SHA with the older, development-qualified Pusher source SHA. All four canary errors in run 35963192878 followed from that identity mix-up. Bind production canary, semantic, and final receipts to the exact protected run's checkout while continuing to bind development qualification to its own source and immutable digest. Fail closed if the qualified source is not an ancestor or if the Dockerfile-derived Pusher source closure or chart changed. Bind the isolated pod, listener, and receipt to this run's ID and image digest. A separate one-line preflight contract correction accounts for the repository-wide `mobile-changelog-data` check introduced by #18466; the old docs-only selection expectation caused `make preflight` to fail on a clean base. ## Product invariants affected - INV-DATA-1 — existing production-family Firebase/data-plane authority is preserved; this change affects only Pusher deploy evidence, not client routing or customer identity. ## How it was verified - `make setup` — installed worktree hooks and the locked Python 3.11 backend environment. - `backend/test-preflight.sh` — 17 passed, 9 optional integration prerequisite warnings. - `backend/test.sh` with `BACKEND_UNIT_TEST_FILE_LIST` set to the three targeted Pusher test files — 76 passed. - `backend/.venv/bin/python -m pytest -q backend/tests/unit/test_verify_pusher_promotion_evidence.py backend/tests/unit/test_pusher_deployment_control_workflow.py backend/tests/unit/test_verify_pusher_source_closure.py` — 76 passed. - `actionlint -shellcheck "" .github/workflows/gcp_backend_pusher.yml` — passed. - `OMI_PR_BODY_FILE=pr-body-550.md make preflight` — 42 checks passed after both commits; `scripts/pr-preflight --lane local --pr-body-file pr-body-550.md --metadata-only` — four metadata checks passed. - Exercised the real verifier behavior with hermetic signed-identity-shaped receipts and an actual two-commit Git repository; accepted an unrelated `main` move, rejected a changed source closure and mismatched run, pod, or digest. The real production deploy was intentionally NOT run (coordinator-owned). ## Tests - `backend/tests/unit/test_verify_pusher_promotion_evidence.py`: moved-main success; source closure/ancestry failure; exact run/pod/digest refusal; canary and final phase with distinct development and production SHAs. - `backend/tests/unit/test_pusher_deployment_control_workflow.py`: production and final verifier calls pass this run's checked-out SHA while qualification and pre-mutation closure gates remain intact. - `.github/scripts/test_pr_preflight.py`: docs-only manifest contract includes the already mandatory mobile changelog data check. ## Failure class (fixes) Failure-Class: none ## New guards Run 35963192878 would have been caught by the moved-main and canary-source tests; the validation is Pusher-specific because it derives its comparison set from this service's Dockerfile and verifies its isolated canary receipt format, rather than defining a new generic release primitive. <!-- This is an auto-generated description by cubic. --> <a href="https://cubic.dev/pr/BasedHardware/omi/pull/18480?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. -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
noneexemption on PRs and main pushes; exact internal release-control paths remain exempt. This gate is mobile-specific rather than sharing the desktop guard because the mobile authoring root and release behavior differ; the PR-label/post-merge mismatch seen in desktop PRs fix(desktop): unblock the release lane — KG ResolveOutcome is Sendable #11373 and SCA-335: remove dead focus_sessions writer and PTT transcript cleanup #11778 is covered with offline fixtures.Failure-Class: none
Product invariants affected
Test plan
python3 .github/scripts/test_mobile_changelog.py(33 offline tests)python3 app/scripts/mobile_store_promote_test.py(9 offline tests)python3 .github/scripts/check-release-process-guards.pymake preflight(28 selected checks passed)Generated with Devin