Add M10.5b snapshot wiring: sessions, evo-server, client and probe
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m54s
Foundation / checks (client) (push) Successful in 12m40s
Foundation / checks (network) (push) Successful in 11m27s
Foundation / checks (tsan) (push) Successful in 8m6s
Foundation / checks (checks) (push) Successful in 31m54s
Foundation / checks (postgres) (push) Successful in 40m43s
Foundation / server-image (push) Successful in 25s
Foundation / postgres-tools (push) Successful in 1m2s
Foundation / image (push) Successful in 2m32s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m54s
Foundation / checks (client) (push) Successful in 12m40s
Foundation / checks (network) (push) Successful in 11m27s
Foundation / checks (tsan) (push) Successful in 8m6s
Foundation / checks (checks) (push) Successful in 31m54s
Foundation / checks (postgres) (push) Successful in 40m43s
Foundation / server-image (push) Successful in 25s
Foundation / postgres-tools (push) Successful in 1m2s
Foundation / image (push) Successful in 2m32s
RegionSessions owns the replication server: interest and acks per session, a host-set default interest, and per-tick snapshots sized to each connection's datagram limit. evo-server builds each interest's view from the region's own habitat sites (default: the first site, radius 7). RegionSessionClient assembles, acknowledges and presents snapshots and can change its interest; the probe prints them. Loopback and real-process evidence. ADR-0093. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -4380,3 +4380,29 @@ tests; format check (only unrelated uncommitted files of the maintainer fail it)
|
||||
MSVC 19.44 preset `quic` build and CTest 4/4 (binaries rebuilt, timestamps checked).
|
||||
Not done: wiring into RegionSessions, evo-server and the clients (10.5b); the GUI client
|
||||
(10.5c).
|
||||
|
||||
## 2026-10-06 — M10.5b snapshot wiring (ADR-0093)
|
||||
|
||||
Implemented replication in `RegionSessions` (open/close with the session, `Interest`,
|
||||
`SnapshotAck`, default interest, `replicate` with per-connection datagram limits),
|
||||
snapshot assembly and acknowledgement in `RegionSessionClient`, the evo-server source (the
|
||||
region's habitat sites in the interest square, `query_environment` and
|
||||
`present_environment`), and probe options `--interest` and `--snapshots`.
|
||||
Loopback QUIC (`evo-quic-session-tests`): a 21 x 21 synthetic slice; the default interest
|
||||
(clamped to radius 7) arriving as 225 cells, none outside the square; a change reaching the
|
||||
client; acknowledgements keeping deltas (fresh baselines fewer than snapshots); a new
|
||||
interest replacing the view with the 25-cell square; the session staying open.
|
||||
Real processes (`tools/ci/postgres-check.sh`, evo-server with QUIC): snapshots of the test
|
||||
region's default interest (one habitat site), every cell in one slice and one 15 x 15
|
||||
square, a snapshot every tick (40 chunks, 8,888 bytes in 40 ticks); the probe printing
|
||||
snapshots and `snapshot-bytes` with three snapshots.
|
||||
Found and fixed during development: test cells requesting water without moisture (the
|
||||
client correctly refused the snapshot and closed); a local name hiding the fixture's
|
||||
`env()`; clang-tidy optional and return-value findings.
|
||||
Executed: Linux GCC 14 `postgres-check.sh` with EVO_BUILD_QUIC (20 suites); GCC preset
|
||||
`quic` CTest 4/4; session tests 10/10 repeated; Clang 19 ASan/UBSan session and network
|
||||
tests; clang-tidy 19 on sessions, client, replication, bridge, probe and tests; Windows MSVC
|
||||
19.44 preset `quic` build (including the probe) and CTest 4/4 (binaries rebuilt, timestamps
|
||||
checked). The repository format check fails only on `include/evo/server/session_window.hpp`
|
||||
(already on main, not part of this change).
|
||||
Not done: the GUI client (10.5c); deployment of v2 (the dev server still runs v1).
|
||||
|
||||
Reference in New Issue
Block a user