ConfigReach/docs/baselines.md at main · sauravsingla/ConfigReach · GitHub
Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 692 Bytes

baselines.md

File metadata and controls

19 lines (12 loc) · 692 Bytes

Baselines

Baselines allow existing repositories to adopt ConfigReach without failing CI on every historical gap.

Create a baseline of currently uncovered keys:

configreach baseline create .

The default file is .configreach/baseline.json. Baseline keys remain visible in reports with baseline_ignored: true, but are excluded from key coverage and CI gating.

To baseline every discovered key instead of only uncovered keys:

configreach baseline create . --all

A baseline is intentionally key-based and human-readable. Remove entries as test coverage improves. New configuration keys are not automatically added, so new gaps remain visible in pull requests.