Skip to content

ci: a gate job reports for the whole workflow - #424

Merged
p-i-p merged 1 commit into
mainfrom
ci/gate-job
Nov 3, 2026
Merged

p-i-p merged 1 commit into
mainfrom
ci/gate-job

Conversation

@p-i-p

@p-i-p p-i-p commented Nov 3, 2026

Copy link
Copy Markdown
Member

What

The branch ruleset on main requires check (ubuntu-latest), check (windows-latest), integration (ubuntu-latest), integration (windows-latest) and deny. The changes job skips those for a change to ui/, the docs or the changelog alone, and a skipped job reports nothing (a skipped matrix job never reports check (<os>)), so such a pull request could not be merged without an administrator's --admin (#423, #422).

gate is a new job that needs every other job and runs always (if: always()). It fails when any of them failed or was cancelled; a skipped job is no failure. The ruleset can then require gate alone.

This pull request changes the workflow, so every job runs here and the five current required checks report: it merges without --admin.

Review card (ADR-0070)

Category Point Beats Reversing costs
trust One job, gate, stands for the whole workflow: it fails on any failed or cancelled job and passes when jobs were skipped The ruleset naming five jobs that a path filter can skip The job goes; the ruleset names the five jobs again
trust After this merges, the branch ruleset requires gate instead of the five checks (a repository setting, changed by the owner or with the owner's yes, not part of this diff) Required checks that a UI-only change can never meet One edit of the ruleset

Approved in the conversation on 2026-11-03: the gate job ("mach das"). Not yet approved: the ruleset switch, which is asked for separately after this merges.

Decided without asking:

  • gate needs every job, so the macOS legs of check and integration, msrv, remote-lane and the script jobs gate a merge too, when they run (today the ruleset requires none of them, and ui only through check). A ui build that fails on a UI-only change now blocks the merge as well, which it did not before. Narrower: drop jobs from needs; macOS legs cannot be left out of a matrix job's result, only the whole job.
  • No ADR: CI plumbing, no change to what devstack does.
  • The comment at integration now says its name stays while the ruleset requires it by name.

Checked

The shell step on sample results (success skipped, failure, cancelled). The workflow itself is checked by its own run on this pull request; no YAML linter was available locally.

🤖 Generated with Claude Code

The jobs behind the path filter report nothing when skipped, and a skipped
matrix job never reports `check (<os>)`, so the branch ruleset's required
checks could not be met by a change to the dashboard, the docs or the
changelog alone: such a pull request needed an administrator's merge.
`gate` runs always and fails when any job failed or was cancelled; a skipped
job is no failure. The ruleset can then require `gate` alone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@p-i-p
p-i-p merged commit cac510a into main Nov 3, 2026
@p-i-p
p-i-p deleted the ci/gate-job branch November 3, 2026 17:32
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