fleetlint Policy for a fleet of repositories
v0.3
Getting started

taskrunner/check-composition

check runs the gates and excludes bench and release

Severitywarning
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.0.0-20261011205826-ecb4e9b3ffd4
Selected byfleetlint-recommended@0.1.0

Requirement

check is the definition of green: lint, test, cover, audit and build. Benchmarks are noisy and release is a deliberate act, so neither is part of it.

Why

A check that is slow or flaky gets bypassed, and a bypassed gate is worse than none.

Applies when

taskrunner.kind in ["make", "just", "task"] && "check" in taskrunner.targets

Check

"check" in taskrunner.deps && ["lint", "test"].all(t, t in taskrunner.deps["check"]) && !("bench" in taskrunner.deps["check"]) && !("release" in taskrunner.deps["check"])

Fix

Make check depend on lint, test, cover, audit and build, and move bench/release out.

Agent instruction: Rewrite the check target’s prerequisites to lint test cover audit build; keep bench and release as separate targets.


Generated by fleetlint docs from catalog v0.0.0-20261011205826-ecb4e9b3ffd4.