Skip to content

ref: Graduate organizations:on-demand-metrics-ui to a plan feature#119152

Draft
cvxluo wants to merge 2 commits into
masterfrom
claude-rm-on-demand-metrics-ui-registration
Draft

ref: Graduate organizations:on-demand-metrics-ui to a plan feature#119152
cvxluo wants to merge 2 commits into
masterfrom
claude-rm-on-demand-metrics-ui-registration

Conversation

@cvxluo

@cvxluo cvxluo commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Graduate organizations:on-demand-metrics-ui: move its registration from temporary.py (FLAGPOLE) to permanent.py (INTERNAL, api_expose=True, self-hosted default False), so it is provided by subscription plans via getsentry's SubscriptionPlanFeatureHandler instead of a flagpole rollout flag.

No frontend change: the UI keeps checking organization.features.includes('on-demand-metrics-ui'); the value now comes from the plan. Current audience (am2 business/enterprise) is preserved.

Companion PRs — deploy in this order: getsentry/getsentry#20970 (adds the plan handler; must deploy first) → this PR (flips to INTERNAL) → getsentry/sentry-options-automator#8556 (removes the flagpole config).

Remove the graduated on-demand-metrics-ui feature flag registration. The
flag was enabled at 100% rollout in the automator since 2023-11-17 and its
last code reference is removed in #119151.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G1DLs4ea5m1WccYABmGArV
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 7, 2026
Re-register the graduated flag as INTERNAL (api_expose) in permanent.py so it
is provided by subscription plans via getsentry's SubscriptionPlanFeatureHandler,
instead of the flagpole rollout flag removed from temporary.py.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G1DLs4ea5m1WccYABmGArV
@cvxluo cvxluo changed the title ref: Remove organizations:on-demand-metrics-ui registration ref: Graduate organizations:on-demand-metrics-ui to a plan feature Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants