META_LAST_FAILURE

Constant META_LAST_FAILURE 

Source
pub(crate) const META_LAST_FAILURE: &str = "agent:last_failure";
Expand description

Block metadata key for the last classified agent failure. Written on every non-zero / in-band-error exit; cleared on clean success. The frontend reads this on pane mount so the recovery banner survives tab switches and page reloads without requiring the WPS event to be received in real time.