Skip to content

docs: correct payload RECEIPT stdout/stderr cap to 1 MB#303

Merged
maximelb merged 1 commit into
masterfrom
fix-payload-receipt-size
Jul 12, 2026
Merged

docs: correct payload RECEIPT stdout/stderr cap to 1 MB#303
maximelb merged 1 commit into
masterfrom
fix-payload-receipt-size

Conversation

@maximelb

Copy link
Copy Markdown
Contributor

The Payloads page said STDOUT/STDERR come back in the RECEIPT event "up to ~10 MB", but the run task hardcodes the max size sent to the sensor at 1 MB, which is what the sensor enforces when capturing the output buffers. Corrected to 1 MB; the existing guidance to pipe larger output to a file and use log_get stays.

Follow-up from customer questions on run receipt semantics (same thread that prompted #302).

🤖 Generated with Claude Code

https://claude.ai/code/session_016UqKFhW4MXA1B33f6ohJ8D

The run task hardcodes MAX_SIZE to 1 MB (legion_tasking-go
service/command_parser/command/run.go), which is the cap the sensor
applies to the STDOUT/STDERR buffers returned in the RECEIPT. The page
claimed ~10 MB.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016UqKFhW4MXA1B33f6ohJ8D
@maximelb maximelb merged commit e4b739c into master Jul 12, 2026
7 checks passed
@maximelb maximelb deleted the fix-payload-receipt-size branch July 12, 2026 00:59
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.

2 participants