Skip to content

CI: one gate job as the only required build check #110

Closed

Description

@CaffeinatedCoder

Problem

main's branch protection requires four job names: Test (ubuntu-latest), Pack, Integration (PostgreSQL 18) and Consumer smoke test. GitHub reports a skipped job as Success, even on a required check. That covers a job skipped by its condition and a job skipped because a job it needs failed. So the required checks cannot tell an intended skip from an accidental one.

#100 adds an Integration (SQL Server 2022) lane and plans to add it to the required checks on main, and on release/5.x once that branch is cut. Every lane added this way means another edit to branch protection on each branch.

Change

  • Add a CI job to dotnet.yml that needs every other job, runs with if: always(), and passes only when every job it expects succeeded. Once lanes can be selected (#112), it also requires that the selector succeeded, that every unselected lane was skipped, and that every lane answer is exactly true or false. It writes a job/selected/result table to the job summary.
  • Make CI the only required build check. Labels and issue link can be required too, because it never stays pending.
  • Order: add CI, let it report green on main, then replace the four names in protection. Removing or renaming a required check first would leave every open PR pending.
  • A new lane, such as SQL Server, becomes a line in the gate rather than a protection edit. When release/5.x is cut, it requires CI.
  • Seed: give a job a false condition, or cancel it. CI must fail.

Done when

CI is the only required build check on main, and a seeded skipped or cancelled job makes it fail.

Activity

  1. added this to the 5.5.0 milestone on Oct 20, 2026
  2. added
    chore
    area/release
    on Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/releasechore

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions