Repository navigation
test(evals): fix or revert cases the CI sandbox blocks - #18734
Conversation
Install pinned goimports and typos on the eval runner for go-format and spelling. The goimports pin moves out of pr-require-checks into install-pinned-goimports.sh, which both workflows now call. typos comes from the ci-workflows typos action and is copied into /opt/tools/bin, since the eval sandbox denies RUNNER_TEMP. Fix: the docs-naming gate cases emit into tools/, because the sandbox masks scripts/ and .github; the visualization report-line graders accept the CI fallback line for a file medium. Revert six cases that cannot run in the CI sandbox: docs-hygiene setup-resolves-and-runs-the-binary, corrections codify-rules-ledger-accounts-for-every-rule, plugin-profiles setup-installs-only-after-yes, guardrails su-apply-headless-toggle-and-no-hooks, performance pr-ratchets-verified-spawn-count, and context7 lk-uncovered-bounded-fallback (no ctx7 pin exists). Refs: #18655 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #18734 (test(evals): fix or revert cases the CI sandbox blocks)I found no security issues in this pull request. What I checked
Eval case edits (docs-naming, visualization, plugin-profiles) and the
Deleted eval cases (context7, corrections, docs-hygiene, guardrails, performance, plugin-profiles
Copied file: PR context: it contains no embedded instructions aimed at this review. No manifests changed: no Spend: the extra installs add a few minutes of Actions time when go-format or spelling evals run on the existing runner type. That is not a billing change. critical-findings: 0 |
|
claude-review reviewed CI code review: PR #18734This PR fixes or removes the eval cases the CI sandbox blocked. It adds a shared I read all 37 files in scope. The deleted case files appear in the diff only, not in the list I counted. Their deletions are covered by the finding below. What I checked and found sound:
Blocking:
Closing issue: none. The PR has Verification: I ran nothing. The test, actionlint and local-install results in the PR body are the author's claims and I did not confirm them. The PR body also says no eval was run, so the new install steps and case fixes are untested in the sandbox. Spend (not a hold): the eval jobs gain a Go download and a Loosened checks would be marked: fail (default: the prompt has no Verifier dropped 0 of 1 candidates. |
Refs: #18655
Summary
Each eval case the CI sandbox blocked (class
ENVin the #18655 triage) is now fixed or removed, per the owner's fix-or-revert decision (owner-decisions.md L393). The repo-hygiene and bash-format shfmt rows are in #18727. The non-ENV rows are in #18726.Fix
su-apply-rerun-changes-nothing,su-check-goimports-path-no-version-flag/opt/tools/binwhen go-format is evaluatedsu-apply-repeat-changes-nothing,su-check-reports-entry-and-optionstyposaction holds the pin. The binary is copied into/opt/tools/binbecause the eval sandbox deniesRUNNER_TEMPgate-emits-and-names-unwired,gate-emitted-rule-file-hands-to-codify,gate-not-replaced-by-rulescripts/and.github, so the prompts ask for the gate intools/(emit-gate.sh --out-dir), and the graders and samples look thereviz-personal-override-medium,viz-team-file-mediumCI=truemakesview-settings.mjstreat the run as non-interactive, somedium: filefalls back to the terminal. The report-line graders also acceptview: terminal (fell back: file unreachable: non-interactive run). That line names no layer. In each scaffold only one layer setsfile, and the visualize lane has no default, sofile unreachablecan only come from that layersetup-resolves-and-runs-the-binaryPATH(/opt/tools/node_modules/.bin), and a scaffold cannot change the session'sPATHcodify-rules-ledger-accounts-for-every-rule.git/worktreesis read-only in the sandbox, andprove-check.shonly works throughgit worktree addsetup-installs-only-after-yes~/.claudeis read-only (EROFS) in the sandboxsu-apply-headless-toggle-and-no-hookspr-ratchets-verified-spawn-countratchet.py add, and no scaffold change avoids thatlk-uncovered-bounded-fallbackctx7installer (prerequisites.jsonuses@latest)The goimports pin (Go 1.27.4 with its SHA-256, goimports v0.52.0) moves out of an inline step in
pr-require-checks.ymlinto.github/scripts/lib/install-pinned-goimports.sh, and both workflows call it, the wayinstall-pinned-ffmpeg.shis shared.plugin-profiles/evals/setup-no-install-without-a-yesno longer points at the removed sibling's scaffold. Each changed plugin has abump: nonefragment.Loosened checks
plugins/visualization/evals/viz-personal-override-medium/case.yamlreport-line-personalandplugins/visualization/evals/viz-team-file-medium/case.yamlreport-line-teamnow also acceptview: terminal (fell back: file unreachable: non-interactive run).CI=truemakesplugins/visualization/lib/view-settings.mjsresolve non-interactively, somedium: filefalls back to the terminal and the printed line names no layer. The deciding layer is still fixed: only one layer in each scaffold setsfile, and thevisualization:visualizelane has no default (plugins/visualization/lib/view-registry.mjs:53).plugins/context7/evals/lk-uncovered-bounded-fallback/deleted: the runner has noctx7, and the repository pins no installer for it (plugins/context7/prerequisites.jsonusesctx7@latest).plugins/corrections/evals/codify-rules-ledger-accounts-for-every-rule/deleted:.git/worktreesis read-only in the eval sandbox, andprove-check.shproves only throughgit worktree add.plugins/docs-hygiene/evals/setup-resolves-and-runs-the-binary/deleted: the runner puts markdownlint-cli2 onPATH(/opt/tools/node_modules/.bin), which breaks the case's premise, and a scaffold cannot change the session'sPATH.plugins/guardrails/evals/su-apply-headless-toggle-and-no-hooks/deleted: the sandbox denied Read on the plugin-reconfiguration reference and network access to the CLI docs, and those sources hold every route the case grades.plugins/performance/evals/pr-ratchets-verified-spawn-count/deleted: the eval environment denied Bash partway through the run, beforeratchet.py add.plugins/plugin-profiles/evals/setup-installs-only-after-yes/deleted:~/.claudeis read-only (EROFS) in the sandbox, so the save and install the case grades cannot succeed.Each item follows the owner's fix-or-revert decision for cases that cannot run in CI: https://github.com/melodic-software/architecture/blob/4f147729e726cb622d9b14a903583ba773333a30/docs/owner-decisions.md#L393.
Verification
validate-cases.pyon the evals of visualization, docs-naming, docs-hygiene, corrections, plugin-profiles, guardrails, performance and context7: exit 0 and no FAIL in any of them. The WARNs are theallowed_toolsnotes these suites already had.check-matchers.pyon visualization and docs-naming: ok.node --test .github/scripts/plugin-eval/workflow.test.mjs: 17/17 pass.scripts/eval-leg-scripts.test.sh: 14/14 pass, including the new cases for the goimports script (SHA-256 mismatch refused, cached archive rechecked and not downloaded again, usage error).install-pinned-goimports.shchecked the Go archive, built goimports v0.52.0 into the bin dir and wrote both PATH lines.Related
🤖 Generated with Claude Code