github getsentry/sentry 26.5.2

12 hours ago

New Features ✨

Admin

Api

  • Union response annotations with plugin narrowing + relaxed linter by @azulus in #116659
  • Add [T] to 33 Serializer subclasses by @azulus in #116629
  • Add Serializer[T] generic; pilot on environments by @azulus in #116538
  • Opt 43 endpoints into Response[T] typed bodies by @azulus in #116433
  • Type @extend_schema responses via Response[T] stub + linter by @azulus in #116335

Api Docs

Autofix

Bitbucket Server

Cells

Conversations

Dynamic Sampling

Eslint

Explore

Issues

Jira

Msteams

Ourlogs

Preprod

Repositories

Seer

Workflow Engine

Other

Bug Fixes 🐛

Aci

Api Logs

Eap

Feedback

  • Remove extra padding from LayoutGrid component by @sentry-junior in #116377
  • Make UserReport name and email nullable by @TkDodo in #116362

Integrations

Issues

Logs

Metrics

Preprod

Replays

Workflows

  • Rule deletion shouldn't automatically result in Workflow deletion by @kcons in #116537
  • Update Workflows with org-scoped envs when transfered with a project by @kcons in #116239

Other

  • (alerts) Fall through to issue alert handler by @ceorourke in #116241
  • (api) Rename duplicated event reprocessable URL by @cvxluo in #116395
  • (api-docs) Improve flamegraph endpoint description by @cvxluo in #116633
  • (autofix) Set default stopping point based on preferences by @Zylphrex in #116340
  • (ci) Revert parallel devservices startup for backend tests by @mchen-sentry in #116648
  • (conversations) Use 24h statsPeriod on detail page back link by @obostjancic in #116361
  • (dashboards) Move global filter loading spinner to dropdown footer by @DominikB2014 in #116342
  • (data-scrubbing) Stop source field suggestion scroll from crashing by @scttcper in #116653
  • (discord) Route App Directory install through API pipeline modal by @evanpurkhiser in #116375
  • (discover) Link issue event ids directly by @scttcper in #116507
  • (dynamic-sampling) Exclude zero-volume projects from project balancing by @shellmayr in #116572
  • (events) Don't default the seer referrers by @wmak in #116704
  • (eventstream) Guard against None entries in exception values list by @roggenkemper in #116511
  • (explore) Y-axis formatting decimal truncation for heatmaps by @nikkikapadia in #116144
  • (forms) Surface backend error messages in AutoSaveForm by @malwilley in #116448
  • (grouping) Fix hostname regex bugs, take 2 by @lobsterkatie in #116587
  • (heatmaps) Very small y-axis values turning into engineering notation and throwing errors by @nikkikapadia in #116421
  • (jest) Exclude scripts/ from discovery and module resolution by @armcknight in #116413
  • (low-value-spans) Use project platform for snippets by @ArthurKnaus in #116675
  • (oauth) Use hashed token lookup and reject tokens for inactive users by @michelletran-sentry in #116323
  • (options) Suppress option seen logs in debug mode by @JoshFerge in #116324
  • (ourlogs) Stabilize ECharts chart position to prevent getAttribute crash by @JoshuaKGoldberg in #115753
  • (pageFilters) Sort bookmarked projects above non-member projects by @JonasBa in #116196
  • (project-filter) Increase bottom margin by @cvxluo in #116328
  • (releases) Combine duplicate Author type by @cvxluo in #116358
  • (scm) Map unknown referrer to shared by @cmanallen in #116403
  • (search-query-builder) Add dynamic fetching to has by @nsdeschenes in #116097
  • (seer) Fix font color and link position in autofix project settings by @ryan953 in #116602
  • (segment-enrichment) Propagate conventional user attributes by @mjq in #116492
  • (settings) List all projects in context picker instead of default 1st page by @hobzcalvin in #116072
  • (snapshots) Increase snapshot test timeout to 30s by @mtopo27 in #116378
  • (spans) Deprecations shouldn't shadow public field names by @mjq in #116387
  • (theme) Update config.theme when mutating user theme option by @TkDodo in #116336
  • (trace-item-details) Allow timestamp by @wmak in #116321
  • (trace-waterfall) Pass timestamp to trace item details by @nsdeschenes in #116376
  • (traces) Downgrade Group.DoesNotExist log to info in trace serialization by @wedamija in #116322
  • (webhooks) Check webhooks:enabled in new webhook path by @Christinarlong in #116459
  • Trigger ad-hoc explorer index runs by @shruthilayaj in #116530

Internal Changes 🔧

Aci

  • Remove usage of workflow engine redirect flag by @ceorourke in #116609
  • Update alerts:write settings toggle label to include reference to monitors by @malwilley in #116313

Api

  • Mark prompts-activity as private by @cvxluo in #116702
  • Rename SourceMapDebugBlueThunderEdition to SourceMapDebug by @cvxluo in #116619
  • Remove unused source-map-debug endpoint by @cvxluo in #116594
  • Remove experimental/projects backward-compat shim by @betegon in #116498
  • Remove unused events-trace-light endpoint by @cvxluo in #116519
  • Remove stale entries from api ownership and publish status by @cvxluo in #116400
  • Promote org-scoped project creation endpoint to public by @betegon in #116333

