Repository navigation
fix: run the UI review eval's smoke test without seeding the Codex judge - #6873
Merged
Merged
Conversation
The smoke test called the eval's whole `beforeAll`, whose last step seeds the judge's home: `screenshot_judge` resolves the Codex CLI and links the host's Codex login. The dev-tests job has neither, so the test failed on that step before it checked any capture. The capture now lives in `prepareCandidates`. `beforeAll` runs it before seeding the judge, and the smoke test runs it alone, so the test checks the same packets without needing Codex. A real eval run still seeds the judge as before. Closes #6868
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dev/tests/node/test_ui_review_setup.cjscalled the eval's wholebeforeAll. The last step ofbeforeAllseeds the judge's home:screenshot_judgeresolvescodex_program()and symlinks the host's Codexauth.json. Thedev-testsjob has no Codex CLI and no login, so the smoke test failed at the seed after the captures had already run, and none of its packet assertions ran (run 45159811021). Installing Codex in the job would not have been enough, because the seed also needs a login.This PR moves the site staging and candidate capture into an exported
prepareCandidates(suite).beforeAllruns it and then seeds the judge, so a real eval run behaves as before. The smoke test calls onlyprepareCandidates, so it checks the same packets without needing Codex. The test no longer callsafterAll: that only removed the judge seed and wrote a grading summary, and the test never created a seed.Verification so far
codexon PATH, the judge seed fails with the sameClickExceptionas the CI run.prepareCandidatestolaunchChromium, with no Codex lookup in between.socket()is refused for AF_UNIX sockets.dev-testsruns only onschedule, so this PR's own CI won't run the test either. It counts as fixed only once the next scheduledcirun onmainafter this merges showstest:evalspassing.oxfmtis clean on both changed JS files.Cause of the failure reported in #6867.
Closes #6868 — automated triage