Description:
Pull requests with failing status checks (such as required CI jobs) are currently not surfacing violations in Watchflow, even when corresponding rules are present and enabled in .watchflow/rules.yaml.
This gap reduces the effectiveness of automated governance, as checks intended to block low-quality or noncompliant code can be bypassed without surfacing formal rule violations. Reproduction steps, example configuration, and open technical questions are provided below.
Steps to Reproduce:
- Define a rule in
.watchflow/rules.yaml that requires PR status checks (e.g., ci/test, lint) to pass. - Open a pull request that intentionally fails one of these checks.
- Observe that Watchflow does not report a violation on the PR.
Example rule:
rules:
- id: status-check-requiredname: Status Check Requireddescription: All PRs must pass required status checksenabled: trueseverity: highevent_types: [pull_request]parameters:
checks: [ci/test, lint]
Expected behavior:
Any failed status check matching a defined, enabled rule should result in a violation clearly surfaced by Watchflow.
Questions:
- Is there an existing processor for status or check_run events that should detect these failures?
- Are there known gotchas or required config details for enabling check-based violation rules?
Description:
Pull requests with failing status checks (such as required CI jobs) are currently not surfacing violations in Watchflow, even when corresponding rules are present and enabled in
.watchflow/rules.yaml.This gap reduces the effectiveness of automated governance, as checks intended to block low-quality or noncompliant code can be bypassed without surfacing formal rule violations. Reproduction steps, example configuration, and open technical questions are provided below.
Steps to Reproduce:
.watchflow/rules.yamlthat requires PR status checks (e.g., ci/test, lint) to pass.Example rule:
Expected behavior:
Any failed status check matching a defined, enabled rule should result in a violation clearly surfaced by Watchflow.
Questions: