Add M10.8c-2 client handoff switch and evo-server handoff configuration
Foundation / checks (deploy) (push) Successful in 3m20s
Foundation / checks (ecs) (push) Successful in 2m0s
Foundation / checks (client) (push) Failing after 12m9s
Foundation / checks (network) (push) Successful in 13m2s
Foundation / checks (tsan) (push) Successful in 8m7s
Foundation / checks (checks) (push) Successful in 32m1s
Foundation / checks (postgres) (push) Successful in 42m43s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

ADR-0096. The engineering client follows a HandoffOffer into the next region
with its ticket (no grant, no pause, the view kept) and a Redirect to the
probe's owner, picking grants by region claim in rising serial order.
evo-server gains --m10-area, --m10-handoff-key and --m10-neighbour (dev
only), wiring the PostgreSQL probe and handoff ledgers; the probe tool writes
multi-region bundles and reports handoffs and redirects.

Refreshes the dev session window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-06 21:56:42 -04:00
co-authored by Claude Opus 5.5
parent a7a3d12283
commit dabeee8e8b
14 changed files with 635 additions and 129 deletions
+35
View File
@@ -4823,3 +4823,38 @@ Not done:
Deployed v3 servers refuse v4 clients until redeployed; v12 and v13 need a rebuilt
migrations image.
## 2026-10-06 — M10.8c-2 client switch and handoff configuration (ADR-0096)
Implemented:
- the engineering client follows handoff offers (ticket, no grant, no pause, view kept) and
redirects;
- grants are picked by region claim in rising serial order, and outdated grants are
discarded;
- views reset on a new region;
- evo-server `--m10-area`, `--m10-handoff-key` and `--m10-neighbour` (dev only), wiring the
PostgreSQL probe and handoff ledgers;
- the probe tool's multi-region `grants` and its `handoff`/`redirect` lines;
- the shared fixture `tests/fixtures/fake_handoff_world.hpp`.
Tests:
- `client-remote-session` `crossing_regions`:
- the GUI session walks into region 2 and continues there with the ticket (no grant used,
connected, marker past the border, probe owned by region 2);
- a second client's login at region 1 is redirected to region 2 and takes over.
It passed 3 times in a row on Linux, plus once more after a tidy fix.
Executed:
- **Linux GCC 14:**
- `postgres-check.sh` with QUIC: 21 suites;
- presets `quic` 4/4 and `client-network` 16/16.
- **Linux Clang 19:** clang-tidy 19 on the client app, panels, remote test, probe, QUIC
session test and evo-server `main.cpp` with the bridge (one finding fixed); clang-format
19.
- **Windows MSVC 19.44:** presets `quic` 4/4 and `client-network` 14/14.
Not done:
- real two-process handoffs on PostgreSQL with kills (10.8d);
- a GUI run across regions on evolution-dev (one dev region only; needs v4 and v13
deployed).