Skip to content

feat(evaluator): expose benchmark variant to setup scripts - #352

Merged
JHWang-1997 merged 2 commits into
mainfrom
feat/351-benchmark-variant-env
Nov 5, 2026
Merged

JHWang-1997 merged 2 commits into
mainfrom
feat/351-benchmark-variant-env

Conversation

@zpzjzj

@zpzjzj zpzjzj commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Setup scripts currently receive the same environment for both benchmark groups, so they cannot choose different initialization commands. Inject framework-owned SKILL_UP_VARIANT from the scheduled task before runtime creation, making it available to setup and subsequent commands across none, Docker, and OpenSandbox.

Clone task environment maps to preserve isolation across parallel cases, variants, retries, and iterations. Reject SKILL_UP_VARIANT in environment.env; inherited host and MCP values are overridden by the actual task configuration. Non-benchmark runs retain with_skill, including an empty Skill list. Add English/Chinese branching examples and regression coverage without changing benchmark reporting or workspace restrictions.

Validation:

  • Formatting, vet, revive, and golangci-lint passed (make verify, 0 issues); commit hooks passed.
  • Race-enabled config/evaluator tests and Docker/OpenSandbox propagation tests passed.
  • make test: 83 Python tests and all Go packages except one existing runtime test passed. TestNoneRuntime_ExecStaleLockDoesNotHangNextCommand also fails on an unmodified HEAD snapshot in this environment (stale child reported as alive).

Closes #351

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T03:28:49.605420Z 44c2187 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@JHWang-1997 JHWang-1997 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@JHWang-1997
JHWang-1997 added this pull request to the merge queue Nov 5, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 5, 2026

@JHWang-1997 JHWang-1997 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Reviewed the setup-time injection, environment isolation, reserved-name validation, and none/Docker/OpenSandbox propagation. No actionable findings. Full go test -race ./... passes on macOS arm64 / Go 1.26.5; CI, Extended CI, CodeQL, and Docs checks are successful.

@JHWang-1997
JHWang-1997 added this pull request to the merge queue Nov 5, 2026
Merged via the queue into main with commit cef9da3 Nov 5, 2026
16 checks passed
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.

feat(evaluator): expose benchmark variant to setup scripts via environment

2 participants