Api Docs

  • Add EventAttachmentSerializerResponse type and example by @cvxluo in #116515
  • Add DebugFileSerializerResponse type and example fixture by @cvxluo in #116397

Ci

  • Skip type coverage comment if there is no change by @shellmayr in #116672
  • Skip broken trace item detail tests by @kenzoengineer in #116497

Codecov

  • Remove auto_enable_codecov daily job by @giovanni-guidini in #116570
  • Remove GitHub Codecov account-link hooks by @giovanni-guidini in #116569
  • Remove stacktrace-coverage endpoint and codecovAccess setting by @giovanni-guidini in #116565
  • Remove Prevent API endpoints and routes by @giovanni-guidini in #116559

Deps

Dynamic Sampling

  • Document config types and simplify dir structure by @shellmayr in #116462
  • Only run sliding window calculations when config is enabled by @shellmayr in #116371
  • With multiple org volumes, make sure their duration is clear in scheduler by @shellmayr in #116367

Explore

  • Remove raw search replacement flag checks by @nsdeschenes in #116590
  • Port schema hints list to scraps by @priscilawebdev in #116159

Flags

Forms

  • Migrate RequestIntegrationModal to TanStack form system by @priscilawebdev in #115990
  • Migrate CreateTeamForm to TanStack form system by @priscilawebdev in #115991

Github Enterprise

Integrations

Issues

  • Add fallback event components codeowner by @scttcper in #116505
  • Rename feature flag to be specific to displaying Seer actions as issue details activities by @shashjar in #116425
  • Minor cleanup of boolean logic in escalating issue algorithm by @shashjar in #116453
  • Remove streamline names from issue details by @scttcper in #116344

Logs

  • Add superuser only log json debug button by @Dav1dde in #116482
  • Update trace item timestamp expectations by @nsdeschenes in #116405

Onboarding

  • Update project creation URL to /organizations/{org}/projects/ by @betegon in #116388
  • Decouple SCM step components from OnboardingContext by @jaydgoss in #115639

Repositories

  • When making a ProjectRepository link, upgrade the source if we have a stronger signal by @wedamija in #116543
  • Mark project repo endpoint as public by @wedamija in #116343

Seer

  • Mark seer endpoints as private instead of experimental by @gricha in #116591
  • Remove organizations:seer-wizard by @cvxluo in #116546
  • Remove organizations:seer-issue-view by @cvxluo in #116528
  • Call project settings update helper in callsites that don't need to update the full Seer project preference by @srest2021 in #116356
  • Add GitLab code-review web hooks by @cmanallen in #116317
  • Unify Seer project settings update helper and add tuning and auto_create_pr fields by @srest2021 in #116352
  • Use get_group_list helper in supergroups-by-group endpoint by @giovanni-guidini in #116474
  • Get stopping point and handoff directly in callsites that don't need the full project preference by @srest2021 in #116222

Settings

  • Migrate project security & privacy form to scraps form by @priscilawebdev in #116463
  • Remove service hooks forms and routes by @TkDodo in #116296

Snapshots

Snuba

  • Use metrics.timer instead of bespoke timer helper by @mrduncan in #115279
  • Use metrics.timer for get_snuba_map timing by @mrduncan in #116357
  • Re-enable boolean double-write tests by @phacops in #116390

Spans

  • Improve flush cleanup coverage by @lvthanh03 in #116694
  • Move flushed segment cleanup into buffer store by @lvthanh03 in #116495
  • Move queue updates into spans buffer store by @lvthanh03 in #116435
  • Use full web vitals attribute strings by @mjq in #116135
  • Introduce spans buffer store abstraction by @lvthanh03 in #116382
  • Read deprecations from sentry-conventions by @mjq in #116399
  • Add loaded segment data model by @lvthanh03 in #116346

Typing

  • Remove 9 zero-error modules from mypy ignore list by @shashjar in #116430
  • Remove sentry.services.eventstore.models from mypy ignore list by @shashjar in #116229

Webhooks

