Skip to content

ci: Add a single Required checks job for branch protection and GoCD - #827

Draft
sentry-junior[bot] wants to merge 1 commit into
mainfrom
ci/required-checks-meta-job
Draft

sentry-junior[bot] wants to merge 1 commit into
mainfrom
ci/required-checks-meta-job

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Required checks in the ruleset and in GoCD name individual jobs and matrix legs, so changing a matrix or adding a job means editing both in lockstep, and missing one silently drops coverage.

This adds a Required checks job to ci.yml that needs the jobs below and fails if any of them failed or was cancelled. Skipped jobs count as passing. It follows the Backend job in getsentry/sentry's backend.yml.

needs: lint, lint-python, test-all, test-python, docs, the jobs behind today's required checks.

GoCD now waits on Required checks instead of Test (all features). Publish to GCR and Upload Build Artifacts for GoCD stay.

Open decision: validate_gocd isn't required today and stays out.

Rollout:

  1. Merge this. It doesn't change the ruleset, so it merges under the current rules.
  2. In the main ruleset, replace Lint, Lint Python, Test (all features), Test Python, and Build and Publish Documentation with Required checks. Build amd64 and Build arm64 come from build.yml and stay.

Part of DI-3020.

#skip-changelog

via @joshuarli.

--

View Session [Sentry]

Co-Authored-By: Joshua Li <14209781+joshuarli@users.noreply.github.com>
@linear-code

linear-code Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

DI-3020

DI-3021

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Semver Impact of This PR

⚪ None (no workspace changed)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR does not change any workspace, so it will not appear in any changelog.


🤖 This preview updates automatically when you update the PR.

@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.71%. Comparing base (67a3441) to head (92019d4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #827   +/-   ##
=======================================
  Coverage   91.71%   91.71%           
=======================================
  Files         122      122           
  Lines       24679    24679           
=======================================
  Hits        22635    22635           
  Misses       2044     2044           
Components Coverage Δ
Rust Backend 94.12% <ø> (ø)
Rust Client 90.69% <ø> (ø)
Python Client 91.75% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sentry-junior
sentry-junior Bot requested review from joshuarli and removed request for joshuarli December 1, 2026 01:28
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.

1 participant