Repository navigation
Conversation
…ckend Mobile no longer sells Kilo Pass (#7294, #7304), and the store products are removed from sale. This commit removes the backend that completed, verified, and reconciled Kilo Pass store subscriptions. - Delete kiloPass.getMobileStoreProducts, completeAppStorePurchase, and completePlayPurchase, the Kilo Pass store verifiers, subscription completion, Play subscription state and duplicate handling, the reconcile cron, the store money helpers, and two one-off scripts. - The App Store and Play notification routes stay. They acknowledge and ignore every Kilo Pass subscription notification, so the stores stop retrying. Credit-pack consumption, refund, and restore paths do not change. - The shared Apple transaction decoder moves to apple-store-sdk.ts, because the credit-pack verifier still uses it. - Historical store rows and their readers stay. No migration.
…o-pass-backend # Conflicts: # .specs/kilo-pass.md # apps/web/src/lib/kilo-pass/google-play-notifications.test.ts # apps/web/src/lib/kilo-pass/store-subscription-completion.test.ts # apps/web/src/routers/kilo-pass-router.test.ts # apps/web/src/routers/kilo-pass-router.ts
Code Review SummaryStatus: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Everything else in this retirement PR checks out: the App Store and Google Play ack-and-ignore branches still leave the credit-pack Files Reviewed (42 files)
Fix these issues in Kilo Cloud Reviewed by deepseek-v4.1-flash · Input: 219.2K · Output: 24.8K · Cached: 2.3M Review guidance: REVIEW.md from base branch |
…-Org/cloud into igor/remove-store-kilo-pass-backend
…o-pass-backend # Conflicts: # .kilo/skills/kilo-mcp/SKILL.md # .specs/kilo-pass.md # apps/web/src/lib/kilo-pass/apple-store-notifications.test.ts # apps/web/src/lib/kilo-pass/apple-store-notifications.ts # apps/web/src/lib/kilo-pass/google-play-notifications.test.ts # apps/web/src/lib/kilo-pass/google-play-notifications.ts # apps/web/src/lib/kilo-pass/google-play-subscription-state.ts # apps/web/src/lib/kilo-pass/store-subscription-completion.test.ts # apps/web/src/lib/kilo-pass/store-subscription-completion.ts # apps/web/src/lib/kilo-pass/store-subscription-reconcile.test.ts # apps/web/src/lib/kilo-pass/store-subscription-reconcile.ts
Warning
Do not merge before both conditions are true:
app_storeorgoogle_playKilo Pass row for an account that is not blocked.app_min_versionsis raised to the mobile release that contains refactor(mobile): remove in-app Kilo Pass subscription purchase code #7304. Older builds still callkiloPass.getMobileStoreProducts.Summary
This PR is the last step of retiring Kilo Pass store subscriptions. Before it: #7294 stopped in-app sales, #7304 removed the mobile purchase code, and the App Store and Play products are removed from sale.
Removed:
kiloPass.getMobileStoreProducts,completeAppStorePurchase,completePlayPurchase, andisNativeIapMutationAllowedChanged:
CONSUMPTION_REQUEST,REFUND,REVOKE, andREFUND_REVERSED, and Play voided one-time product refunds.apple-store-sdk.ts, because the credit-pack verifier still uses it.Kept:
kiloPass.getPurchasePresentation, because shipped clients still call itVerification
tsgopassed forweb,kilo-app, andapp-shared.src/lib/credits, thekilo-passandcreditsrouters, the Apple and Play SDKs, and PostHog tracking.commercetests passed. The mobilecheck:unusedpassed.oxlintpassed on the changed files.Visual Changes
N/A
Reviewer Notes
kniprun reports old unused exports across the repo. No CI job checks web exports, so this PR does not touch them.