Skip to content

feat(billing): use Subscription.orgRetention in customerOverview#103124

Merged
vbro merged 2 commits intomasterfrom
vbro_use_orgretention_in_cust_overview
Nov 25, 2025
Merged

feat(billing): use Subscription.orgRetention in customerOverview#103124
vbro merged 2 commits intomasterfrom
vbro_use_orgretention_in_cust_overview

Conversation

@vbro
Copy link
Copy Markdown
Contributor

@vbro vbro commented Nov 11, 2025

@vbro vbro requested a review from a team November 11, 2025 00:31
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 11, 2025
{customer.dataRetention || '90d'}
{customer.orgRetention?.standard
? `${customer.orgRetention?.standard}d`
: '90d'}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what's the reason we fallback to 90d?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch. This is actually an existing bug, because we show 90-day retention for free orgs.
It should fall back to the errors retention for the org (all plans have DataCategory.ERROR), and then perhaps fall back to 90.

@vbro vbro requested a review from a team as a code owner November 20, 2025 21:55
@vbro vbro requested a review from a team November 20, 2025 21:55
@vbro vbro requested review from a team as code owners November 20, 2025 21:55
@vbro vbro requested a review from a team November 20, 2025 21:55
@vbro vbro requested review from a team as code owners November 20, 2025 21:55
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 20, 2025
@github-actions
Copy link
Copy Markdown
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

@vbro vbro force-pushed the vbro_use_orgretention_in_cust_overview branch from d98ac3d to 04ad2e9 Compare November 20, 2025 22:02
Base automatically changed from vbro_add_orgretention_to_subscription to master November 20, 2025 22:04
@vbro vbro force-pushed the vbro_use_orgretention_in_cust_overview branch from 04ad2e9 to 1080a50 Compare November 20, 2025 22:19
@vbro vbro removed request for a team November 20, 2025 22:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants