carlos / platform Public

region-ha-p3b2-client-terminate

Window B step B0: region-group-fault/client.py send() called terminate-session in a finally block after every session. A completed NonInteractiveCommands session is already closed, so AWS answers "ValidationException: Session is not in a valid state". The resulting Uncertain replaced the framed result, so every client verb reported failure even when it worked.

The client now terminates a session only when start-session itself raised. Terminate errors are swallowed with one stderr line, and the original error is re-raised. The roll tool's timeout cleanup in Operator.call is also guarded, so a terminate failure there no longer replaces the timeout error.

A session-lifecycle audit of roll, probe and the client (findings in the report) found no other cleanup that can mask a session result. RED/GREEN tests run on the live-shaped fixtures; 227 offline tests pass.

Human

Fix: session cleanup never masks a result (window B, B0).

Commits 1
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity