Skip to content

diag: log on writer/reader exits in driver bridge + orch server#55

Merged
martinjms merged 1 commit intomainfrom
feat/orchestrated-mode-diagnostics
May 2, 2026
Merged

diag: log on writer/reader exits in driver bridge + orch server#55
martinjms merged 1 commit intomainfrom
feat/orchestrated-mode-diagnostics

Conversation

@martinjms
Copy link
Copy Markdown
Collaborator

Diagnostic-only PR — the headline AWS run consistently shows drivers disconnecting after the first 2-3 commands, but without exit logs we can't tell whether the writer task on the driver side or the orchestrator side is dying first.

Adds eprintln! on every exit point of the writer/reader loops so the next AWS run produces actionable evidence in container logs.

No behavior change. All 25 tests still pass.

The headline AWS run consistently shows: first 2 commands ACK fully,
then every subsequent command reports 0 acks / 12 missing — drivers
disconnect after handling a few commands. Without logs we can't tell
whether the writer task on the driver side or the orchestrator side
is dying first, or whether it's a WS send error vs a channel-closed
condition.

Adds eprintln! on every exit point of the writer/reader loops so
the next AWS run produces actionable evidence in container logs.

No behavior change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@martinjms martinjms merged commit e0a6bbf into main May 2, 2026
1 check passed
@martinjms martinjms deleted the feat/orchestrated-mode-diagnostics branch May 2, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant