MCPcopy Create free account
hub / github.com/codehamr/codehamr / TestBashBoundsRunawayOutput

Function TestBashBoundsRunawayOutput

internal/tools/bash_test.go:52–70  ·  view source on GitHub ↗

TestBashBoundsRunawayOutput: a firehose command must not grow an unbounded buffer (the old CombinedOutput OOM-killed the whole TUI on `cat big.iso` well before the timeout could react). The capture keeps head+tail with an OMITTED marker between, mirroring ctx.Truncate's framing, and preserves the ve

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

BashFunction · 0.85

Tested by

no test coverage detected