Add M10.4a intentions, actions and admission
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m45s
Foundation / checks (network) (push) Successful in 9m37s
Foundation / checks (client) (push) Successful in 12m14s
Foundation / checks (tsan) (push) Successful in 7m39s
Foundation / checks (checks) (push) Successful in 31m15s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 32m59s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m45s
Foundation / checks (network) (push) Successful in 9m37s
Foundation / checks (client) (push) Successful in 12m14s
Foundation / checks (tsan) (push) Successful in 7m39s
Foundation / checks (checks) (push) Successful in 31m15s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 32m59s
Session protocol v1 (not yet deployed, amended in place) gains realtime intentions on datagrams with receipts and a cumulative simulated watermark, and account-scoped actions with stable ids, receipts, final outcomes and queries. IntentAdmission enforces session binding, rate, authority, epoch, vector, sequence, tick window, duplicates and the unresolved bound; RegionSessions and the client carry it over QUIC. Intentions and actions have no biological effect yet. ADR-0092. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4203,3 +4203,37 @@ repeated; Clang 19 ASan/UBSan session and network tests; Windows MSVC 19.44 pres
|
||||
build and CTest 4/4 (binary timestamp checked).
|
||||
Not done: evo-server and client integration (10.4), ASan of the PostgreSQL suite,
|
||||
a real two-process cross-region takeover with QUIC clients, cluster migration (no deploy).
|
||||
|
||||
## 2026-10-03 — M10.4a intentions, actions and admission (ADR-0092)
|
||||
|
||||
Implemented session-v1 types 6-12 and Welcome server_tick (codec), `IntentAdmission`
|
||||
(evo_network_protocol), RegionSessions host facts, datagram intentions, actions, queries,
|
||||
carry/committed and outcome delivery, and the client API (intentions, actions, queries,
|
||||
receipts, watermark, outcomes).
|
||||
Unit tests (`evo-network-tests`): round trips of every new message, every truncation and
|
||||
extension refused, an intention with appended state claims refused, invalid statuses and
|
||||
results refused; admission refusals in order (other session, unknown session, stale epoch,
|
||||
vector, replayed sequence, tick in the past, beyond 8 ticks, same tick, rate after 8
|
||||
attempts, not ready); cumulative watermark and its 20-tick repeat; action receipt,
|
||||
pending query, zero id, unknown kind, wire kind 257 (no truncation), duplicate retry keeping
|
||||
the original tick, action rate, carry once, commit to `committed_no_effect`, other
|
||||
account's query, outcome visible to a reconnected session, never admitted twice, unresolved
|
||||
bound across intentions and actions, abandon finalizing only uncarried actions, bounded
|
||||
final outcomes.
|
||||
Loopback QUIC (`evo-quic-session-tests`) with a simulated host: Welcome server tick;
|
||||
intention receipt, outside window, watermark after the tick runs, not ready; action receipt,
|
||||
pending query, carry, durable outcome, duplicate receipt then the same outcome, the outcome
|
||||
from a reconnected session, an uncarried action finalized `not_committed` by an epoch
|
||||
change, intentions in the new epoch; a raw peer appending state claims to an intention
|
||||
datagram is closed with `protocol`.
|
||||
|
||||
Found and fixed during development: an 8-bit `ActionKind` decoded from the u16 wire field
|
||||
would have truncated unknown kinds to known ones (now raw u16 validated by admission);
|
||||
unchecked optional accesses in the client (tidy).
|
||||
|
||||
Executed: Linux GCC 14 preset `quic` CTest 4/4; session tests 10/10 repeated; Clang 19
|
||||
ASan/UBSan session and network tests; clang-tidy 19 on the new and changed sources and
|
||||
tests; format check; Windows MSVC 19.44 preset `quic` build and CTest 4/4 (binaries rebuilt,
|
||||
timestamps checked).
|
||||
Not done: durable action records and crash resolution (10.4b), evo-server wiring and
|
||||
process kill tests (10.4c).
|
||||
|
||||
Reference in New Issue
Block a user