Expand description
Per-flag retirement report for fallow flags --retirement.
The per-site flag findings group into one row per flag identity. Each
detector adds a reason and its evidence to a row. The report is advisory:
every action is auto_fixable: false, and nothing here removes code.
Structs§
- Retirement
Facts - Flag facts that only the retirement report reads. The per-site
feature_flags[]array does not carry them. - Retirement
Options - Options that narrow and order the rows of the report.
- Retirement
Site Input - One site of a flag, before the sites group into rows.
Enums§
- Retirement
Sort - How the report orders its rows.
Constants§
- AGE_
GATE_ AGE_ OFF - Why a
--max-flag-agegate with the age modeoffdid not run. - AGE_
GATE_ NO_ HISTORY - Why a
--max-flag-agegate without git history did not run.
Functions§
- aggregate_
flags - Group flag sites into one row per flag and run the reason detectors.
- finish_
report - Count, filter, order and limit the rows, and add the review action to each candidate.
- max_
age_ gate - The
--max-flag-ageverdict over every row in scope. Pass the rows beforefinish_reportfilters and limits them.skip_reasonis set when no age was measured; the gate is thenskipped, not passed.