Skip to content

fix(bench): missing symlink, jq overflow, and worktree cleanup#247

Merged
avihut merged 1 commit intomasterfrom
fix/benchmarks
Feb 21, 2026
Merged

fix(bench): missing symlink, jq overflow, and worktree cleanup#247
avihut merged 1 commit intomasterfrom
fix/benchmarks

Conversation

@avihut
Copy link
Owner

@avihut avihut commented Feb 21, 2026

Summary

Fixes three benchmark CI failures from the latest run (6/9 passed, 3 failed):

  • branch_delete (exit 127): Missing git-worktree-branch-delete symlink and gwtbd shortcut in setup/rust
  • package_results (exit 126): jq "Argument list too long" — accumulated JSON in a shell variable exceeded ARG_MAX. Now uses a temp file with --slurpfile
  • checkout_with_hooks (exit 128): Worktree cleanup between three-way runs not forceful enough — added --force to worktree remove, reordered rm before prune
  • workflow_full (exit 1): Root cause unknown without output — added --show-output to hyperfine in CI for debugging

Test plan

  • Merge and verify the bench workflow passes with more scenarios succeeding
  • If workflow_full still fails, --show-output will reveal the cause in logs

🤖 Generated with Claude Code

Three fixes for CI benchmark failures:

1. Add missing git-worktree-branch-delete symlink (and gwtbd shortcut)
   in setup/rust — branch_delete scenario failed with exit 127

2. Fix package_results.sh jq "Argument list too long" — the accumulated
   JSON in a shell variable exceeded ARG_MAX. Now uses a temp file
   instead of passing via --argjson

3. Harden worktree cleanup in checkout scenarios — use --force on
   worktree remove and reorder rm before prune for reliable cleanup
   in three-way mode

4. Add --show-output to hyperfine in CI for better failure debugging

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@avihut avihut added this to the v1.1.0 milestone Feb 21, 2026
@avihut avihut added the fix Bug fix label Feb 21, 2026
@avihut avihut self-assigned this Feb 21, 2026
@avihut avihut merged commit b08edf6 into master Feb 21, 2026
6 checks passed
@avihut avihut deleted the fix/benchmarks branch February 21, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant