Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/182579
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit af64f68 with merge base 0464301 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Why not add this to |
|
Adds a `ci-docker-hash` output to the job-filter reusable workflow, computed once via `git rev-parse HEAD:.ci/docker`. This is a prep no-op: no callers consume the output yet. The intent is to pass a versioned docker image tag to ARC-hosted jobs so they can skip the per-job `calculate-docker-image` step and pull the exact image directly. Authored by Claude. ghstack-source-id: 730aa69 Pull-Request: #182579
huydhn
left a comment
There was a problem hiding this comment.
LGTM! I will land pytorch/ci-infra#540 so we can test this out on CI
|
@pytorchbot merge -f "Lint is green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
And it works as expected, from https://github.com/pytorch/pytorch/actions/runs/25522529652/job/74910194109?pr=182894#step:2:5 Which indeed was a local hash at the time I've merged it |
Adds a `ci-docker-hash` output to the runner-determinator reusable workflow, computed once via `git rev-parse HEAD:.ci/docker`. This is a prep no-op: no callers consume the output yet. The intent is to pass a versioned docker image tag to ARC-hosted jobs so they can use the same versioned images as their non-ARC counterparts Test plan: pytorch#182894 - sparse checkout is still 1 sec, computed hash looks reasonable, need to merge the change first to understand if it'll pick them up Authored by Claude. Pull Request resolved: pytorch#182579 Approved by: https://github.com/huydhn
Adds a `ci-docker-hash` output to the runner-determinator reusable workflow, computed once via `git rev-parse HEAD:.ci/docker`. This is a prep no-op: no callers consume the output yet. The intent is to pass a versioned docker image tag to ARC-hosted jobs so they can use the same versioned images as their non-ARC counterparts Test plan: pytorch#182894 - sparse checkout is still 1 sec, computed hash looks reasonable, need to merge the change first to understand if it'll pick them up Authored by Claude. Pull Request resolved: pytorch#182579 Approved by: https://github.com/huydhn
_runner-determinator.yml checked out .github/scripts/runner_determinator.py from github.event.pull_request.head.sha, so PRs whose branch predates a change to the script (e.g. the "lf." -> "lf-" prefix rename, or the EC2 build-path removal in #189113/#189171) run a stale copy. That stale copy can emit a runner-label prefix main's build workflow no longer knows how to route (e.g. "lf.l-x86iavx512-8-64" - a dead EC2-era dotted prefix glued onto a post-#189113 ARC-only label), leaving the job stuck unroutable instead of just landing on the wrong fleet. The PR-head ref was introduced in #182579 only so ci-docker-hash reflects the PR's own .ci/docker tree, not to let PRs self-test determinator changes. Split the checkout in two: the script now comes from the default ref (main, or the merge commit for pull_request events, which still includes the PR's own edits to the script), while .ci/docker keeps using head.sha via a separate sparse checkout under pr-head/. This also removes the --help probing for --workflow-name, since the script is no longer stale relative to main and always supports the flag. Co-Authored-By: Claude Sonnet 5 <[email protected]> Signed-off-by: Thanh Ha <[email protected]>
_runner-determinator.yml checked out .github/scripts/runner_determinator.py from github.event.pull_request.head.sha, so PRs whose branch predates a change to the script (e.g. the "lf." -> "lf-" prefix rename, or the EC2 build-path removal in #189113/#189171) run a stale copy. That stale copy can emit a runner-label prefix main's build workflow no longer knows how to route (e.g. "lf.l-x86iavx512-8-64" - a dead EC2-era dotted prefix glued onto a post-#189113 ARC-only label), leaving the job stuck unroutable instead of just landing on the wrong fleet. The PR-head ref was introduced in #182579 only so ci-docker-hash reflects the PR's own .ci/docker tree, not to let PRs self-test determinator changes. Split the checkout in two: the script now comes from the default ref (main, or the merge commit for pull_request events, which still includes the PR's own edits to the script), while .ci/docker keeps using head.sha via a separate sparse checkout under pr-head/. This also removes the --help probing for --workflow-name, since the script is no longer stale relative to main and always supports the flag. Pull Request resolved: #189782 Approved by: https://github.com/huydhn, https://github.com/jeanschmidt Co-authored-by: Claude Sonnet 5 <[email protected]>
Adds a `ci-docker-hash` output to the runner-determinator reusable workflow, computed once via `git rev-parse HEAD:.ci/docker`. This is a prep no-op: no callers consume the output yet. The intent is to pass a versioned docker image tag to ARC-hosted jobs so they can use the same versioned images as their non-ARC counterparts Test plan: pytorch#182894 - sparse checkout is still 1 sec, computed hash looks reasonable, need to merge the change first to understand if it'll pick them up Authored by Claude. Pull Request resolved: pytorch#182579 Approved by: https://github.com/huydhn
_runner-determinator.yml checked out .github/scripts/runner_determinator.py from github.event.pull_request.head.sha, so PRs whose branch predates a change to the script (e.g. the "lf." -> "lf-" prefix rename, or the EC2 build-path removal in pytorch#189113/pytorch#189171) run a stale copy. That stale copy can emit a runner-label prefix main's build workflow no longer knows how to route (e.g. "lf.l-x86iavx512-8-64" - a dead EC2-era dotted prefix glued onto a post-pytorch#189113 ARC-only label), leaving the job stuck unroutable instead of just landing on the wrong fleet. The PR-head ref was introduced in pytorch#182579 only so ci-docker-hash reflects the PR's own .ci/docker tree, not to let PRs self-test determinator changes. Split the checkout in two: the script now comes from the default ref (main, or the merge commit for pull_request events, which still includes the PR's own edits to the script), while .ci/docker keeps using head.sha via a separate sparse checkout under pr-head/. This also removes the --help probing for --workflow-name, since the script is no longer stale relative to main and always supports the flag. Pull Request resolved: pytorch#189782 Approved by: https://github.com/huydhn, https://github.com/jeanschmidt Co-authored-by: Claude Sonnet 5 <[email protected]>
_runner-determinator.yml checked out .github/scripts/runner_determinator.py from github.event.pull_request.head.sha, so PRs whose branch predates a change to the script (e.g. the "lf." -> "lf-" prefix rename, or the EC2 build-path removal in pytorch#189113/pytorch#189171) run a stale copy. That stale copy can emit a runner-label prefix main's build workflow no longer knows how to route (e.g. "lf.l-x86iavx512-8-64" - a dead EC2-era dotted prefix glued onto a post-pytorch#189113 ARC-only label), leaving the job stuck unroutable instead of just landing on the wrong fleet. The PR-head ref was introduced in pytorch#182579 only so ci-docker-hash reflects the PR's own .ci/docker tree, not to let PRs self-test determinator changes. Split the checkout in two: the script now comes from the default ref (main, or the merge commit for pull_request events, which still includes the PR's own edits to the script), while .ci/docker keeps using head.sha via a separate sparse checkout under pr-head/. This also removes the --help probing for --workflow-name, since the script is no longer stale relative to main and always supports the flag. Pull Request resolved: pytorch#189782 Approved by: https://github.com/huydhn, https://github.com/jeanschmidt Co-authored-by: Claude Sonnet 5 <[email protected]>
_runner-determinator.yml checked out .github/scripts/runner_determinator.py from github.event.pull_request.head.sha, so PRs whose branch predates a change to the script (e.g. the "lf." -> "lf-" prefix rename, or the EC2 build-path removal in pytorch#189113/pytorch#189171) run a stale copy. That stale copy can emit a runner-label prefix main's build workflow no longer knows how to route (e.g. "lf.l-x86iavx512-8-64" - a dead EC2-era dotted prefix glued onto a post-pytorch#189113 ARC-only label), leaving the job stuck unroutable instead of just landing on the wrong fleet. The PR-head ref was introduced in pytorch#182579 only so ci-docker-hash reflects the PR's own .ci/docker tree, not to let PRs self-test determinator changes. Split the checkout in two: the script now comes from the default ref (main, or the merge commit for pull_request events, which still includes the PR's own edits to the script), while .ci/docker keeps using head.sha via a separate sparse checkout under pr-head/. This also removes the --help probing for --workflow-name, since the script is no longer stale relative to main and always supports the flag. Pull Request resolved: pytorch#189782 Approved by: https://github.com/huydhn, https://github.com/jeanschmidt Co-authored-by: Claude Sonnet 5 <[email protected]>
Adds a `ci-docker-hash` output to the runner-determinator reusable workflow, computed once via `git rev-parse HEAD:.ci/docker`. This is a prep no-op: no callers consume the output yet. The intent is to pass a versioned docker image tag to ARC-hosted jobs so they can use the same versioned images as their non-ARC counterparts Test plan: pytorch#182894 - sparse checkout is still 1 sec, computed hash looks reasonable, need to merge the change first to understand if it'll pick them up Authored by Claude. Pull Request resolved: pytorch#182579 Approved by: https://github.com/huydhn
_runner-determinator.yml checked out .github/scripts/runner_determinator.py from github.event.pull_request.head.sha, so PRs whose branch predates a change to the script (e.g. the "lf." -> "lf-" prefix rename, or the EC2 build-path removal in pytorch#189113/pytorch#189171) run a stale copy. That stale copy can emit a runner-label prefix main's build workflow no longer knows how to route (e.g. "lf.l-x86iavx512-8-64" - a dead EC2-era dotted prefix glued onto a post-pytorch#189113 ARC-only label), leaving the job stuck unroutable instead of just landing on the wrong fleet. The PR-head ref was introduced in pytorch#182579 only so ci-docker-hash reflects the PR's own .ci/docker tree, not to let PRs self-test determinator changes. Split the checkout in two: the script now comes from the default ref (main, or the merge commit for pull_request events, which still includes the PR's own edits to the script), while .ci/docker keeps using head.sha via a separate sparse checkout under pr-head/. This also removes the --help probing for --workflow-name, since the script is no longer stale relative to main and always supports the flag. Pull Request resolved: pytorch#189782 Approved by: https://github.com/huydhn, https://github.com/jeanschmidt Co-authored-by: Claude Sonnet 5 <[email protected]>
Stack from ghstack (oldest at bottom):
Adds a
ci-docker-hashoutput to the runner-determinator reusable workflow, computed once viagit rev-parse HEAD:.ci/docker.This is a prep no-op: no callers consume the output yet.
The intent is to pass a versioned docker image tag to ARC-hosted jobs so they can use the same versioned images as their non-ARC counterparts
Test plan: #182894 - sparse checkout is still 1 sec, computed hash looks reasonable, need to merge the change first to understand if it'll pick them up
Authored by Claude.