Skip to content

fix(profiling): Validate profiler IDs before chunk queries - #122109

Draft
cvxluo wants to merge 1 commit into
masterfrom
cvxluo/validate-profiler-ids-before-chunk-queries
Draft

fix(profiling): Validate profiler IDs before chunk queries#122109
cvxluo wants to merge 1 commit into
masterfrom
cvxluo/validate-profiler-ids-before-chunk-queries

Conversation

@cvxluo

@cvxluo cvxluo commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Unfortunately this endpoint is a little sparse on types since we're retrieving things from vroom, but we should probably return a 400 instead of a 500 when someone passes an invalid UUID.

Fixes SENTRY-5N33

Chunk endpoints passed arbitrary strings to Snuba UUID columns.

Malformed input then surfaced as an internal query error.

Validate and canonicalize the identifier at the API boundary and publish its UUID format.

Fixes SENTRY-5N33

Co-authored-by: Codex <noreply@openai.com>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Aug 14, 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.

1 participant