Add minimal batch output with --batch-full-output opt-in#594
Draft
dnagoda wants to merge 1 commit into
Draft
Conversation
This was referenced Jul 6, 2026
Batch mode emitted the full FunctionRunResult for every input, including the echoed input, function name, and size. Parity replay only needs the run outcome, so default batch output is now a minimal record (success, instructions, memory_usage, logs, output). Add --batch-full-output to opt back into the complete FunctionRunResult per line. Extend integration coverage for both the minimal default and the full-output flag. Verified with: - cargo test batch_ - cargo test Assisted-By: devx/c659e918-9568-4750-b122-e3890447348a
5fea7f9 to
3f69067
Compare
11950bb to
8e56b0f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📚 Stack (bottom → top)
--batch-full-outputopt-inWhy
Batch mode emitted the full
FunctionRunResultper input — including the echoedinput, function name, and size. Parity replay only needs the run outcome, and
the extra fields bloat the JSONL output for large runs.
What
success,instructions,memory_usage,logs,output.--batch-full-outputto opt back into the completeFunctionRunResultper line.
full-output flag.
Single-run output is unaffected.
Testing
cargo test batch_cargo test