Other

  • (alerts) Disable alert buttons for users without write access by @malwilley in #116306
  • (apigateway) Use a threadlocal session for proxy requests by @JoshFerge in #116054
  • (assemble) Validate debug ids on assemble endpoint by @Dav1dde in #116283
  • (autofix) Remove the organizations:autofix-on-explorer feature flag by @chromy in #116165
  • (billing) Bumped sentry-protos version to 0.15.0 by @krithikravi in #116351
  • (billing-platform) Bump sentry-protos 0.21.0 by @brendanhsentry in #116539
  • (bitbucket-server) Remove legacy pipeline setup views by @evanpurkhiser in #116489
  • (cell) Renames proxy region metric tag to cell for clarity by @GabeVillalobos in #116402
  • (cells) Adds CellResolver, refactors ApiGateway to use them when special casing proxy requests by @GabeVillalobos in #116221
  • (codeowners) Reuse get_projects in associations endpoint by @giovanni-guidini in #116359
  • (conversations) Simplify conversation details endpoint by @obostjancic in #116087
  • (dashboards) Validate prebuilt widget layouts and lengths by @DominikB2014 in #116217
  • (eap) Make trace item attributes alias test less fragile by @mjq in #116545
  • (feature-flags) Remove organizations:insights-ai-and-mcp-dashboard-migration by @cvxluo in #116450
  • (inbound-filters) Add feature flag by @shellmayr in #116287
  • (ingest) Minor cleanup in issue occurrence ingestion logic by @shashjar in #116608
  • (issue-detection) Update badge for AI Issue Detection by @roggenkemper in #116311
  • (issueDetails) Migrate onDiscard to useMutation + fetchMutation by @sentry-junior in #116157
  • (jira) Replace legacy configure view with the pipeline redirect by @evanpurkhiser in #116574
  • (mcp-adoption-value-discovery) Adding utm source to mcp docs link by @Abdkhan14 in #116202
  • (metrics) Metric detail action menu tweaks by @nsdeschenes in #116292
  • (msteams) Replace legacy configure view with the pipeline redirect by @evanpurkhiser in #116520
  • (night-shift) Use default autofix model for night-shift runs by @chromy in #116469
  • (ourlogs) Switch logs pinning from context to a straightforward hook by @JoshuaKGoldberg in #116176
  • (rpc) Log from _make_rpc_request by @mjq in #116408
  • (scm) Remove /rate-limit endpoint from internal rate-limit computation by @cmanallen in #116471
  • (search-query-builder) Break up contexts by @nsdeschenes in #116126
  • (seer-grouping) Rm backfill url by @kddubey in #116253
  • (seer-slack) Remove unused flag by @leeandher in #116683
  • (slack) Remove assistant:write OAuth scope from Slack integration by @alexsohn1126 in #116567
  • (tempest) Squash migrations by @vgrozdanic in #116679
  • (timeSince) Migrate TimeSince to use InfoText internally by @TkDodo in #116369
  • (trace-items) Remove performance-sentry-conventions-fields by @mjq in #116392
  • (trace-waterfall) Drop deprecated aliases from trace meta endpoint by @cvxluo in #116514
  • (traces) Remove stale events-trace-light frontend references by @cvxluo in #116523
  • (utils) Small SafeRolloutComparator refactors by @lobsterkatie in #116257
  • (workflow-engine) Build out new registry for activities by @leeandher in #116200
  • (workflows) Dramatically more efficient DetectorGroup querying by @kcons in #116441
  • Devservices 1.4.0 by @joshuarli in #116700
  • Rollout semver-ordering-with-build-code by @ryan953 in #116622
  • Remove relay:measurements-smart-conversion feature by @loewenheim in #116615
  • Replace custom JEST_TEST_BALANCER env var with --testResultsProcessor by @ryan953 in #116661
  • Bump taskbroker-client to 0.18.0 by @getsentry-bot in #116630
  • Cleanup seer-config-reminder flag by @ryan953 in #116628
  • Fix log statement by @joseph-sentry in #116512
  • Bump taskbroker-client to 0.17.1 by @getsentry-bot in #116535
  • Bump taskbroker-client to 0.17.0 by @getsentry-bot in #116526
  • Delete unused options by @joshuarli in #116409
  • Type utils.signing.unsign return as Any by @evanpurkhiser in #116486
  • Add some logging by @shruthilayaj in #116481
  • Remove Email model by @markstory in #116245
  • Bump sentry-protos 0.17.0 by @brendanhsentry in #116456
  • Bump taskbroker-client to 0.16.0 by @getsentry-bot in #116411
  • Bump sentry-protos to 0.16.1 by @getsentry-bot in #116401
  • Delete plan migration frontend by @noahsmartin in #116331
  • Bump new development version by @sentry-release-bot[bot] in c9c46150

Other

  • fix(cells) Hide US2 in customer facing dropdowns by @markstory in #116529
  • Remove organizations:scm-repositories-v2 by @cvxluo in #116555
  • Add new org suspension reason by @geoffg-sentry in #116616
  • Upgrade sentry-scm to 0.22.0 by @cmanallen in #116585
  • typing(release health): Remove sentry.release_health.metrics_sessions_v2 from mypy ignore list by @shashjar in #116442
  • 🐛 fix[gitlab]: add assignee sync diagnostics by @iamrajjoshi in #115356
  • feat(cells) Allow staff users to create orgs in hidden cells by @markstory in #116503
  • fix(cells) Add flag and display name for us2 by @markstory in #116513
  • Extract BoundedLRUCache into common utility module by @cmanallen in #116527
  • fix(typing) Remove sentry.db.postgres.base from ignore list by @markstory in #116493
  • deps(scm): Upgrade sentry-scm to 0.20.0 by @cmanallen in #116499
  • tracemetrics(perf): Add client_sample_rate to high-volume metrics by @k-fish in #116308
  • chore(typing) Fix typing errors in sentry.ratelimits by @markstory in #116310
  • revert changes to jest config from #116269 by @armcknight in #116416
  • chore(typing) Fix typing issues in relocations by @markstory in #116301

Don't miss a new sentry release

NewReleases is sending notifications on new releases.