Skip to content

ref(workflow_engine): Drop the coarse metric detector creation pre-check - #122382

Merged
RudraPatel2003 merged 1 commit into
rudra-org-inc-backend-5from
rudra-org-inc-backend-6
Aug 24, 2026
Merged

ref(workflow_engine): Drop the coarse metric detector creation pre-check#122382
RudraPatel2003 merged 1 commit into
rudra-org-inc-backend-5from
rudra-org-inc-backend-6

Conversation

@RudraPatel2003

@RudraPatel2003 RudraPatel2003 commented Aug 20, 2026

Copy link
Copy Markdown
Member

The organizations:incidents flag is being made available to all plans. This PR is one of many to remove checks for this flag around the codebase.

Fixes ISWF-3270

The POST handler short-circuited with a payment-options 400 when the org lacked the flag. Its own comment noted this was a coarse pre-check, and MetricIssueDetectorValidator.validate still calls _validate_metric_subscription_allowed for every data source, so disallowed datasets are still rejected with a dataset-specific 400.
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 20, 2026
@linear-code

linear-code Bot commented Aug 20, 2026

Copy link
Copy Markdown

ISWF-3270

@RudraPatel2003
RudraPatel2003 marked this pull request as ready for review August 24, 2026 17:22
@RudraPatel2003
RudraPatel2003 requested a review from a team as a code owner August 24, 2026 17:22
@RudraPatel2003
RudraPatel2003 merged commit 01b131f into master Aug 24, 2026
55 of 56 checks passed
@RudraPatel2003
RudraPatel2003 deleted the rudra-org-inc-backend-6 branch August 24, 2026 18:28
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