Skip to content

Conversation

lovrocolic
Copy link
Collaborator

Context

Currently cascade feature targets all overridden plans even if linked subscription is terminated

Description

Described scenario can lead to performing unnecessary cascading and this PR fixes it

@lovrocolic lovrocolic requested a review from vincent-pochet July 7, 2025 10:40
Copy link
Contributor

@groyoh groyoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we include pending as well ?

@lovrocolic
Copy link
Collaborator Author

Shouldn't we include pending as well ?

That is true. Earlier today I was also double-checking it with Mike and we also concluded that it makes sense to include pending ones.
PR is updated

Copy link
Contributor

@julienbourdeau julienbourdeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this could be a scope in the model

@lovrocolic lovrocolic force-pushed the fix-cascade-application branch from b1528ff to f53d8f7 Compare July 7, 2025 14:12
@lovrocolic
Copy link
Collaborator Author

Maybe this could be a scope in the model

There is difference between plan and charge query, but you are right that charge one can use the scope 👍 Will open another PR with scope and proper tests for the scope

@lovrocolic lovrocolic merged commit 0be6f55 into main Jul 8, 2025
14 checks passed
@lovrocolic lovrocolic deleted the fix-cascade-application branch July 8, 2025 10:14
diegocharles pushed a commit that referenced this pull request Jul 11, 2025
…ub (#3934)

## Context

Currently cascade feature targets all overridden plans even if linked
subscription is terminated

## Description

Described scenario can lead to performing unnecessary cascading and this
PR fixes it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants