R253 Leave the checks a change does not touch to CI

On by default

Where CI runs a repository’s full set of checks on each change, leave the checks a change does not touch to CI instead of also running them locally before a push.

Reason

A full local run repeats what CI does on the same change: it holds up the author and loads the machine, and the run that counts for the full set is still CI’s (Art. III §4).

Verification

The full set is every check CI runs on the change. A check is touched when the change touches its inputs; the commit hooks count as touched. A command that runs the whole set, or every test of the repository, runs untouched checks unless the change touches the inputs of all of them. When unsure whether a check is touched, it counts as touched. Where CI does not run the full set on each change, this rule asks nothing.

Violated when an agent, as its checks before a push, runs locally checks the change does not touch while CI runs them on the change. A run while the work is under way, before the checks for a push, is not covered.

Provisions of the constitution it cites

Relations

Parent
R276 CI and Releases
Requires
none
Conflicts with
none

Metadata

ID
253
Revision
2
Kind
rule
Status
trial
Slug
full-checks-left-to-ci
Default level
project
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh