Repository navigation
Reenable XPU workflows - #181437
Reenable XPU workflows#181437janeyx99 wants to merge 1 commit into
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/181437
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ You can merge normally! (8 Unrelated Failures)As of commit ecade79 with merge base 96ddb61 ( FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 jobs have failed, first few of them are: xpu / linux-noble-xpu-n-py3.10 / test (default, 4, 12, linux.idc.xpu) Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 5 checks: xpu / linux-noble-xpu-n-py3.10 / test (default, 4, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 5, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 8, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 3, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 10, 12, linux.idc.xpu) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 1 jobs have failed, first few of them are: xpu / linux-noble-xpu-n-py3.10 / test (default, 6, 12, linux.idc.xpu) Details for Dev Infra teamRaised by workflow job |
|
@pytorchbot drci |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: Approvers from one of the following sets are needed:
|
|
@pytorchbot merge -f "All needed signals are green" |
|
@pytorchbot merge -f "All needed signals 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 |
Merge failedReason: Approvers from one of the following sets are needed:
|
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 8 checks: trunk / macos-py3-arm64 / test (default, 1, 3, macos-m1-stable), trunk / macos-py3-arm64 / test (default, 2, 3, macos-m1-stable), xpu / linux-noble-xpu-n-py3.10 / test (default, 4, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 6, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 5, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 8, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 3, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 10, 12, linux.idc.xpu) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: Approvers from one of the following sets are needed:
|
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 8 checks: trunk / macos-py3-arm64 / test (default, 1, 3, macos-m1-stable), trunk / macos-py3-arm64 / test (default, 2, 3, macos-m1-stable), xpu / linux-noble-xpu-n-py3.10 / test (default, 4, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 6, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 5, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 8, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 3, 12, linux.idc.xpu), xpu / linux-noble-xpu-n-py3.10 / test (default, 10, 12, linux.idc.xpu) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
When a ghstack PR fails to merge because a parent PR in the stack lacks required approvals, the error surfaced from `find_matching_merge_rule` gives no hint about which PR in the stack is missing approval. The user sees "Approvers from one of the following sets are needed: ..." on the top PR even though the parent is the one missing reviewers, which makes it confusing to debug (e.g. PR pytorch#181437 hit this where the parent PR pytorch#181434 was the one without core approval). Wrap the per-PR `find_matching_merge_rule` call in `merge_ghstack_into` to re-raise with the failing PR number prefixed, preserving the original exception type so callers that distinguish `MandatoryChecksMissingError` from `MergeRuleFailedError` keep working. Authored with Claude.
## Summary When a ghstack PR fails to merge because a parent PR in the stack lacks required approvals (or required checks), the error surfaced by `merge_ghstack_into` gives no hint about which PR in the stack is the problem. The user sees something like: > Approvers from one of the following sets are needed: > - superuser (pytorch/metamates) > - Core Reviewers (...) > - Core Maintainers (...) …posted on the top PR — even though it's actually a parent that needs the approval. This just hit #181437: the top PR only changes `.github/workflows/pull.yml` (covered by the OSS CI rule, fully approved), but the parent #181434 only changes `torchgen/gen.py`, which has no specific merge rule and falls through to the catch-all `*` rules requiring Core Reviewers / Core Maintainers / superuser. None of the parent's reviewers were in those sets, but the merge bot only ever named the top PR. ## Change Wrap the per-PR `find_matching_merge_rule` call inside `merge_ghstack_into` to re-raise with the failing PR number prefixed, preserving the original exception subclass (so callers that distinguish `MandatoryChecksMissingError` from `MergeRuleFailedError` keep working — that distinction drives retry behavior at trymerge.py:2391/2444). After this PR, the same failure surfaces as: > Merge rule check failed for stacked PR #181434: > > Approvers from one of the following sets are needed: … ## Test plan - [x] Added `test_merge_ghstack_into_wraps_parent_rule_error` — verifies the failing parent's PR number appears in the message and the exception is `MergeRuleFailedError` but **not** the `MandatoryChecksMissingError` subclass. - [x] Added `test_merge_ghstack_into_preserves_mandatory_checks_subclass` — verifies a `MandatoryChecksMissingError` from a parent stays a `MandatoryChecksMissingError` so retry behavior keeps working. - [x] `pytest .github/scripts/test_trymerge.py::TestGitHubPRGhstackDependencies` — 4 passed, 1 skipped (pre-existing). Authored with Claude. Pull Request resolved: #181506 Approved by: https://github.com/huydhn
Pull Request resolved: pytorch#181437 Approved by: https://github.com/chuanqi129, https://github.com/huydhn, https://github.com/EikanWang, https://github.com/wdvr ghstack dependencies: pytorch#181434
…81506) ## Summary When a ghstack PR fails to merge because a parent PR in the stack lacks required approvals (or required checks), the error surfaced by `merge_ghstack_into` gives no hint about which PR in the stack is the problem. The user sees something like: > Approvers from one of the following sets are needed: > - superuser (pytorch/metamates) > - Core Reviewers (...) > - Core Maintainers (...) …posted on the top PR — even though it's actually a parent that needs the approval. This just hit pytorch#181437: the top PR only changes `.github/workflows/pull.yml` (covered by the OSS CI rule, fully approved), but the parent pytorch#181434 only changes `torchgen/gen.py`, which has no specific merge rule and falls through to the catch-all `*` rules requiring Core Reviewers / Core Maintainers / superuser. None of the parent's reviewers were in those sets, but the merge bot only ever named the top PR. ## Change Wrap the per-PR `find_matching_merge_rule` call inside `merge_ghstack_into` to re-raise with the failing PR number prefixed, preserving the original exception subclass (so callers that distinguish `MandatoryChecksMissingError` from `MergeRuleFailedError` keep working — that distinction drives retry behavior at trymerge.py:2391/2444). After this PR, the same failure surfaces as: > Merge rule check failed for stacked PR pytorch#181434: > > Approvers from one of the following sets are needed: … ## Test plan - [x] Added `test_merge_ghstack_into_wraps_parent_rule_error` — verifies the failing parent's PR number appears in the message and the exception is `MergeRuleFailedError` but **not** the `MandatoryChecksMissingError` subclass. - [x] Added `test_merge_ghstack_into_preserves_mandatory_checks_subclass` — verifies a `MandatoryChecksMissingError` from a parent stays a `MandatoryChecksMissingError` so retry behavior keeps working. - [x] `pytest .github/scripts/test_trymerge.py::TestGitHubPRGhstackDependencies` — 4 passed, 1 skipped (pre-existing). Authored with Claude. Pull Request resolved: pytorch#181506 Approved by: https://github.com/huydhn
Pull Request resolved: pytorch#181437 Approved by: https://github.com/chuanqi129, https://github.com/huydhn, https://github.com/EikanWang, https://github.com/wdvr ghstack dependencies: pytorch#181434
…81506) ## Summary When a ghstack PR fails to merge because a parent PR in the stack lacks required approvals (or required checks), the error surfaced by `merge_ghstack_into` gives no hint about which PR in the stack is the problem. The user sees something like: > Approvers from one of the following sets are needed: > - superuser (pytorch/metamates) > - Core Reviewers (...) > - Core Maintainers (...) …posted on the top PR — even though it's actually a parent that needs the approval. This just hit pytorch#181437: the top PR only changes `.github/workflows/pull.yml` (covered by the OSS CI rule, fully approved), but the parent pytorch#181434 only changes `torchgen/gen.py`, which has no specific merge rule and falls through to the catch-all `*` rules requiring Core Reviewers / Core Maintainers / superuser. None of the parent's reviewers were in those sets, but the merge bot only ever named the top PR. ## Change Wrap the per-PR `find_matching_merge_rule` call inside `merge_ghstack_into` to re-raise with the failing PR number prefixed, preserving the original exception subclass (so callers that distinguish `MandatoryChecksMissingError` from `MergeRuleFailedError` keep working — that distinction drives retry behavior at trymerge.py:2391/2444). After this PR, the same failure surfaces as: > Merge rule check failed for stacked PR pytorch#181434: > > Approvers from one of the following sets are needed: … ## Test plan - [x] Added `test_merge_ghstack_into_wraps_parent_rule_error` — verifies the failing parent's PR number appears in the message and the exception is `MergeRuleFailedError` but **not** the `MandatoryChecksMissingError` subclass. - [x] Added `test_merge_ghstack_into_preserves_mandatory_checks_subclass` — verifies a `MandatoryChecksMissingError` from a parent stays a `MandatoryChecksMissingError` so retry behavior keeps working. - [x] `pytest .github/scripts/test_trymerge.py::TestGitHubPRGhstackDependencies` — 4 passed, 1 skipped (pre-existing). Authored with Claude. Pull Request resolved: pytorch#181506 Approved by: https://github.com/huydhn
Pull Request resolved: pytorch#181437 Approved by: https://github.com/chuanqi129, https://github.com/huydhn, https://github.com/EikanWang, https://github.com/wdvr ghstack dependencies: pytorch#181434
…81506) ## Summary When a ghstack PR fails to merge because a parent PR in the stack lacks required approvals (or required checks), the error surfaced by `merge_ghstack_into` gives no hint about which PR in the stack is the problem. The user sees something like: > Approvers from one of the following sets are needed: > - superuser (pytorch/metamates) > - Core Reviewers (...) > - Core Maintainers (...) …posted on the top PR — even though it's actually a parent that needs the approval. This just hit pytorch#181437: the top PR only changes `.github/workflows/pull.yml` (covered by the OSS CI rule, fully approved), but the parent pytorch#181434 only changes `torchgen/gen.py`, which has no specific merge rule and falls through to the catch-all `*` rules requiring Core Reviewers / Core Maintainers / superuser. None of the parent's reviewers were in those sets, but the merge bot only ever named the top PR. ## Change Wrap the per-PR `find_matching_merge_rule` call inside `merge_ghstack_into` to re-raise with the failing PR number prefixed, preserving the original exception subclass (so callers that distinguish `MandatoryChecksMissingError` from `MergeRuleFailedError` keep working — that distinction drives retry behavior at trymerge.py:2391/2444). After this PR, the same failure surfaces as: > Merge rule check failed for stacked PR pytorch#181434: > > Approvers from one of the following sets are needed: … ## Test plan - [x] Added `test_merge_ghstack_into_wraps_parent_rule_error` — verifies the failing parent's PR number appears in the message and the exception is `MergeRuleFailedError` but **not** the `MandatoryChecksMissingError` subclass. - [x] Added `test_merge_ghstack_into_preserves_mandatory_checks_subclass` — verifies a `MandatoryChecksMissingError` from a parent stays a `MandatoryChecksMissingError` so retry behavior keeps working. - [x] `pytest .github/scripts/test_trymerge.py::TestGitHubPRGhstackDependencies` — 4 passed, 1 skipped (pre-existing). Authored with Claude. Pull Request resolved: pytorch#181506 Approved by: https://github.com/huydhn
Stack from ghstack (oldest at bottom):