feat(cli): simplify eval output surface#1336
Merged
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
14352fd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8ea05d83.agentv.pages.dev |
| Branch Preview URL: | https://feat-av-eval-output-config-s.agentv.pages.dev |
97bf1a3 to
3c15564
Compare
3c15564 to
b14ea2c
Compare
b14ea2c to
14352fd
Compare
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.
Summary
Simplifies the
agentv evaloutput surface around one canonical run directory:--output <dir>/ configoutput.dirwrites the canonical run directory, always including<dir>/index.jsonlplus run/test artifacts.--export <file>writes optional flat copies such as JSONL, JUnit XML, YAML, or HTML without changing the canonical run directory.--out,--artifacts,--output-format, and configoutput.formatwith migration errors instead of silent reinterpretation.-oas the short alias for--output <dir>and rejects file-like--output results.xmlwith guidance to use--export results.xml.Migration Note
Breaking prerelease cleanup: callers using the old flat/result flags should migrate as follows:
--out results.jsonl->--output <run-dir> --export results.jsonl--artifacts artifacts->--output artifacts-o junit.xml --artifacts artifacts->--output artifacts --export junit.xml--output-format jsonl|yaml|html-> remove the flag; the canonical run directory always writesindex.jsonl, and extra formats use--export <file>output.format-> remove it; use configoutput.dironly for the run directoryKnown consumer audit:
--artifacts; migration is--output <dir>.--output .agentv/results/artifactsand remains aligned with the canonical directory contract.Rebase Status
After #1335 merged, this branch initially appeared clean only because the local
origin/mainwas stale at35263cd707a9a89c95728ae86beb7271b76f2358.git fetch origin --pruneupdatedorigin/maintof1162312cb7aa645653b51756acfbbed42426929, and this PR was rebased onto that commit.Conflict resolution:
apps/cli/src/commands/eval/run-eval.tsby keeping feat(cli): rerun captured task bundles #1335sourceMetadataByEvalFile/ rerun task-bundle metadata behavior and feat(cli): simplify eval output surface #1336 output-surface migration validation.Verification
Post-#1335 rebase verification on head
14352fd914f24e9c4f4450ed9681472b4bd7e9f8:bun run buildbun run typecheckbun run lintbun run validate:examplesbun test apps/cli/test/eval.integration.test.ts packages/core/test/evaluation/config.test.ts apps/cli/test/commands/eval/artifact-writer.test.ts apps/cli/test/commands/eval/task-bundle.test.ts apps/cli/test/commands/runs/rerun.test.ts--outexits 1 with migration guidance--artifactsexits 1 with migration guidance--output-formatexits 1 with migration guidance--output results.xmlexits 1 with--exportguidance--output <dir> --export export.jsonlexits 0 and writes<dir>/index.jsonlplus the flat exportgit diff --check origin/main...HEADav-33j.