Repository navigation
feat(ci): keep each eval run's final reply in the dispatched suite artifact - #18676
Conversation
…tifact A dispatched suite run of pr-run-plugin-evals.yml now writes last-messages.jsonl beside each results.json: one line per case, arm and run with the kept trace's final reply. last-messages.mjs runs lib/publish-gate.mjs scanLeak on the file first and, on a block, writes nothing and prints a warning naming only the rule, so the rest of the artifact still uploads. Pull request and compare runs write no replies. Closes #18674 Refs: #18609 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UJUn7LPUb4rRDJ2JhJRGZf
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 32d6b103dd
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
claude-security-review reviewed Security review: PR #18676 (incremental, blocking only)No security issues found. I read every hunk of both files in scope (changes since
Neither file matches a listed trusted path. The earlier reviews of the rest of the PR still apply, and they had no findings, so there is nothing to restate. This review was blocking only: an earlier head was already reviewed, so only CRITICAL and IMPORTANT findings would be reported. Spend: none. The change is a local unit test with no model calls. critical-findings: 0 |
|
claude-review reviewed Code review: no blocking findings (incremental, blocking only)This lane has already reviewed an earlier head of this PR (
Test soundness, checked against the head code:
Closing issue #18674: the earlier reviews found every acceptance criterion met, and this push changes no code path any criterion relies on. Spend: none. The change touches only a test and a fixture. Loosened checks: the change loosens no check. The prompt gave no Loosened checks would be marked: fail (bundled default); patterns: 0 Embedded text: the PR context contains no instructions aimed at this lane. Verifier dropped 0 of 0 candidates. |
The fixture is dispatched run 45302248916's wizard results.json, trimmed to one run per arm: absolute tracePaths under the runner's eval temp folder, which run-validity.py reads in the same step. Co-Authored-By: Claude Opus 5.5 <[email protected]>
machine-specific-paths flags /home/<user>. The dropped assertion checked only the fixture's own text; the test rewrites both tracePaths. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closes #18674
Refs: #18609
Summary
A dispatched suite run of
pr-run-plugin-evals.ymlnow uploads each eval run's final reply. The replies go in<plugin>/last-messages.jsonlbesideresults.json, inside theeval-browser-<run id>-<attempt>artifact the run already uploads with 3-day retention. With the replies, failing graders and judges can be fixed against what the model said. This is option (A) of the owner's "Eval replies in CI artifacts" decision (melodic-software/architecture#221). This PR builds the capture only. The re-run of the failing cases is separate work.Fix
.github/scripts/plugin-eval/last-messages.mjswrites one line per case, arm and run:{case, arm, run, last_message}. The reply is the kept trace'sresulttext, else its last assistant text, elsenull, read the same way ascalibrate-judge.py'strace_reply.lib/publish-gate.mjsscanLeakreads it. That is the same scanner thescan-uploadstep already runs over the artifact. If the scan blocks, no file is written and a::warning::names only the rule, so the rest of the artifact still uploads. No reply is ever printed to the log or the summary.DISPATCHEDblock of "Summarize the results" in both Run Eval and Run Eval Subscription. Label-started pull request runs skip that block, and compare mode starts neither job, so neither writes replies.docs/review/evals.md"Reading a result" now says where the replies are and how long they are kept.Verification
node --test --test-concurrency=4 .github/scripts/plugin-eval/last-messages.test.mjs .github/scripts/plugin-eval/workflow.test.mjs .github/scripts/plugin-eval/credential-legs.test.mjs: 28 pass, 0 fail. The new tests cover reply extraction, the scan gate (a built-at-run-timesk-ant-key withholds the file and stays out of the output), usage errors, and both workflow call sites.actionlinton the workflow andmarkdownlint-cli2ondocs/review/evals.md: clean.Related
🤖 Generated with Claude Code