[ci] Fetch build and CPU test runner dynamically from therock-ci-config - #256
Draft
lumachad wants to merge 1 commit into
Draft
[ci] Fetch build and CPU test runner dynamically from therock-ci-config#256lumachad wants to merge 1 commit into
lumachad wants to merge 1 commit into
Conversation
lumachad
marked this pull request as draft
August 6, 2026 15:13
lumachad
force-pushed
the
users/lumachad/amd-staging/use_runner_from_ci_config
branch
2 times, most recently
from
August 6, 2026 19:13
b9bb3bc to
a43e9c2
Compare
lumachad
force-pushed
the
users/lumachad/amd-staging/use_runner_from_ci_config
branch
from
August 6, 2026 19:15
a43e9c2 to
ac936bc
Compare
Replace hardcoded runner labels (azure-linux-scale-rocm in the build job, aws-linux-scale-rocm-prod in the CPU test job) with dynamic selection driven by ROCm/therock-ci-config's runner-config.json. The setup job in therock-ci.yml now checks out therock-ci-config and reads build_runners.linux.default, picking the highest-weight entry via ci_config_api.py. The result is passed as build_runs_on to therock-ci-linux.yml, which accepts it as a new workflow_call input (with a safe fallback default). therock-test-packages.yml applies the same logic in configure_test_matrix to select the CPU runner dynamically, replacing the previously hardcoded label in the test_runs_on expression. Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
lumachad
force-pushed
the
users/lumachad/amd-staging/use_runner_from_ci_config
branch
from
August 6, 2026 23:52
73723d9 to
aa7fc34
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
azure-linux-scale-rocmin the build job with a dynamic runner label read fromROCm/therock-ci-config'srunner-config.json(build_runners.linux.default, highest-weight entry).aws-linux-scale-rocm-prodin the CPU test job with the same dynamic selection.setupjob intherock-ci.ymlchecks outtherock-ci-configand selects the runner viaci_config_api.py, passing it as a newbuild_runs_oninput totherock-ci-linux.yml.therock-test-packages.yml'sconfigure_test_matrixjob applies the same logic and exposescpu_runs_onfor the CPU component'stest_runs_onexpression.aws-linux-scale-rocm-prodiftherock-ci-configis unavailable (e.g., in forks).Test plan
therock-ci-configfetch_test_configurations.pycontinue-on-error: truealready set)🤖 Generated with Claude Code