Skip to content

ci: Add the fact sheet for the PR classifiers - #6754

Open
stephanie-anderson wants to merge 2 commits into
mainfrom
ci/classifiers-fact-sheet
Open

stephanie-anderson wants to merge 2 commits into
mainfrom
ci/classifiers-fact-sheet

Conversation

@stephanie-anderson

Copy link
Copy Markdown
Contributor

Add .github/classifiers.toml, the fact sheet the PR classifiers use to label a pull request risk: low, risk: medium or risk: high.

The fact sheet maps this repository's paths: which ship to customers, where that code runs, what is shared core, and which files are tests, samples, docs, dependencies or build configuration. It used to live in the internal getsentry/classifiers repository, where every change to it needed a pull request from someone outside this team. It now lives next to the code it describes (getsentry/classifiers#12).

This repository already runs the PR classifiers workflow. That workflow pins a commit of the classifiers repository that still carries its own copy of this file, so nothing changes when this merges. The file here takes over when the workflow's pin is next moved forward, and it has to be merged before that.

Things to know as its new owners:

  • The classifier reads this file from a pull request's base branch, never from the pull request itself, and a pull request that changes this file is never labelled low.
  • The file was written against the commit named on its first line. Paths added since then are unmapped, which is safe (an unmapped path blocks low) but worth a look while reviewing.
  • When you add a module, a test root or a build file in a new place, add it here in the same pull request. Non-shipping patterns (tests, samples, docs) should be anchored to the roots where those files really live, not written as **/test/**.

#skip-changelog

🤖 Generated with Claude Code

The PR classifiers label a pull request's risk from a map of this
repository's paths: which ship, where that code runs, and which are tests,
docs or build configuration. That map lived in the internal classifiers
repository and now lives here, so it can change together with the code
it describes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

PR risk: medium

For commit 2b3f72a.

The model rated this change low. It was raised to medium because:

  • R6: build or release configuration changed: .github/classifiers.toml
  • R7: the model was not confident enough that the change is low

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

@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

@stephanie-anderson
stephanie-anderson marked this pull request as ready for review November 24, 2026 15:58
@stephanie-anderson
stephanie-anderson requested review from a team and adinauer as code owners November 24, 2026 15:58
@stephanie-anderson
stephanie-anderson requested review from 0xadam-brown and markushi and removed request for a team November 24, 2026 15:58
@github-actions github-actions Bot added risk: medium PR risk score: medium and removed risk: medium PR risk score: medium labels Nov 24, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 185ac4a. Configure here.

Comment thread .github/classifiers.toml Resolved
The module holds test helpers and is not published, so it is not a
shipping area. A change that only touches it is now read as a test
change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions github-actions Bot added risk: medium PR risk score: medium and removed risk: medium PR risk score: medium labels Nov 24, 2026

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: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant