Repository navigation
fix(billing): consistently name the current subscription Omi Pro - #24367
Merged
Merged
Conversation
There was a problem hiding this comment.
1 issue found across 7 files
Confidence score: 3/5
- The catalog rename leaves
plan_name()resolvingunlimited_v2as “Unlimited” fromstorefront_copy_v1.json, so offer and current-subscription responses can show inconsistent plan names. Update the v2 storefront copy to match the catalog.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="backend/config/plan_catalog.json">
<violation number="1" location="backend/config/plan_catalog.json:482">
P1: This catalog rename does not update the v2 storefront: `plan_name()` still resolves `unlimited_v2` to `Unlimited` from `storefront_copy_v1.json`, so offer and current-subscription responses remain inconsistent. Update that override to `Omi Pro` as part of this change.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
| { | ||
| "id": "unlimited_v2", | ||
| "display_name": "Unlimited", | ||
| "display_name": "Omi Pro", |
There was a problem hiding this comment.
P1: This catalog rename does not update the v2 storefront: plan_name() still resolves unlimited_v2 to Unlimited from storefront_copy_v1.json, so offer and current-subscription responses remain inconsistent. Update that override to Omi Pro as part of this change.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. At backend/config/plan_catalog.json, line 482:
<comment>This catalog rename does not update the v2 storefront: `plan_name()` still resolves `unlimited_v2` to `Unlimited` from `storefront_copy_v1.json`, so offer and current-subscription responses remain inconsistent. Update that override to `Omi Pro` as part of this change.</comment>
<file context>
@@ -479,7 +479,7 @@
{
"id": "unlimited_v2",
- "display_name": "Unlimited",
+ "display_name": "Omi Pro",
"wire_aliases": [],
"wire_fallback_plan": "unlimited",
</file context>
Git-on-my-level
added a commit
that referenced
this pull request
Nov 2, 2026
…ame (#24378) Backend shard 4 rejects #24367's approved Unlimited → Omi Pro display rename because the legacy entitlement snapshot includes `definition.display_name`. The complete catalog diff in that PR is revision 12 → 13 and the `unlimited_v2` display name; its runtime change is the matching plan-card title. No price identity, allocation, feature, access rule, or billing behavior changed. Keep the original historical golden untouched and apply only the exact `unlimited_v2` / Unlimited → Omi Pro rename to the expected snapshot. The byte comparison still pins all fields, including the new display name, and each price's runtime resolver policy is compared against the same adjusted expectation. Arbitrary display-name changes still fail. Validation: `omi-heavy run -- nice -n 19 env BACKEND_UNIT_TEST_FILE_LIST=<entitlement-tests.txt> BACKEND_PYTEST_WORKERS=1 bash backend/test.sh` passed all 58 entitlement-version tests. A separate subscription-restructure shard with `BACKEND_PYTEST_MARK_EXPR='not integration'` passed all 36 tests, including the Omi Pro catalog title assertions. The complete standard pre-push gate passed, including the shared repository preflight, catalog compiler contract, Pyright, and the 58-test changed shard again. Luna round 1 returned SHIP with no findings. Exact head `2580a5913ebf0068a2694f0fda2c09f9197b28e9` reached terminal CI: 39 success, 25 skipped, 1 neutral in the full check rollup; no failures, pending or cancelled checks. No reruns were needed. This changes tests only; no endpoint or deployment is needed. Failure-Class: none This repairs a test expectation for an approved display-name change; it changes no product behavior or entitlement contract and preserves the complete legacy runtime snapshot guard.
Git-on-my-level
added a commit
that referenced
this pull request
Nov 2, 2026
#24367 bumped backend/config/plan_catalog.json to catalog_revision 13 and left the storefront_v2 goldens at 12, so test_storefront_presentation fails on main. Regenerated with UPDATE_STOREFRONT_GOLDENS=1; the only change in all 52 files is catalog_revision 12 -> 13. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 2, 2026
Git-on-my-level
added a commit
that referenced
this pull request
Nov 2, 2026
## What changed and why Refresh storefront snapshots from catalog revision 12 to 13 after #24367's approved Unlimited → Omi Pro display-name change. Update the Flutter fixture consumer's matching revision assertion so the mirrored fixtures keep parsing successfully. All 52 fixture payloads differ only in `catalog_revision`; every price, entitlement, policy and copy byte is unchanged. Add the required `kind: none` mobile changelog fragment for this internal test correction. ## Product invariants affected none ## How it was verified - A recursive comparison of #24367's canonical catalog found exactly the revision bump and display-name change. A separate byte audit pins every fixture change to `catalog_revision: 12 → 13`, permitting only the matching Dart assertion and internal-only fragment alongside it. - `BACKEND_UNIT_TEST_FILE_LIST=<storefront-list> BACKEND_PYTEST_WORKERS=4 bash backend/test.sh`: 345 passed. - `flutter test --concurrency=1 test/models/plan_storefront_test.dart`: 19 passed. - Local shard 4 was stopped after 65 files by the release coordinator's explicit ruling; it found an unchanged cap-snapshot concurrency assertion failure. Its one-worker retry through `backend/test.sh` passed all 38 tests. No cap-hold code, assertions or timing budgets were changed. - Full backend proof is the exact-head six-shard CI run. All six passed before the one-line Flutter assertion correction; the backend tree is identical, and the final-head full run remains the merge gate. Local tests ran serially through `omi-heavy` and `nice -n 19`. Normal push hooks remain enabled. ## Tests Existing regression checks: `test_golden_storefront_scenarios`, `test_localized_storefront_goldens`, and the Flutter storefront model suite. Complete payload, pricing, entitlement and parser rejection assertions remain intact. ## UI evidence UI-Evidence: none -- fixture metadata and a matching test assertion; no runtime UI change. ## Failure class (fixes) Failure-Class: none
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.
Current Omi Pro subscriptions still receive the retired Unlimited label from the backend catalog and two admin reporting mappings. Use Omi Pro consistently, regenerate the canonical catalog projection, and retain existing billed IDs and entitlements.
Validation: 71 backend subscription/catalog tests and 49 admin service tests passed. Catalog compatibility/freshness checks and
make preflightpassed. Mobile and web customer-facing name helpers already render Omi Pro. Stripe's current product name was independently corrected and read back in production; this PR carries the matching source labels.Failure-Class: none
This is a display-name correction. It does not alter billing, permissions, prices, checkout flow, or plan identifiers.