Skip to content

Add mobile store release-notes pipeline (fragments, gate, promote lane) - #18466

Merged
Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:feat/mobile-release-notes
Sep 24, 2026
Merged

Git-on-my-level merged 1 commit into
BasedHardware:mainfrom
Git-on-my-level:feat/mobile-release-notes

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add durable mobile release-note fragments and mergeable marketing-version collections, deriving bounded iOS and Android text only when needed.
  • Require a deterministic, app-scoped fragment or none exemption 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.
  • Add a manual-only Codemagic lane for promoting exact existing, processed iOS and alpha Android builds with roll-forward public-version checks; do not modify current build lanes.

Failure-Class: none

Product invariants affected

  • INV-AUTH-1
  • INV-DATA-1
  • INV-BETA-1

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.py
  • make preflight (28 selected checks passed)
  • Codemagic live store promotion deliberately not invoked (manual operator confirmation is required)

Generated with Devin

Review in cubic

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
Git-on-my-level merged commit 20d6777 into BasedHardware:main Sep 24, 2026
36 checks passed
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. -->
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.

1 participant