Skip to content

run: stdout is unbounded while stderr is capped #46

Description

@JumpTechCode

stderrTail bounds what the adapter keeps from stderr, with the reasoning that a harness under debugging flags can produce output without limit and is held only by a wall-clock cap. The same reasoning applies to stdout, which is a plain bytes.Buffer.

It cannot be tailed — the result JSON has to parse whole — so the fix is a cap with overflow resolving to StopUnknown: output too large to read is output nobody can classify, which is the honest answer and already a modelled one.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions