Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/182843
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 19 PendingAs of commit 68800c2 with merge base f19e56d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This allows the test-infra's calculate-docker-image action to validate pre-computed hash instead of recalculating it in each job. Also wires the hash into the OSDC (ARC) path of _linux-build.yml so the container image and the workflow's docker-image output use the hashed tag (ci-image:<env>-<hash>) instead of the bare ci-image:<env> (which docker resolves as :latest). When ci-docker-hash is unset the OSDC path falls back to its previous unversioned image. Adds get-label-type to the needs: of linux-jammy-py3-clang18-executorch-test in trunk.yml, which referenced needs.get-label-type.outputs.ci-docker-hash without listing it as a dependency (caught by actionlint). ghstack-source-id: 9f6b0bf Pull-Request: #182843
This allows the test-infra's calculate-docker-image action to validate pre-computed hash instead of recalculating it in each job. Also wires the hash into the OSDC (ARC) path of _linux-build.yml so the container image and the workflow's docker-image output use the hashed tag (ci-image:<env>-<hash>) instead of the bare ci-image:<env> (which docker resolves as :latest). When ci-docker-hash is unset the OSDC path falls back to its previous unversioned image. Adds get-label-type to the needs: of linux-jammy-py3-clang18-executorch-test in trunk.yml, which referenced needs.get-label-type.outputs.ci-docker-hash without listing it as a dependency (caught by actionlint). ghstack-source-id: 6784ffe Pull-Request: #182843
huydhn
left a comment
There was a problem hiding this comment.
LGTM! The image name can be seen from the test jobs https://github.com/pytorch/pytorch/actions/runs/25528115986/job/74929624154?pr=182843#step:1:41 showing the correct SHA
|
Could you stack a PR changing |
|
@pytorchbot merge -f "Lint + pull are 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 |
After #182843, pull.yml and trunk.yml already pass ci-docker-hash from get-label-type into _linux-build.yml so the OSDC docker image tag resolves to ghcr.io/pytorch/<name>-<hash>. The other OSDC-migrated workflows were missing this input and would pull the unhashed ghcr.io tag instead. Add ci-docker-hash to every _linux-build.yml call in the remaining migrated workflows for parity. Authored by Claude. Pull Request resolved: #183492 Approved by: https://github.com/jeanschmidt, https://github.com/malfet
…ytorch#182843) This allows the test-infra's calculate-docker-image action to validate pre-computed hash instead of recalculating it in each job Though, weird side effects of OSDCs decision to rely on public ghcr.io mirrors makes it impossible to modify and test docker image from PR, because push to ghcr happens only after change is in trunk Pull Request resolved: pytorch#182843 Approved by: https://github.com/huydhn
…ytorch#182843) This allows the test-infra's calculate-docker-image action to validate pre-computed hash instead of recalculating it in each job Though, weird side effects of OSDCs decision to rely on public ghcr.io mirrors makes it impossible to modify and test docker image from PR, because push to ghcr happens only after change is in trunk Pull Request resolved: pytorch#182843 Approved by: https://github.com/huydhn
…3492) After pytorch#182843, pull.yml and trunk.yml already pass ci-docker-hash from get-label-type into _linux-build.yml so the OSDC docker image tag resolves to ghcr.io/pytorch/<name>-<hash>. The other OSDC-migrated workflows were missing this input and would pull the unhashed ghcr.io tag instead. Add ci-docker-hash to every _linux-build.yml call in the remaining migrated workflows for parity. Authored by Claude. Pull Request resolved: pytorch#183492 Approved by: https://github.com/jeanschmidt, https://github.com/malfet
…ytorch#182843) This allows the test-infra's calculate-docker-image action to validate pre-computed hash instead of recalculating it in each job Though, weird side effects of OSDCs decision to rely on public ghcr.io mirrors makes it impossible to modify and test docker image from PR, because push to ghcr happens only after change is in trunk Pull Request resolved: pytorch#182843 Approved by: https://github.com/huydhn
…ytorch#182843) This allows the test-infra's calculate-docker-image action to validate pre-computed hash instead of recalculating it in each job Though, weird side effects of OSDCs decision to rely on public ghcr.io mirrors makes it impossible to modify and test docker image from PR, because push to ghcr happens only after change is in trunk Pull Request resolved: pytorch#182843 Approved by: https://github.com/huydhn
…3492) After pytorch#182843, pull.yml and trunk.yml already pass ci-docker-hash from get-label-type into _linux-build.yml so the OSDC docker image tag resolves to ghcr.io/pytorch/<name>-<hash>. The other OSDC-migrated workflows were missing this input and would pull the unhashed ghcr.io tag instead. Add ci-docker-hash to every _linux-build.yml call in the remaining migrated workflows for parity. Authored by Claude. Pull Request resolved: pytorch#183492 Approved by: https://github.com/jeanschmidt, https://github.com/malfet
…ytorch#182843) This allows the test-infra's calculate-docker-image action to validate pre-computed hash instead of recalculating it in each job Though, weird side effects of OSDCs decision to rely on public ghcr.io mirrors makes it impossible to modify and test docker image from PR, because push to ghcr happens only after change is in trunk Pull Request resolved: pytorch#182843 Approved by: https://github.com/huydhn
…3492) After pytorch#182843, pull.yml and trunk.yml already pass ci-docker-hash from get-label-type into _linux-build.yml so the OSDC docker image tag resolves to ghcr.io/pytorch/<name>-<hash>. The other OSDC-migrated workflows were missing this input and would pull the unhashed ghcr.io tag instead. Add ci-docker-hash to every _linux-build.yml call in the remaining migrated workflows for parity. Authored by Claude. Pull Request resolved: pytorch#183492 Approved by: https://github.com/jeanschmidt, https://github.com/malfet
Stack from ghstack (oldest at bottom):
This allows the test-infra's calculate-docker-image action to validate pre-computed hash instead of recalculating it in each job
Though, weird side effects of OSDCs decision to rely on public ghcr.io mirrors makes it impossible to modify and test docker image from PR, because push to ghcr happens only after change is in trunk