Repository navigation
What's Changed
- Tech Debt Initiatives can count part of a stat.
TechDebtInitiative.remainingFilterandcompletedFiltertake aStatFilterofextrasconditions on a code references stat. Each filtered stat is published at build time as a derived stat, keyed by the filter's optionalkeyor by defaulttdi__<id>__remainingortdi__<id>__completed, which gets totals, history, the web report and the per-stat JSON and SARIF exports like any other stat. It is left out of the aggregatestats.sarif. History is kept by the derived key, so changekeywhen a filter's definition changes. TechDebtInitiative.effectiveRemainingStatKeyandeffectiveCompletedStatKeyname the stat to read for an initiative (the derived stat when filtered), and are written totdi_config.json. Consumers that show or export initiative numbers should read these instead ofremainingStatKeyandcompletedStatKey.- Invalid filters fail the report: a filter on a stat that is not a code references stat, an extra that the stat does not declare, an empty or invalid matcher, a blank
key, a derived key produced more than once (duplicate initiative ids or filter keys), or a derived key that a collected stat already uses. - Changing
techDebtInitiativesnow reruns theinverttask. - Include the header row in table "Download Table as CSV" exports.
Full Changelog: 0.0.16...0.0.17