Skip to content

[CI] Point lint.yml and pull.yml at local _runner-determinator.yml - #182894

Closed
malfet wants to merge 3 commits into
gh/malfet/890/basefrom
gh/malfet/890/head
Closed

malfet wants to merge 3 commits into
gh/malfet/890/basefrom
gh/malfet/890/head

Conversation

@malfet

@malfet malfet commented May 7, 2026 •

Copy link
Copy Markdown
Collaborator

Stack from ghstack (oldest at bottom):

Switches from pytorch/pytorch/.github/workflows/_runner-determinator.yml@main
to ./.github/workflows/_runner-determinator.yml so the PR's version (with the
new .ci/docker sparse checkout) runs in CI and its checkout duration can be
observed.

Authored by Claude.

[ghstack-poisoned]
@malfet
malfet requested a review from a team as a code owner May 7, 2026 20:47
@pytorch-bot

pytorch-bot Bot commented May 7, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/182894

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

[ghstack-poisoned]
malfet added a commit that referenced this pull request May 7, 2026
Switches from pytorch/pytorch/.github/workflows/_runner-determinator.yml@main
to ./.github/workflows/_runner-determinator.yml so the PR's version (with the
new .ci/docker sparse checkout) runs in CI and its checkout duration can be
observed.

Also tee the computed ci-docker-hash to stdout so the value shows up in the
job log alongside being written to GITHUB_OUTPUT.

Authored by Claude.

ghstack-source-id: b832440
Pull-Request: #182894
Comment thread .github/workflows/lint.yml Outdated
if: github.repository_owner == 'pytorch'
name: get-label-type
uses: pytorch/pytorch/.github/workflows/_runner-determinator.yml@main
uses: ./.github/workflows/_runner-determinator.yml

@huydhn huydhn May 7, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ZainRizvi @zxiiro This pattern of how we use runner determinator GHA dated back to the Meta <-> LF migration. Do you remember why we go with full GHA path here (always use main) instead of using a local checkout?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Full GHA means you checkout the repo@branch, while relative means you are using .yml at the state in your PR. So the only way of testing that changes to the .yml file are actually work is to modify one of those

pytorchmergebot pushed a commit that referenced this pull request May 7, 2026
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: #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: #182579
Approved by: https://github.com/huydhn
[ghstack-poisoned]
malfet added a commit that referenced this pull request May 7, 2026
Adds a small print-ci-docker-hash job to lint.yml that depends on
get-label-type and echoes the ci-docker-hash output, so the value is
visible in CI logs.

Also tees the computed hash to stdout in _runner-determinator.yml's
"Compute .ci/docker tree hash" step so it shows up in the determinator
job log too. Bumps the .ci/docker tree hash via a tiny README touch so
this PR exercises the docker rebuild path.

Authored by Claude.

ghstack-source-id: 064ac6e
Pull-Request: #182894
@malfet malfet closed this May 7, 2026
Alokksinha00 pushed a commit to Alokksinha00/pytorch that referenced this pull request May 15, 2026
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
@github-actions
github-actions Bot deleted the gh/malfet/890/head branch June 7, 2026 02:32
aperson30 pushed a commit to aperson30/pytorch that referenced this pull request Jun 20, 2026
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
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
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
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants