Skip to content

chore(source-map-processing-errors): Emitting metric irrespective of …#115661

Merged
Abdkhan14 merged 1 commit into
masterfrom
abdk/source-map-metrics
May 15, 2026
Merged

chore(source-map-processing-errors): Emitting metric irrespective of …#115661
Abdkhan14 merged 1 commit into
masterfrom
abdk/source-map-metrics

Conversation

@Abdkhan14
Copy link
Copy Markdown
Contributor

Move the processing_errors.sourcemap_configuration.event_with_errors metric emission above the organizations:sourcemap-issue-detection feature flag gate in _detect_for_config, so it fires for every org that ingests a JS event with a sourcemap processing error — not just internal Sentry orgs

The detector flow itself (ensure_detector, process_detectors, DetectorState writes, IssueOccurrence creation, refresh task updates) is still gated on the feature flag exactly as before, so no hidden issues get created for non‑enrolled orgs.

@Abdkhan14 Abdkhan14 requested a review from a team as a code owner May 15, 2026 19:05
@Abdkhan14 Abdkhan14 requested a review from wedamija May 15, 2026 19:05
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label May 15, 2026
Copy link
Copy Markdown
Member

@wedamija wedamija left a comment

Choose a reason for hiding this comment

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

Ahh, this explains what's going on here better, since these flags are only available on our org

@Abdkhan14 Abdkhan14 enabled auto-merge (squash) May 15, 2026 19:12
@Abdkhan14 Abdkhan14 merged commit 65b4076 into master May 15, 2026
64 checks passed
@Abdkhan14 Abdkhan14 deleted the abdk/source-map-metrics branch May 15, 2026 19:21
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