Skip to content

compat/new2old: Fix record_dir#341

Merged
apaolillo merged 1 commit intomainfrom
fixrecorddir
Apr 2, 2026
Merged

compat/new2old: Fix record_dir#341
apaolillo merged 1 commit intomainfrom
fixrecorddir

Conversation

@apaolillo
Copy link
Copy Markdown
Collaborator

RunContext.record_dir was inheriting the results root from the fetch/build contexts instead of receiving the per-run data directory. The new2old adapter now passes record_data_dir explicitly to Stepper.run(), so benchmarks using the compat layer see the correct run-specific path.

RunContext.from_build() gains a record_dir parameter that overrides the inherited value when set. Stepper.run() forwards it.

A roadmap entry is added for hierarchical record_dir across all phases once the new API is finalized.

@apaolillo apaolillo requested a review from RobbeDGreef March 31, 2026 13:39
@apaolillo apaolillo self-assigned this Mar 31, 2026
RunContext.record_dir was inheriting the results root from the
fetch/build contexts instead of receiving the per-run data
directory.  The new2old adapter now passes record_data_dir
explicitly to Stepper.run(), so benchmarks using the compat
layer see the correct run-specific path.

RunContext.from_build() gains a record_dir parameter that
overrides the inherited value when set.  Stepper.run() forwards
it.

A roadmap entry is added for hierarchical record_dir across all
phases once the new API is finalized.

Signed-off-by: Antonio Paolillo <apaolill@gmail.com>
Copy link
Copy Markdown
Collaborator

@RobbeDGreef RobbeDGreef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@apaolillo apaolillo merged commit 64b16b3 into main Apr 2, 2026
2 checks passed
@apaolillo apaolillo deleted the fixrecorddir branch April 2, 2026 11:42
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.

2 participants