Skip to content

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

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, test, and every integration test job.

The ruleset requires 6 of the 9 integration tests. Heartbeat integration test, Multi-topic integration test, and Push mode postgres integration test were never added to it, so they become merge-blocking with this change.

GoCD now waits on Required checks instead of Tests (ubuntu). The image push checks stay.

Open decision: Python Client Lint, Python Client Tests, and Coverage (ubuntu) aren't required today and stay out.

Rollout:

  1. Merge this. It doesn't change the ruleset, so it merges under the current rules.
  2. In the main ruleset, replace Tests (ubuntu), Lint, and the 6 integration test checks with Required checks.

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-3022

@sentry-junior
sentry-junior Bot requested a review from joshuarli December 1, 2026 01:27
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