sdk-review
Skill2.2k starsChanged 5 days agoMITView on GitHub
Review sentry-python changes for violations of Sentry SDK contracts: host-app safety, data-collection gates, supported versions, public API, and Python-specific rules.
6 other projects use a version of this, 3 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- DataDog/dd-trace-javatheir own version, first seen Nov 16, 2026
- getsentry/sentry-godottheir own version, first seen Nov 15, 2026
- getsentry/sentry-dotnetedited, first seen Nov 15, 2026
- getsentry/sentry-rubyedited, first seen Nov 15, 2026
- getsentry/sentry-goedited, first seen Nov 15, 2026
- DataDog/dd-trace-dotnettheir own version, first seen Nov 2, 2026
Who's talking about getsentry/sentry-python
- Stack Overflow“How do I increase the max length of captured Python parameters in Sentry?”Stack Overflow · Sep 26, 2019 · 15 votes
- getsentry/sentry-java“JVM Profiling”GitHub · Apr 1, 2023 · 14 reactions
- getsentry/sentry-dotnet“OpenTelemetry Support”GitHub · Nov 25, 2022 · 11 reactions
- kiwicom/structlog-sentry“'<' not supported between instances of 'str' and 'datetime.datetime'”GitHub · Aug 5, 2024 · 10 reactions
- pypi/warehouse“Github Dark Mode Image Support”GitHub · Apr 20, 2022 · 9 reactions
The biggest 5 of 65 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 65
Talked about on GitHub and Stack Overflow (65 times).
On GitHub · 49
- Apr 1, 2023JVM Profiling — getsentry/sentry-java14 reactions · 18 comments
- Nov 25, 2022OpenTelemetry Support — getsentry/sentry-dotnet11 reactions · 4 comments
- Aug 5, 2024'<' not supported between instances of 'str' and 'datetime.datetime' — kiwicom/structlog-sentry10 reactions · 9 comments
- Apr 20, 2022Github Dark Mode Image Support — pypi/warehouse9 reactions · 15 comments
- Apr 17, 2023Enhancement: Add `Sentry` integration for 2.0 — litestar-org/litestar7 reactions · 15 comments
44 more on GitHub
- Oct 4, 2018Integration with new sentry client — Bogdanp/dramatiq6 reactions · 11 comments
- Dec 9, 2025[Bug]: Type Union Syntax Unsupported on Python 3.9 — BerriAI/litellm4 reactions
- Dec 10, 2020Add basic support for attachments — getsentry/sentry-cocoa4 reactions
- Feb 22, 2026chore(deps): bump the backend-patch-minor group in /backend with 7 updates — Prekzursil/momentstudio3 reactions · 9 comments
- Oct 30, 2025feat: feature flags — getsentry/sentry-php3 reactions
- Oct 31, 2024Django related improvements / feedback — getsentry/spotlight3 reactions · 1 comment
- May 1, 2024Remove `enableTracing` (and update docs accordingly) — getsentry/team-sdks3 reactions · 7 comments
- Nov 22, 2023Add Metrics API — getsentry/sentry-dotnet3 reactions · 6 comments
- Nov 20, 2023Tracing: W3C Trace Context Support — getsentry/team-sdks3 reactions · 9 comments
- May 9, 2023make pinning of requests less restrictive due to urllib3 debacle — resend/resend-python3 reactions · 3 comments
- Jan 6, 2023Crons: Support upsert for monitors — getsentry/sentry3 reactions · 6 comments
- Dec 5, 2018Zappa always leaks the underlying WSGI response — Miserlou/Zappa3 reactions · 1 comment
- Jul 25, 2026deps: Update sentry-sdk requirement from >=1.40.0 to >=2.66.1 — Hardonian/floyo2 reactions · 2 comments
- Jun 15, 2026Migrate to httpx2 — cloudflare/cloudflare-python2 reactions · 1 comment
- May 31, 2026⬆ Update sentry-sdk[fastapi] requirement from <3.0.0,>=2.60.0 to >=2.61.0,<3.0.0 in /backend — moshehbenavraham/ai-search2 reactions · 1 comment
- May 17, 2026⬆ Update sentry-sdk[fastapi] requirement from <2.0.0,>=1.40.6 to >=2.60.0,<3.0.0 in /backend — moshehbenavraham/ai-search2 reactions · 4 comments
- Mar 17, 2026fix: Do not overwrite baggage header contents if it already exists — getsentry/sentry-ruby2 reactions · 2 comments
- Feb 20, 2026chore(backend/deps): bump the production-dependencies group across 1 directory with 9 updates — Significant-Gravitas/AutoGPT2 reactions · 3 comments
- Feb 19, 2026deps(py): bump the production-dependencies group across 1 directory with 3 updates — comppolicylab/pingpong-study2 reactions · 1 comment
- Feb 2, 2026deps(py): bump the production-dependencies group with 5 updates — comppolicylab/pingpong2 reactions
- Feb 1, 2026Bump sentry-sdk from 2.48.0 to 2.51.0 in /imageEvaller — mkaraki/IllustStore2 reactions · 5 comments
- Jan 28, 2026Reproduction for sentry-python#5349 — getsentry/repro2 reactions · 1 comment
- Jan 26, 2026deps(py): bump the production-dependencies group with 2 updates — comppolicylab/pingpong2 reactions
- Jan 14, 2026deps(py): bump the production-dependencies group with 4 updates — comppolicylab/pingpong2 reactions
- Jan 2, 2026Bump sentry-sdk from 2.46.0 to 2.48.0 in /imageEvaller — mkaraki/IllustStore2 reactions · 11 comments
- Jan 2, 2026Bump sentry-sdk from 2.46.0 to 2.48.0 in /imageEvaller — mkaraki/IllustStore2 reactions · 9 comments
- Jan 1, 2026Bump sentry-sdk from 2.46.0 to 2.48.0 in /imageEvaller — mkaraki/IllustStore2 reactions · 2 comments
- Dec 1, 2025Bump sentry-sdk from 2.43.0 to 2.46.0 in /imageEvaller — mkaraki/IllustStore2 reactions · 1 comment
- Nov 18, 2025feat(python): Update troubleshooting tip on multiprocessing — getsentry/sentry-docs2 reactions · 2 comments
- Nov 1, 2025Bump sentry-sdk from 2.41.0 to 2.43.0 in /imageEvaller — mkaraki/IllustStore2 reactions · 1 comment
- Oct 13, 2025Tech: nettoyage des données sensibles dans les miettes de pain Sentry — gip-inclusion/les-emplois2 reactions · 5 comments
- Jun 9, 2025chore: bump sentry-sdk — frappe/frappe2 reactions
- Feb 12, 2025home-assistant: 2025.2.2 -> 2025.2.3 — NixOS/nixpkgs2 reactions · 1 comment
- Jan 1, 2021stack_data, executing, and pure_eval — bugsnag/bugsnag-python2 reactions · 5 comments
- Nov 20, 2020chore(deps): bump sentry-sdk from 0.14.4 to 0.19.4 — adfinis/rmd.io2 reactions · 1 comment
- Nov 16, 2026chore(deps): update sentry-sdk requirement from <3.0,>=2.73.0 to >=2.75.0,<3.0 in /rag — ISCProduct/soc-ai-agent1 reaction · 3 comments
- Nov 13, 2026chore(deps): bump the pip-backend-patch-minor group across 1 directory with 10 updates — Prekzursil/momentstudio1 reaction · 1 comment
- Nov 13, 2026chore(deps): bump the pip-root-patch-minor group across 1 directory with 10 updates — Prekzursil/momentstudio1 reaction · 1 comment
- Nov 9, 2026build(deps): bump sentry-sdk from 2.73.0 to 2.74.0 — ComputerScienceHouse/conditional1 reaction
- Nov 2, 2026Bump sentry-sdk from 2.63.0 to 2.73.0 — ComputerScienceHouse/conditional1 reaction
- Aug 5, 2026build(deps): update sentry-sdk requirement from >=2.54.0 to >=2.66.1 — JFlo21/Generate-Weekly-PDFs-DSR-Resiliency1 reaction · 4 comments
- Mar 1, 2026Bump sentry-sdk from 2.51.0 to 2.53.0 — TradingX-TF/rag-support-bot1 reaction
- Mar 1, 2026Bump sentry-sdk from 2.52.0 to 2.53.0 in /imageEvaller — mkaraki/IllustStore1 reaction · 6 comments
- Dec 16, 2025chore(deps): bump sentry-sdk from 2.44.0 to 2.48.0 — HolofanServer/comet1 reaction · 1 comment
On Stack Overflow · 16
- Sep 26, 2019How do I increase the max length of captured Python parameters in Sentry?15 votes
- Sep 16, 2020Python concurrent.futures Error in atexit._run_exitfuncs: OSError: handle is closed only running in Visual studio Debugging Mode7 votes · 2 answers
- Oct 20, 2021How to send a logging attachment to Sentry in Python?5 votes
- Dec 5, 2018What is the equivalent of passing an extra's dictionary to captureException in the new sentry-python SDK?4 votes · 1 answer
- Oct 15, 2021How to send a logging attachment to Sentry in Python?3 votes · 2 answers
11 more on Stack Overflow
- Feb 27, 2019Why does Sentry's recommended Django logging configuration silence logging from django.db.backends?3 votes
- Dec 10, 2018How do I increase the max length of captured Python parameters in Sentry?3 votes
- Jan 18, 2023How to send event to Sentry without Sentry-SDK?2 votes
- May 6, 2024Using Sentry.io with QuartTrio - Has anyone got this working?1 vote
- Apr 8, 2023Sentry traces_sampler(sampling_context) how to use with FastAPI1 vote
- Aug 23, 2021How to time Django queries1 vote
- Jun 6, 2019Why does this logger not create Sentry events?1 vote
- Aug 27, 2024Sentry with django integration throws KeyError request0 votes · 1 answer
- May 5, 2023Capture flask request when entering and leaving the application0 votes · 6 answers
- Mar 22, 2020How to capture an easily serialisable exception event with Sentry?0 votes · 2 answers
- Sep 16, 2019Slack notification does not trigger on custom tag0 votes
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- getsentry/sentry-go★ 1.1k26% same
- getsentry/sentry-ruby★ 99045% same
- getsentry/sentry-dotnet★ 77671% same
Wrote their own version · 3
- DataDog/dd-trace-java★ 739same name
- DataDog/dd-trace-dotnet★ 573same name
- getsentry/sentry-godot★ 260same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Follow-ups the PR says are handled in a stacked PR or the major branch.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review only the changed code. Report a finding only if you can point to the exact line and show how it breaks a user's app, build or data. Most hunks break no SDK contract, so no findings is the normal result. Generic logic bugs belong to code-review; this skill only covers SDK contracts.
Core SDK rules (same in every SDK repo)
- Never break the host app (high). SDK code that can raise, block, or change the user's behavior: exceptions, return values, signatures, job or request flow.
- Data collected without its gate (high). Bodies, headers, cookies, user info,
gen_aiinputs/outputs or DB results recorded without their data-collection option. Header and cookie names match case-insensitively. Gate on thedata_collectionoption keys; don't ask forsend_default_piiorshould_send_default_pii()as the gate. Automatically collected header, cookie, query or body values must go through the denylist filter insentry_sdk/data_collection.py; a new path that sends them raw is a finding. Data the user set explicitly (scope, span,before_send) is never gated or scrubbed: don't flag reading it back from the scope, but do flag new code that gates or rewrites it. - Supported versions (high). Language, runtime, target or dependency APIs newer than the repo's declared minimum, used without a guard. Minimums come from
python_requiresand_MIN_VERSIONSinsentry_sdk/integrations/__init__.py. - Public API (medium). Breaking public changes without a deprecation path, or internals exposed as public API.
Do not report (same in every SDK repo)
- Style, naming, refactors, or anything the repo's linters, type checkers or analyzers catch.
- Pre-existing code the diff does not change.
- Behavior that matches the spec, Relay or other SDKs, or a trade-off the PR or its threads explain.
- Follow-ups the PR says are handled in a stacked PR or the major branch.
- Tests, samples and examples, unless they can't fail or they teach wrong SDK usage.
- Edge cases that need misuse or very unlikely timing.
Python rules
- Missing internal-exception guard (high). New patch or hook code outside
capture_internal_exceptions(), or code that reads framework objects that can be missing orNone(for example an unmatched route). Never wrap the user's own call or provider iterator: its exceptions must still reach the caller. - Brittle monkeypatch (medium). A patch spells out arguments instead of
*args, **kwargs, or swallows or re-raises the user's exception differently. - Span or check-in not finished on every path (medium). Exceptions, early returns, and streams closed early or never consumed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

