Skip to content

feat: add benchmark manifest, failure logs, and shellcheck CI - #5

Merged
binbinao merged 2 commits into
mainfrom
feat/benchmark-repro-ci
May 25, 2026
Merged

binbinao merged 2 commits into
mainfrom
feat/benchmark-repro-ci

Conversation

@binbinao

Copy link
Copy Markdown
Owner

Summary

  • add manifest.json generation for each benchmark run with run metadata and agent versions
  • keep test.log only when problem tests fail, and print log path in benchmark output
  • add ShellCheck GitHub Actions workflow and support env-configurable agent CLI binaries
  • update README with environment variable overrides and benchmark artifact docs

Test plan

  • for f in $(rg --files -g '*.sh'); do bash -n "$f" || exit 1; done
  • benchmark/benchmark.sh --help >/dev/null
  • Run benchmark/benchmark.sh --agents codex --suite fizzbuzz in a configured environment and confirm manifest.json is generated
  • Trigger a failing benchmark case and confirm test.log is preserved and path is printed

Closes #1
Closes #2
Closes #3
Closes #4

Made with Cursor

binbinao and others added 2 commits May 25, 2026 20:56
Add benchmark run manifest metadata, preserve test logs on failures, and introduce a shellcheck workflow to catch shell regressions early. Also allow agent CLI binaries to be overridden via environment variables for easier cross-environment setup.

Fixes #1
Fixes #2
Fixes #3
Fixes #4

Co-authored-by: Cursor <cursoragent@cursor.com>
Validate AGENT_*_BIN values with a safe character policy and remove eval-based version execution to prevent shell injection and parsing regressions. Also document that overrides must be a single executable path.

Co-authored-by: Cursor <cursoragent@cursor.com>
@binbinao
binbinao merged commit 86505e7 into main May 25, 2026
1 check failed
@binbinao
binbinao deleted the feat/benchmark-repro-ci branch May 25, 2026 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant