You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_ui_review_setup.cjs: the UI review eval's setup requires a Codex CLI the dev-tests job doesn't install #6868
dev-tests's pnpm run test:evals step fails in dev/tests/node/test_ui_review_setup.cjs ("setup captures every candidate's frozen contrast into a packet") with click.exceptions.ClickException: Codex tasks require the Codex CLI; install it, raised by codex_program() in dev/leaf_dev/arms.py.
Runs: scheduled run 45159811021 on c8ab9ec1df44, the first scheduled run after #6752 fixed the Chromium build this step failed on in the Nov 21 and Nov 22 runs. Earlier failures of this step (#6597, the Chromium build) stopped before this point, so this cause was hidden rather than newly introduced.
Diagnosis so far: the smoke test's header says no model is invoked, but beforeAll in evals/ui-review-detection/hooks.mjs calls leaf_dev.screenshot_judge.screenshot_judge, which resolves codex_program() to fill codex_path_override. The dev-tests job (.github/workflows/ci.yaml) installs no Codex CLI, so the setup fails before any capture is checked. The fix either keeps the setup from resolving the judge's CLI until a judge runs, or installs Codex in the job. A change to the workflow needs the control-plane owner's approval (running-tend, Landing).
I've opened a fix in #6873. The smoke test called the eval's full beforeAll, which ends by seeding the Codex judge: it resolves the CLI and links the host's auth.json. Installing Codex in the dev-tests job wouldn't have been enough, since that step also needs a login.
The capture is now its own export, prepareCandidates. beforeAll still runs it before seeding the judge, and the smoke test runs only the capture, so no workflow change is needed.
I confirmed the ClickException without Codex on PATH, and that the patched test reaches the browser launch without looking for Codex. The full test isn't verified yet. This sandbox can't start Chromium, and dev-tests runs only on the scheduled ci. The first scheduled run after #6873 merges is what verifies it.
Activity
leaf-agent commentedon Nov 23, 2026
I've opened a fix in #6873. The smoke test called the eval's full
beforeAll, which ends by seeding the Codex judge: it resolves the CLI and links the host'sauth.json. Installing Codex in thedev-testsjob wouldn't have been enough, since that step also needs a login.The capture is now its own export,
prepareCandidates.beforeAllstill runs it before seeding the judge, and the smoke test runs only the capture, so no workflow change is needed.I confirmed the
ClickExceptionwithout Codex on PATH, and that the patched test reaches the browser launch without looking for Codex. The full test isn't verified yet. This sandbox can't start Chromium, anddev-testsruns only on the scheduledci. The first scheduled run after #6873 merges is what verifies it.