Skip to content

multi-server: one profiling run index per make invocation - #5919

Open
marc-casavant wants to merge 1 commit into
masterfrom
dev-marc-casavant/fix-profiling-ci-run-indexing
Open

multi-server: one profiling run index per make invocation#5919
marc-casavant wants to merge 1 commit into
masterfrom
dev-marc-casavant/fix-profiling-ci-run-indexing

Conversation

@marc-casavant

Copy link
Copy Markdown
Contributor

This change ensures all profiling test results are generated and saved in a directory structure that uses a single run index per make invocation.

Without this change, when tests run in parallel (-j), results from one invocation could scatter across several indexes. This is because the previous implementation computed the index inside each test's recipe.

The index is now calculated once at makefile parse time and before any tests are run, calculated from the workflow run number in CI, highest existing plus one locally.

There's also a minor edit in the README to fix the directory structure of the profiling results.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

Claude Code Review is paused for this repository. To reconnect it, an admin of this repository's GitHub organization (or the account owner, for personal repositories) who can also manage your Claude organization's Code Review settings needs to re-link GitHub in Code Review settings. This is a one-time step.

Tip: disable this comment in your organization's Code Review settings.

@marc-casavant
marc-casavant requested a review from arr2036 August 11, 2026 17:22
@@ -12,7 +12,7 @@
# PROFILING_RESULT_PATH.
# - PROFILING_RESULT_MODE=<ci|dev> Profiling output layout (only meaningful when
# MODE=profiling). Default `ci`.
# ci: PROFILING_RESULT_ROOT/<suite>/<test>/<branch>/<commit>/<run-index>
# ci: PROFILING_RESULT_ROOT/<branch>/<commit>/<run-index>/<suite>/<test>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should just be <suite>/<test>

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