Merge #937: scripted-alarm Part 9 methods report the engine's verdict (BadInvalidState / BadTimeout outcome-unknown), refused changes reverted, broadcast to the peer only after a local Applied/Unknown; MaxNodesPerMethodCall quota; 2 review rounds
v2-ci / unit-tests (push) Failing after 12m14s

This commit is contained in:
Joseph Doherty
2026-11-28 12:47:33 -05:00
30 changed files with 1996 additions and 57 deletions
+2 -1
View File
@@ -621,7 +621,8 @@ It also routes once to the driver (`AlarmCommand` unchanged) and keeps the #760
| Answer on the consumer | Meaning | Sent to the origin? |
|---|---|---|
| `Good` | Scripted: the origin applied it (`DriverConfirmedSuccess`). Native: the origin accepted it and routed it to the driver (`AcceptedUnconfirmed`). The state change arrives on the stream. | yes, applied/accepted |
| `Good` | Scripted: the origin's scripted-alarm engine applied it (`DriverConfirmedSuccess` — since #937 the origin waits for the engine's verdict). Native: the origin accepted it and routed it to the driver (`AcceptedUnconfirmed`). The state change arrives on the stream. | yes, applied/accepted |
| `BadInvalidState` (scripted, #937) | the origin's scripted-alarm engine holds no complete generation (its last load failed) — refused before dispatch, or refused by the engine after dispatch (`DriverConfirmedFailure`) | refused / yes, not applied |
| `BadNodeIdUnknown` | not an imported condition this node holds | no |
| `BadNotSupported` | Shelve / Unshelve / Enable / Disable / unknown method; **native Confirm**; method not in the origin's `supported_methods` (e.g. Galaxy without the opt-in) | no |
| `BadUserAccessDenied` | the local caller fails the mapping method gate, or the deployed connection lacks the bit | no |