Add M10.4c evo-server QUIC listener and headless session client
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m46s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 3m44s
Foundation / checks (client) (push) Canceled after 3m49s
Foundation / checks (network) (push) Canceled after 1m59s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m46s
Foundation / checks (postgres) (push) Canceled after 0s
Foundation / checks (tsan) (push) Canceled after 0s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 3m44s
Foundation / checks (client) (push) Canceled after 3m49s
Foundation / checks (network) (push) Canceled after 1m59s
evo-server gains an opt-in M10 listener (--m10-*, QUIC builds only): RegionSessions with the PostgreSQL control and action ledgers on their own connection under the host's lease, carried actions submitted to the host and its acknowledgements and drops turned into outcomes. evo-session-probe is a dev-only headless client. Real process tests cover intentions, durable action outcomes, SIGKILL before and after an action's commit, duplicate retries and the probe. The simulated watermark now reaches every session every tick, so clients always know the server tick. ADR-0092. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -378,11 +378,14 @@ void intentions_and_actions(const Files& f) {
|
||||
auto a = h.connect(h.issuer.grant(alice, 1));
|
||||
CHECK(h.settled(*a) && must(a->welcome()).server_tick == 100 && a->server_tick() == 100);
|
||||
// Intention: a receipt, then the simulated watermark once its tick runs.
|
||||
CHECK(a->send_intention(101, 10, -10) == 1u);
|
||||
// Datagrams may be refused until the QUIC datagram extension is negotiated: retry.
|
||||
std::optional<std::uint64_t> first;
|
||||
CHECK(h.until([&] { return (first = a->send_intention(101, 10, -10)).has_value(); }));
|
||||
CHECK(first == 1u);
|
||||
std::vector<IntentionReceipt> receipts;
|
||||
CHECK(h.until([&] { return !(receipts = a->take_intention_receipts()).empty(); }));
|
||||
CHECK(receipts[0] == IntentionReceipt{1, AdmitStatus::admitted, 100});
|
||||
CHECK(!a->simulated());
|
||||
CHECK(a->simulated().value_or(SimulatedThrough{}).sequence == 0); // Ticks only, so far.
|
||||
CHECK(a->send_intention(150, 0, 0) == 2u);
|
||||
CHECK(h.until([&] { return !(receipts = a->take_intention_receipts()).empty(); }));
|
||||
CHECK(receipts[0].status == AdmitStatus::outside_window);
|
||||
@@ -434,7 +437,7 @@ void intentions_and_actions(const Files& f) {
|
||||
CHECK(h.until([&] { return !(outcomes = c->take_action_outcomes()).empty(); }));
|
||||
CHECK(outcomes[0].result == ActionResult::not_committed);
|
||||
// Intentions of an old epoch are refused.
|
||||
CHECK(c->send_intention(h.tick + 1, 0, 0));
|
||||
CHECK(h.until([&] { return c->send_intention(h.tick + 1, 0, 0).has_value(); }));
|
||||
CHECK(h.until([&] { return !(receipts = c->take_intention_receipts()).empty(); }));
|
||||
CHECK(receipts[0].status == AdmitStatus::admitted); // c is in epoch 6.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user