Skip to content

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

Merged
szokeasaurusrex merged 4 commits into
masterfrom
ci/classifiers-fact-sheet
Dec 3, 2026
Merged

szokeasaurusrex merged 4 commits into
masterfrom
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 does not run the PR classifiers workflow yet, so this file has no effect until that workflow is added.

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>
@sentry-junior
sentry-junior Bot marked this pull request as ready for review November 25, 2026 12:06
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 25, 2026 12:06

@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 9473af5. Configure here.

Comment thread .github/classifiers.toml Resolved
The repository has no agents.toml, so the entry never matched.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

@sentry-junior sentry-junior Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested changes to the fact sheet. With all four applied, classify coverage on this branch reports no unmapped paths, and only Cargo.toml, sentry-core/** and sentry-types/** are counted as shared_core.

The Cargo.lock change also needs a change to the classifier defaults in getsentry/classifiers; a PR for that is being prepared separately.

Comment thread .github/classifiers.toml Resolved
Comment thread .github/classifiers.toml Resolved
Comment thread .github/classifiers.toml Resolved
Comment thread .github/classifiers.toml Resolved
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
@szokeasaurusrex
szokeasaurusrex enabled auto-merge (squash) December 3, 2026 14:58
@szokeasaurusrex
szokeasaurusrex merged commit fd97168 into master Dec 3, 2026
29 of 31 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the ci/classifiers-fact-sheet branch December 3, 2026 15:07
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