Skip to content

Conversation

@not-matthias
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes working directory handling and error propagation in the perf runner for wall-time benchmarking. The changes ensure that commands wrapped with perf profiling execute in the correct working directory, and that pipeline failures are properly detected.

  • Added set -o pipefail to the shell command to ensure pipeline failures are caught
  • Preserved working directory when wrapping commands for perf profiling
  • Added comprehensive tests for working directory handling and failure detection

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/run/runner/helpers/command.rs Added get_current_dir() getter method to expose the working directory from CommandBuilder
src/run/runner/wall_time/perf/mod.rs Added set -o pipefail to shell command and preserved working directory when wrapping commands for perf
src/run/runner/tests.rs Added tests for working directory preservation and command failure detection with both perf enabled and disabled

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@not-matthias not-matthias force-pushed the cod-1652-error-no-walltime-data-found-in-processed-report branch from 54390a2 to 3bf0cff Compare November 10, 2025 11:54
@not-matthias not-matthias merged commit 3bf0cff into main Nov 10, 2025
9 checks passed
@not-matthias not-matthias deleted the cod-1652-error-no-walltime-data-found-in-processed-report branch November 10, 2025 14:22
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.

3 participants