Skip to content

CI: path-filtered required checks (schema-parity, verify-non-root) brick unrelated PRs #1237

Closed

Description

@vybe

Problem

schema-parity and verify-non-root are path-filtered workflows (run only on DB-schema / Docker-surface changes) that were added to dev's required status checks. On any PR that doesn't touch those paths the required context never reports, so GitHub holds the merge at "Expected — waiting for status" indefinitely.

Impact: every non-schema / non-docker PR was unmergeable. The approved queue (#1078, #1168, #1213, #1166, #1195, #1202) had to be unblocked by temporarily dropping both checks from required branch protection. schema-parity.yml even carried a maintainer note predicting this exact failure.

Fix

Convert both workflows to always-run + self-skip: the job runs on every PR and a pure git diff detector gates the heavy steps. No relevant change → heavy steps skipped → job passes trivially (required check satisfied). Relevant change → full check runs and can fail. No third-party action, no token scope beyond contents: read.

Acceptance

  • both workflows self-skip on unrelated PRs and run fully on relevant ones
  • after merge, re-add schema-parity + verify-non-root to dev required checks

Activity

  1. added
    type-bug
    theme-reliability
    on Jun 16, 2026
  2. added a commit that references this issue on Jun 17, 2026
  3. added
    status-in-dev
    on Jun 17, 2026
  4. removed
    status-in-dev
    on Aug 7, 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

    theme-reliabilitytype-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions