Skip to content

Fix --exec-batch command order when batching#2041

Open
cyphercodes wants to merge 1 commit into
sharkdp:masterfrom
cyphercodes:fix-exec-batch-command-order
Open

Fix --exec-batch command order when batching#2041
cyphercodes wants to merge 1 commit into
sharkdp:masterfrom
cyphercodes:fix-exec-batch-command-order

Conversation

@cyphercodes

@cyphercodes cyphercodes commented Jun 29, 2026

Copy link
Copy Markdown

Summary

  • Preserve --exec-batch command order when multiple batch commands are split into batches.
  • Keep the existing streaming path for a single --exec-batch command.
  • Add a regression test and changelog entry.

Fixes #2033

Tests

  • cargo test test_exec_batch_multi_with_limit_preserves_command_order -- --nocapture
  • cargo test test_exec_batch -- --nocapture
  • cargo test
  • cargo clippy --all-targets --all-features -- -Dwarnings
  • cargo fmt --all -- --check
  • git diff --check

AI disclosure

Implemented with assistance from an AI coding tool; changes were reviewed and verified locally.

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.

[BUG] ---exec-batch doesn't always run commands in order

1 participant