[PM-33505] feat: Add MobilePremiumUpgrade feature flag#6655
Conversation
|
Claude finished @SaintPatrck's task in 2m 36s —— View job I'll analyze this and get back to you. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6655 +/- ##
==========================================
+ Coverage 85.80% 86.42% +0.62%
==========================================
Files 848 789 -59
Lines 58851 56809 -2042
Branches 8351 8310 -41
==========================================
- Hits 50497 49098 -1399
+ Misses 5455 4827 -628
+ Partials 2899 2884 -15
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Code Review SummaryPR: PM-33505 feat: Add MobilePremiumUpgrade feature flag OverviewThis PR adds a new MobilePremiumUpgrade feature flag to gate the premium upgrade flow. The flag is registered in activePasswordManagerFlags, added to the debug menu, and has a corresponding test. The structure follows the established pattern. CRITICAL: keyName mismatch between implementation and testFiles: FlagKey.kt line 115 vs FlagKeyTest.kt line 41 The implementation defines:
But the test asserts:
These are entirely different strings. The test will fail. More importantly, it is unclear which value is the correct LaunchDarkly key. Please verify against the LaunchDarkly configuration and update whichever side is wrong. SUGGESTED: Casing conventionFile: FlagKey.kt line 115 All other PM-prefixed flag keys in this file use lowercase prefixes:
The new key uses uppercase: PM-31697-premium-upgrade-path. If the LaunchDarkly key is truly cased this way, this is fine, but it breaks the established convention. |
|
Great job! No new security vulnerabilities introduced in this pull request |
9e13eb8 to
94f10ee
Compare
Code Review SummaryPR: PM-33505 feat: Add MobilePremiumUpgrade feature flag OverviewThis PR adds a new Correction from previous reviewThe previous review flagged a CRITICAL keyName mismatch between FindingsSUGGESTED: Casing convention for keyName (retained from previous review) All other PM-prefixed flag keys in
The new key uses uppercase: VerdictClean PR. Follows established patterns, includes appropriate test coverage, and is purely additive. Approving. |

🎟️ Tracking
PM-33505
📔 Objective
Add
MobilePremiumUpgradefeature flag toFlagKey.ktand register it inactivePasswordManagerFlags. This is the foundation flag that gates the entire premium upgrade flow. Default is off; controlled via LaunchDarkly.