Skip to content

Handle stdout EPIPE failures consistently #454

Open

Description

@m-aebrer

Summary

Stdout writes do not have repository-wide stream error handling, so a severed pipe can surface as an uncaught EPIPE exception, including while queued writes flush after backpressure.

Context

Discovered while reviewing #452. The exposure predates that pull request and is broader than its dashboard RPC backpressure scope, so it was deferred.

Current Behavior

The output guard writes without an error callback or stdout error listener. A closed reader can therefore terminate the process with an uncaught stream error rather than a concise actionable diagnostic.

Desired Behavior

Define and test a consistent loud-failure policy for stdout stream errors across direct and takeover/raw-writer routes, preserving nonzero termination and actionable diagnostics.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions