Skip to main content

Module buffers

Module buffers 

Source
Expand description

Buffer size limits for output handling and memory management.

Constantsยง

MANAGED_SUBPROCESS_CAPTURE_MAX_BYTES
Maximum bounded capture size for managed subprocess stdout/stderr tails.
MANAGED_SUBPROCESS_CI_CAPTURE_MAX_BYTES
Maximum bounded capture size for CI gate stdout/stderr tails.
MAX_ANSI_BUFFER_SIZE
Maximum size for ANSI buffer (10MB). Reduced from 100MB to prevent memory pressure during runner execution.
MAX_BUFFER_SIZE
Maximum buffer size for stream processing (10MB). Reduced from 100MB to prevent memory pressure during long-running tasks.
MAX_INSTRUCTION_BYTES
Maximum instruction file size (128KB).
MAX_LINE_LENGTH
Maximum line length before truncation (10MB). Reduced from 100MB to prevent memory pressure with runaway runner output.
MAX_LOG_LINES
Maximum log lines to retain for interactive log viewers.
OUTPUT_TAIL_LINES
Number of output tail lines to display.
OUTPUT_TAIL_LINE_MAX_CHARS
Maximum characters per output tail line.
TIMEOUT_STDOUT_CAPTURE_MAX_BYTES
Maximum stdout capture size for timeouts (128KB).
TOOL_VALUE_MAX_LEN
Maximum tool value length before truncation.