fix(kit): map Play one-time product state - #268
Conversation
Honor modern Play purchase-option states during pull sync. Preserve explicit kit deletion intent while preventing upstream removals and unknown states from being repushed or deleted.
|
Caution The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughModern Google Play one-time product imports now map purchase-option states to kit states. Android synchronization now records store-reported removals as store-originated and preserves kit-authored removal behavior. Tests cover both state mapping and removal processing. ChangesAndroid product synchronization
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
bothsync cannot republish an unavailable productSafety
ACTIVEoption keeps the product ActiveINACTIVEandINACTIVE_PUBLISHEDmap to RemovedDRAFToption set maps to DraftTest plan
Preview
No recording is applicable because this changes server-side Play catalog state mapping. The unit tests cover the state matrix and the same-job removal selector behavior.
Summary by CodeRabbit