Skip to content

fix(pipeline): set AGENTV_RUN_TIMESTAMP so CLI targets share one output folder#795

Merged
christso merged 1 commit intomainfrom
fix/pipeline-run-shared-timestamp
Mar 27, 2026
Merged

fix(pipeline): set AGENTV_RUN_TIMESTAMP so CLI targets share one output folder#795
christso merged 1 commit intomainfrom
fix/pipeline-run-shared-timestamp

Conversation

@christso
Copy link
Copy Markdown
Collaborator

Problem

\�gentv pipeline run\ invoked CLI targets in parallel without setting \AGENTV_RUN_TIMESTAMP, causing each test case to create a separate timestamped output directory. For a 5-test eval, this produced 5 output folders instead of 1.

The \�gentv eval\ command (CLI mode) already sets this env var once at run start (
un-eval.ts:766-770), so CLI mode doesn't have this issue.

Fix

Apply the same pattern in \pipeline/run.ts: set \AGENTV_RUN_TIMESTAMP\ once before invoking CLI targets, so all targets within a single pipeline run share one output folder.

Verification

  • All 349 tests pass
  • Build, typecheck, lint all pass
  • Pre-push hooks all pass

…ut folder

pipeline run invoked CLI targets in parallel without setting
AGENTV_RUN_TIMESTAMP, causing each test case to create a separate
timestamped output directory. The agentv eval command already sets
this env var once at run start (run-eval.ts:766-770).

Apply the same pattern in pipeline/run.ts so all targets within a
single pipeline run share one output folder.
@christso christso merged commit 1c62135 into main Mar 27, 2026
2 checks passed
@christso christso deleted the fix/pipeline-run-shared-timestamp branch March 27, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant