fix: reconcile hidden charge base intents#4677
Conversation
📝 WalkthroughWalkthroughThis PR adds a ChangesHidden-target rejection and base-intent bypass
Estimated code review effort: 4 (Complex) | ~60 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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
Root Cause
Subscription sync still owns the base/source intent even after an API edit creates a customer-facing override. Follow-up sync patches such as cancellation shrink/delete were entering the effective charge state machine, which correctly saw the override-backed charge as deleted and rejected the base-layer reconciliation.