Regression Probe Suite
Turn every probe that found something into a repeatable check that runs on every change, so the fix is protected rather than merely applied
Use when: findings have been fixed and nothing currently prevents them returning
Avoid when: a suite already covers each finding and runs in the pipeline with fixture proof
Procedure
- For each finding, write the probe as a check with an explicit expected rejection or expected state.
- Run the checks against the fix to prove they fail before it and pass after, which is what makes them meaningful.
- Place them in the pipeline that runs on every change rather than in a scheduled job nobody reads.
- Make the assertion about the specific behaviour, not only a status code, so a coincidental 400 does not pass.
- Record which findings have a check and which do not, since the unchecked list is the remaining risk.
- Assign an owner to the suite, because an unowned check stops being maintained within a quarter.
Signals
- A check asserts only a status code, so any rejection passes it
- The check was never observed failing before the fix was applied
- Some findings have no check and the report does not say which
- No owner is assigned to maintaining the suite
Patterns
1. Check record
finding F-01 | probe: send unknown field | assert: field absent on read-back, not merely status 400 | owner: team-api
2. Fail-then-pass
run the check against the pre-fix build and the post-fix build; both results recorded, since a check that never failed proves nothing
3. Coverage list
findings with checks and without checks are both listed; the without list is what remains unprotected
Pitfalls
- Asserting only a status code, so a different rejection satisfies the check
- Never observing the check fail, which means its strength is unknown
- Leaving the suite unowned so it decays as the code around it changes
Done when
- Every finding has a named check with a behavioural assertion and an owner
- Each check is recorded as failing before the fix and passing after it