Skip to content

Revert Customer Center hasActiveSubscription fix (accidentally merged in #6640) - #6677

Merged
facumenzella merged 1 commit into
mainfrom
facu/revert-cc-fix-from-6640
Apr 23, 2026
Merged

Revert Customer Center hasActiveSubscription fix (accidentally merged in #6640)#6677
facumenzella merged 1 commit into
mainfrom
facu/revert-cc-fix-from-6640

Conversation

@facumenzella

@facumenzella facumenzella commented Apr 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Reverts the SubscriptionDetailViewModel.hasActiveSubscription fix and its associated tests that were accidentally squash-merged into Add workflow-based paywall resolution for multipage paywalls #6640
  • Restores hasActiveSubscription to the original !customerInfoViewModel.subscriptionsSection.isEmpty check
  • Restores the original test setup in SubscriptionDetailViewModelTests

The changes from #6674 ended up squashed into #6640 and need to be reverted so they can land separately and deliberately.

Test plan

  • Existing SubscriptionDetailViewModelTests pass with the reverted logic

Note

Low Risk
Low risk revert that only changes the boolean used to classify customers as active vs not active in the Customer Center and updates the corresponding unit tests; main risk is behavior change for users with only expired subscriptions in subscriptionsSection.

Overview
Restores SubscriptionDetailViewModel.hasActiveSubscription to treat any non-empty subscriptionsSection as "active" (no longer checking isExpired).

Updates SubscriptionDetailViewModelTests to remove coverage for the reverted expired-subscription behavior and to set up "no active subscription" cases using an empty subscriptionsSection (adjusting related support-ticket visibility expectations accordingly).

Reviewed by Cursor Bugbot for commit c0fff23. Bugbot is set up for automated code reviews on this repo. Configure here.

Reverts the change to SubscriptionDetailViewModel.hasActiveSubscription
and its associated tests that were squash-merged into #6640. This restores
the original !subscriptionsSection.isEmpty check and the original test setup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@emerge-tools

emerge-tools Bot commented Apr 23, 2026

Copy link
Copy Markdown

📸 Snapshot Test

Base build not found

No build was found for the base commit e37356e. This is required to generate a snapshot diff for your pull request.

It's possible that you created a branch off the base commit before all of the CI steps have finished processing, e.g. the one that uploads a build to our system. If that's the case, no problem! Just wait and this will eventually resolve.


🛸 Powered by Emerge Tools

@facumenzella
facumenzella enabled auto-merge (squash) April 23, 2026 10:26
@facumenzella
facumenzella merged commit 5ddd825 into main Apr 23, 2026
14 of 26 checks passed
@facumenzella
facumenzella deleted the facu/revert-cc-fix-from-6640 branch April 23, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants