Files
openwaf/dotnet
Pavlo Ratushnyi eea385e90c A refusal ended the error run but not the alert episode, so the next outage was silent
Review finding on the edge-trigger rule. The Refusal branch zeroes
ConsecutiveServerErrors without clearing LastAlertedServerErrors, so a source
alternating 5xx with 4xx kept a stale "already alerted at 12" mark while its
error count restarted at 1: the next twelve broken answers stayed silent until
the count doubled the stale mark. One refusal inside the window was enough.

Now the mark goes with the run it describes. A_refusal_ends_the_server_error_
episode_so_the_next_outage_is_not_silent pins it: 3 alerts, one refusal, 3 more
alerts. With the reset removed exactly that test fails (1 failed, 58 passed).

Gates: build 0 warnings, unit 59/59, integration 32/32, smoke 19/19.
2026-10-01 18:29:25 +02:00
..