Implement M9.7 dev region sessions with durable no-effect intentions
Run a non-blocking TLS 1.3 session server inside evo-server's loop: environment views come from the region's own field/terrain stores with an explicitly empty organism presentation; admitted intentions ride the next synthetic input (content unchanged) and return a durable no-effect outcome from the host's final acknowledgement, or not_committed when dropped. Sessions are bound to their connection, epochs close stale sessions, and connections have bounded output, input rate and deadlines. SessionClient and evo-client --connect consume one single-use grant per Hello (refusals before admission keep it), reset to a fresh baseline on every session, keep stale views visible and report in-flight intentions as unknown after loss. evo-dev-session generates dev credentials, grant bundles and runs a restart probe. The dev deployment gains a drill-time, loopback-only listener with an optional Secret, enforced by the policy check, and tools/ops/session-drill.sh. Protocol v1 gains IntentOutcome and the capacity close reason before any deployment. ADR-0083 records the maintainer-confirmed decisions; M8-dev/stage remains not passed and no cluster change was made. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,9 @@ void run_region_lease_store_tests();
|
||||
void run_region_checkpoint_store_tests();
|
||||
void run_region_host_tests();
|
||||
void run_region_server_process_tests();
|
||||
#ifdef EVO_POSTGRES_SESSIONS
|
||||
void run_region_session_tests();
|
||||
#endif
|
||||
void run_region_recovery_tests();
|
||||
void run_region_ops_tests();
|
||||
void run_region_clone_tests();
|
||||
@@ -120,6 +123,10 @@ int main() {
|
||||
std::puts("region host integration passed");
|
||||
run_region_server_process_tests();
|
||||
std::puts("region server process integration passed");
|
||||
#ifdef EVO_POSTGRES_SESSIONS
|
||||
run_region_session_tests();
|
||||
std::puts("region dev session integration passed");
|
||||
#endif
|
||||
run_region_recovery_tests();
|
||||
std::puts("region recovery integration passed");
|
||||
run_region_ops_tests();
|
||||
|
||||
Reference in New Issue
Block a user