Repository navigation
feat(explore): Tag dropped events as intentional vs unintentional - #127850
Merged
adrianviquez merged 1 commit intoOct 19, 2026
Conversation
manessaraj
marked this pull request as ready for review
October 16, 2026 19:51
adrianviquez
approved these changes
Oct 16, 2026
adrianviquez
deleted the
sarajmanes/dain-1908-backend-intentional-vs-unintentional-classification-in-api
branch
October 19, 2026 16:28
RudraPatel2003
pushed a commit
that referenced
this pull request
Oct 19, 2026
…27850) Tag each dropped-events bucket as `intentional` or `unintentional` so the UI and agents can suppress noise from drops the user configured on purpose. Refs DAIN-1908
adrianviquez
added a commit
that referenced
this pull request
Oct 20, 2026
This PR integrates the use of `tags` from new additions to the backend in [this PR](#127850). Currently, we let the FE filter out information based on hardcoded values, but we're moving to the BE being the source of truth for these. Closes DAIN-1942
manessaraj
added a commit
to getsentry/toolkit
that referenced
this pull request
Oct 20, 2026
…d_events (#1560) ## Summary The `events-dropped` endpoint tags each drop bucket as `intentional` or `unintentional` ([getsentry/sentry#127850](getsentry/sentry#127850), refined in [#128138](getsentry/sentry#128138)), but `find_dropped_events` was stripping the field before the agent saw it. This surfaces it. `tags` provide extra information about drops: - **`intentional`** — intended drops caused by user configuration (sampling, inbound filters, `before_send`). - **`unintentional`** — drops the user did not intend (quota, abuse, invalid). The API-client schema already `.passthrough()`es `tags`, so only the tool layer needed the change.
joseph-sentry
pushed a commit
that referenced
this pull request
Oct 20, 2026
This PR integrates the use of `tags` from new additions to the backend in [this PR](#127850). Currently, we let the FE filter out information based on hardcoded values, but we're moving to the BE being the source of truth for these. Closes DAIN-1942
2 tasks done
sentry-junior Bot
added a commit
to getsentry/toolkit
that referenced
this pull request
Nov 4, 2026
- getDroppedEvents uses listOrganizationEventsDropped with getOrgSdkConfig and unwrapResult instead of a hand-written request and response schema. - The row schema moves to output-schemas/event.ts and takes its API fields from vListOrganizationEventsDroppedResponse. types/dropped-events.ts and output-schemas/dropped-events.ts are removed. - Tags still default to [] for servers older than getsentry/sentry#127850. - --period uses LIST_PERIOD_FLAG and PERIOD_ALIASES (7d default, -t). Co-Authored-By: BYK <[email protected]>
betegon
pushed a commit
to getsentry/sentry-changelog
that referenced
this pull request
Nov 5, 2026
Adds a Sentry MCP changelog entry for changes deployed to mcp.sentry.dev after the #230 endpoint (`8d3affe`, 2026-10-19 14:38 UTC) through the latest production deploy (`5b7ea24`, 2026-10-22 12:56 UTC). The entry covers: - `intentional` / `unintentional` tags on `find_dropped_events` buckets (#1560) - attribute descriptions and pagination when `search_traces`, `search_logs`, and `search_metrics` write a query (#1505, #1518) - a lighter project check for project-scoped connections, with 60-second caching of timeouts (#1551) - fixes: time series with text values (#1424), `create_project` with unlinked repositories (#1297), and Claude-User clients showing as Claude instead of Claude Desktop in issue activity (#1516) - no new `@sentry/mcp-server` npm release in this period (latest is still 0.42.0) **Commit filtering:** 33 non-merge commits are in `8d3affe..5b7ea24` (no merge commits). 17 are MCP-relevant: 13 touch `packages/mcp-core`, `mcp-cloudflare`, or `mcp-server`, and 4 bump dependencies those packages use (`hono`, `vite`, `@modelcontextprotocol/server`, `@modelcontextprotocol/sdk`). The other 16 are CLI-only, CLI docs, or CI-only. **Left out:** dependency bumps (#1567, #1562, #1566, #1565); the wrangler upgrade for deploy tokens (#1570); `upstreamScopes` on OAuth grants, which nothing reads yet (#1561); the shared formatter removal, which changes nothing outside experimental mode (#1420); the CLI metric-alert fix, whose MCP side only moves constants to `toolkit-core` (#1591); and lint and formatting changes (#1556, #1547). **Backend dependencies:** #1560 relies on getsentry/sentry#127850 and #128138 (merged 2026-10-19 and 2026-10-20). #1516 relies on getsentry/sentry#127717 (merged 2026-10-20). I checked that these PRs merged, not when Sentry deployed them. **Credits:** #1424 and #1297 were opened by Seer autofix and #1516 by Junior. #1424 credits Miguel Betegón from the commit's co-author trailer. #1297 has no human author or co-author, so it keeps only its link. #1516's only human co-author trailer has an email and no GitHub handle, so it also keeps only its link. **Commit trailer:** the requested `Co-authored-by: Miguel Betegón` trailer is missing from the commit. Junior's runtime commit hook removes co-author trailers written by the model and adds only trailers from the human who started the run. This run was started by the scheduler, so it added none. **Deployment evidence:** - baseline `8d3affe` (exclusive): [run 39270735631](https://github.com/getsentry/toolkit/actions/runs/39270735631), 2026-10-19 14:38 UTC - endpoint `5b7ea24` (inclusive): [run 39782031875](https://github.com/getsentry/toolkit/actions/runs/39782031875), 2026-10-22 12:56 UTC. Candidate smoke tests, promotion to production, ownership check, and production smoke tests all passed, and the recovery step was skipped. - Since then, every Deploy to Cloudflare run has failed before promotion. In [run 39809996665](https://github.com/getsentry/toolkit/actions/runs/39809996665), `f5004b2` was staged at 0% while the `5b7ea24` version kept 100% of traffic. Later runs fail at "Capture active production version". `recover-cloudflare-deployment.yml` has no runs. Changes merged after `5b7ea24` are not on mcp.sentry.dev yet and are not covered here. GitHub Actions can't rule out a deployment made outside it. **Validation:** `pnpm changelog:validate` passes (18 files). The body compiles with `compileMDX` and the app's `mdxOptions` and renders to static HTML (5 sections, 14 links, 13 inline code spans). All 7 linked toolkit PRs are merged and are in `8d3affe..5b7ea24`. Not checked: rendering in the Vercel preview. The proposed publication date is 2026-10-27. The entry goes live only if this PR is merged and synced. A draft is not a publication. ``` product=mcp source_repo=getsentry/toolkit baseline_exclusive=8d3affe39e7e5f1acd3961a38472663aac7326f4 endpoint_inclusive=5b7ea24e10bb315cdedf629af1afc9c8abe80347 coverage_utc=2026-10-19T14:38Z..2026-10-22T12:56Z scan_utc=2026-10-26T13:00Z mcp_commits=17 deploy_run=https://github.com/getsentry/toolkit/actions/runs/39782031875 compare=getsentry/toolkit@8d3affe...5b7ea24 ``` <!-- junior-request-attribution:start --> via Junior system actor `scheduler`. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent-dispatch%3Adispatch_27b99aae0d38fd8c40b6f66918827b4b --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/agent-dispatch%3Adispatch_27b99aae0d38fd8c40b6f66918827b4b) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent-dispatch%3Adispatch_27b99aae0d38fd8c40b6f66918827b4b/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tag each dropped-events bucket as
intentionalorunintentionalso the UI and agents can suppress noise from drops the user configured on purpose.Refs DAIN-1908