FP902 · override-unused
An override matches no finding — the problem was fixed, or the target is misspelled.
| Code | Name | Category | Default severity | Reported by |
|---|---|---|---|---|
FP902 | override-unused | Config & overrides | 🟡 warning | lint, check, the action, the editor |
What you see
In the contracts-drift fixture:
▲ WARN FP902 override-unused
Override for unused-output on .github/workflows/deploy.yml#outputs.url matches no finding
▶ .github/flowpact/flowpact.config.yml:13:5Why it matters
Stale overrides hide future problems at the same target and make the exception list untrustworthy.
How to fix
Delete the override, or correct its rule / target / file (use the symbol shown in JSON output or flowpact lint --format json).
Example
overrides:
- rule: unused-input
target: .github/workflows/deploy.yml#inputs.siute # misspelled: matches no finding
reason: Read by the release dispatcher until the migrationChange the severity
Change the severity (or turn the rule off) in .github/flowpact/flowpact.config.yml, by code or by name:
rules:
FP902: off
# or: override-unused: errorExplain it in the terminal:
flowpact explain FP902