You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The alert rule unit tests are green while the alert that actually ships behaves differently, so a passing suite is no longer evidence that the deployed alert works. The tests run against a hand maintained second copy of the rules instead of the ones that deploy, nothing checks that the two stay in step, and a grace period added to the project creation alert months ago never reached the copy. Every assertion in that suite fails when it is pointed at the rule now running, and the suite is not wired into continuous integration either.
Note
The duplicate copy is a reasonable workaround, because the test runner cannot read the format the rules ship in, so the defect is the absence of anything keeping the copy honest.
Acceptance criteria
The suite exercises the rules that ship, or a check fails when the copy and the shipped rule diverge
The existing grace period drift is resolved
The suite runs automatically on every change that touches alert rules
A failing check names which alert drifted, so a reviewer can act on it without hunting
Summary
The alert rule unit tests are green while the alert that actually ships behaves differently, so a passing suite is no longer evidence that the deployed alert works. The tests run against a hand maintained second copy of the rules instead of the ones that deploy, nothing checks that the two stay in step, and a grace period added to the project creation alert months ago never reached the copy. Every assertion in that suite fails when it is pointed at the rule now running, and the suite is not wired into continuous integration either.
Note
The duplicate copy is a reasonable workaround, because the test runner cannot read the format the rules ship in, so the defect is the absence of anything keeping the copy honest.
Acceptance criteria