[PR #1010] [MERGED] checks: verify always runs, so a skipped job can never satisfy main's required check #2984

Closed
opened 2026-11-02 16:00:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/1010
Author: @ludovic111
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @ludovic111

Base: main ← Head: ci/verify-always-runs


📝 Commits (1)

  • cef652d checks: verify always runs, so a skipped job can never satisfy main's required check

📊 Changes

4 files changed (+95 additions, -43 deletions)

View changed files

📝 .github/workflows/ci.yml (+13 -38)
➕ .github/workflows/parity.yml (+48 -0)
➕ .github/workflows/run-parity.yml (+20 -0)
📝 docs/release-flow.md (+14 -5)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

Part of the security brief (Ludovic, 2026-10-19: "something safer that still runs fast when I'm not at the PC"), item 4.

What

  • checks (ci.yml) no longer starts on labeled events, and verify has no if: at all: every run of checks reports a real verify. A pull request without Rust changes still finishes it in seconds (the Rust steps were already skipped step by step, not the job).
  • The parity job moves into .github/workflows/parity.yml (reusable). checks calls it for same-repo pull requests; the new run-parity.yml calls it when a maintainer labels a fork's pull request run-parity. The check is now named parity / parity.
  • docs/release-flow.md says why.

Why

Each label (feature, skip-release…) started a checks run whose verify was skipped, and GitHub counts a skipped required check as passed. Auto-merge merged #823 and #837 before the real verify had finished (2026-10-18). With this, the only verify a commit can get is one that ran.

How tested

  • actionlint on all workflows: no new findings (the two remaining warnings are in launcher.yml/release.yml, untouched).
  • This pull request's own runs: checks runs verify + parity / parity; adding a label starts only run-parity, whose job is skipped unless the label is run-parity (results in the comment below).

Needs Ludovic

Nothing. The required check stays verify.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/1010 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/19/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `ci/verify-always-runs` --- ### 📝 Commits (1) - [`cef652d`](https://github.com/horizon-rust/horizon/commit/cef652d026166b575c1e9fe85033036c3c897e56) checks: verify always runs, so a skipped job can never satisfy main's required check ### 📊 Changes **4 files changed** (+95 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+13 -38) ➕ `.github/workflows/parity.yml` (+48 -0) ➕ `.github/workflows/run-parity.yml` (+20 -0) 📝 `docs/release-flow.md` (+14 -5) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Part of the security brief (Ludovic, 2026-10-19: "something safer that still runs fast when I'm not at the PC"), item 4. ## What - `checks` (ci.yml) no longer starts on `labeled` events, and `verify` has no `if:` at all: every run of `checks` reports a real `verify`. A pull request without Rust changes still finishes it in seconds (the Rust steps were already skipped step by step, not the job). - The parity job moves into `.github/workflows/parity.yml` (reusable). `checks` calls it for same-repo pull requests; the new `run-parity.yml` calls it when a maintainer labels a fork's pull request `run-parity`. The check is now named `parity / parity`. - docs/release-flow.md says why. ## Why Each label (`feature`, `skip-release`…) started a `checks` run whose `verify` was skipped, and GitHub counts a skipped required check as passed. Auto-merge merged #823 and #837 before the real `verify` had finished (2026-10-18). With this, the only `verify` a commit can get is one that ran. ## How tested - `actionlint` on all workflows: no new findings (the two remaining warnings are in launcher.yml/release.yml, untouched). - This pull request's own runs: `checks` runs `verify` + `parity / parity`; adding a label starts only `run-parity`, whose job is skipped unless the label is `run-parity` (results in the comment below). ## Needs Ludovic Nothing. The required check stays `verify`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 16:00:37 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2984
No description provided.