Skip to content

chore: Remove Cursor Bugbot review guidelines - #6746

Open
sentry-junior[bot] wants to merge 1 commit into
mainfrom
chore/remove-bugbot
Open

sentry-junior[bot] wants to merge 1 commit into
mainfrom
chore/remove-bugbot

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

📜 Description

Moves .cursor/BUGBOT.md to a root REVIEWS.md (git mv, so history is kept) so that any review agent can use it, not just Cursor Bugbot. This is the same setup sentry-cocoa uses.

  • Dropped the Bugbot wording from the header and fixed the relative links (AGENTS.md, .cursor/rules) for the new location. The review rules themselves are unchanged.
  • Added a short Code Review section to AGENTS.md that points to REVIEWS.md.
  • .cursor/rules/*.mdc stay. They are domain rules that AGENTS.md tells agents to read, and they have nothing to do with Bugbot.

Open question for reviewers: REVIEWS.md (from BUGBOT.md) says "Prefer the synchronized keyword. Existing code that uses AutoClosableReentrantLock is legacy." AGENTS.md says the opposite: "Prefer AutoClosableReentrantLock over synchronized". This PR keeps both as they were. One of them should be changed to match the other.

💡 Motivation and Context

We are no longer using Cursor Bugbot for PR reviews. Same effort as getsentry/sentry-react-native#7090, getsentry/sentry-cocoa#9733 and getsentry/sentry-dart#4205. Here the guidance was too substantial to drop, so it moves instead of being deleted.

Deleting the file doesn't stop Bugbot reviews; Bugbot also needs to be disabled for this repo in the Cursor dashboard / GitHub App settings.

💚 How did you test it?

Documentation-only change; grepped the repo to confirm no remaining references to BUGBOT.md.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.

🔮 Next steps

  • Disable Bugbot for this repo in the Cursor dashboard / GitHub App settings.
  • Settle the synchronized vs AutoClosableReentrantLock rule above.

#skip-changelog

via Antonis Lilis.

--

View Session [Sentry]

Bugbot is no longer used for pull request reviews. Move its review
guidance to a root REVIEWS.md that any review agent can use, and link
it from AGENTS.md.

Co-Authored-By: Antonis Lilis <antonis.lilis@sentry.io>
@github-actions github-actions Bot added the risk: low PR risk score: low label Nov 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR risk: low

For commit fd018a0.

This label is a hint for reviewers, not an approval.

@antonis
antonis marked this pull request as ready for review November 24, 2026 08:07
@antonis
antonis requested review from a team and adinauer as code owners November 24, 2026 08:07
@antonis
antonis requested review from 0xadam-brown and markushi and removed request for a team November 24, 2026 08:07
@github-actions github-actions Bot added risk: low PR risk score: low and removed risk: low PR risk score: low labels Nov 24, 2026
@sentry

sentry Bot commented Nov 24, 2026

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.65.1 (1) release

⚙️ sentry-android Build Distribution Settings

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants