Skip to content

docs: backfill shared Bugbot review rules - #23764

Merged
mydea merged 4 commits into
developfrom
docs/bugbot-shared-core-backfill
Sep 2, 2026
Merged

docs: backfill shared Bugbot review rules#23764
mydea merged 4 commits into
developfrom
docs/bugbot-shared-core-backfill

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Backfills .cursor/BUGBOT.md with cross-SDK review guidance distilled from sibling SDK Bugbot files plus SDK philosophy and principles.

Added / strengthened

  • PII/sensitive defaults (sendDefaultPii), attachments, debug flags left on
  • Never crash/brick the host; graceful degrade on unsupported runtimes
  • Never capture SDK-own or callback exceptions (loop risk)
  • Baseline dependency cost; OOTB defaults vs required config; prefer rawer wire data
  • Support-floor drops need explicit migration/docs callouts
  • Structured log sentry.origin
  • Tests prove behavior (not hollow coverage)
  • Explicit What NOT to Flag (style, speculative refactors, idiomatic hooks)

Existing JS-specific rules (span attrs, mechanism, DEBUG_BUILD, platform-safe timers/imports, flake patterns) are unchanged.

Draft for SDK review before wider rollout to repos still missing BUGBOT.md.

Requested by stephanie.

--

View Junior Session [Sentry]

Align .cursor/BUGBOT.md with cross-SDK review guidance and
develop.sentry.dev philosophy/principles (PII defaults, never
self-capture, host safety, deps, what-not-to-flag).

Co-Authored-By: Stephanie Anderson <stephanie.anderson@sentry.io>
Comment thread .cursor/BUGBOT.md Outdated
Comment thread .cursor/BUGBOT.md Outdated
Comment thread .cursor/BUGBOT.md Outdated
Address review feedback: don't flag bogus test DSNs, and replace
outdated sendDefaultPii guidance with dataCollection-aware wording.
Comment thread .cursor/BUGBOT.md Outdated
Omit JS-inapplicable attachment defaults guidance, and allow
flagging brittle monkeypatches when a better approach exists.
@stephanie-anderson
stephanie-anderson marked this pull request as ready for review August 31, 2026 14:53
@mydea
mydea merged commit a3de56d into develop Sep 2, 2026
38 checks passed
@mydea
mydea deleted the docs/bugbot-shared-core-backfill branch September 2, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants