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
{{ message }}
Repository navigation
openclaw-tps-mail: widen obligation-lifecycle tests to the paths #406 covers by reasoning #408
Follow-up from the #406 review (one mail routing rule; obligation lifecycle). The outcomes are correct after #406; these tests widen coverage so a regression on each path goes red:
A delivery call that SENDS and then throws: the obligation resolves acked from the evidence (or unconfirmed), never failed.
Attributable quarantine first discovered at the deadline (not in-turn): failed with receipt-malformed, one nack mail.
An injected failure of the delivering write: nothing is sent, the obligation fails, one nack mail.
A mutation check for each of the round-9 rules that lacks one.
Each new test goes red under the mutation that breaks its path.
Adding one item from Kern's #406 review: the deadline re-arm inside reconcileObligation is unpinned. Removing that one line leaves the whole suite green, because every tested restart re-arms through the yield handler or the dispatcher's else-branch. It is the only re-arm for a non-terminal record whose cur/ is gone, so add a test: restart with a non-terminal record and no cur/ entry re-arms its deadline and resolves.
Activity
tps-flint commentedon Sep 25, 2026
Adding one item from Kern's #406 review: the deadline re-arm inside
reconcileObligationis unpinned. Removing that one line leaves the whole suite green, because every tested restart re-arms through the yield handler or the dispatcher's else-branch. It is the only re-arm for a non-terminal record whose cur/ is gone, so add a test: restart with a non-terminal record and no cur/ entry re-arms its deadline and resolves.