Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/95333
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 Failures, 1 PendingAs of commit ce5753f: NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
clee2000
marked this pull request as ready for review
February 22, 2023 23:15
Contributor
Author
|
@pytorchbot merge -f "lint passed" |
Collaborator
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 25, 2023
Fix for weird bug that happens very rarely. My solution is to retrieve all checksuites before going to retrieve their checkruns.
Sometimes `cs_cursor=edges[edge_idx - 1]["cursor"] if edge_idx > 0 else None,` is None when it shouldn't be because of how we reset `checksuites = get_next_checksuites(checksuites)` on every loop.
Ex
page 1 of checksuites contains some stuff
page 2 of checksuites: pull {a bunch of checkruns}
cs_cursor gets set to none for the pull checksuite on page 2 because `checksuites = get_next_checksuites(checksuites)` resets the edges on every loop. Then the checkruns can't be retrieved.
Pull Request resolved: pytorch/pytorch#95333
Approved by: https://github.com/huydhn
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Feb 25, 2023
Fix for weird bug that happens very rarely. My solution is to retrieve all checksuites before going to retrieve their checkruns.
Sometimes `cs_cursor=edges[edge_idx - 1]["cursor"] if edge_idx > 0 else None,` is None when it shouldn't be because of how we reset `checksuites = get_next_checksuites(checksuites)` on every loop.
Ex
page 1 of checksuites contains some stuff
page 2 of checksuites: pull {a bunch of checkruns}
cs_cursor gets set to none for the pull checksuite on page 2 because `checksuites = get_next_checksuites(checksuites)` resets the edges on every loop. Then the checkruns can't be retrieved.
Pull Request resolved: pytorch/pytorch#95333
Approved by: https://github.com/huydhn
cyyever
pushed a commit
to cyyever/pytorch_private
that referenced
this pull request
Mar 5, 2023
Fix for weird bug that happens very rarely. My solution is to retrieve all checksuites before going to retrieve their checkruns.
Sometimes `cs_cursor=edges[edge_idx - 1]["cursor"] if edge_idx > 0 else None,` is None when it shouldn't be because of how we reset `checksuites = get_next_checksuites(checksuites)` on every loop.
Ex
page 1 of checksuites contains some stuff
page 2 of checksuites: pull {a bunch of checkruns}
cs_cursor gets set to none for the pull checksuite on page 2 because `checksuites = get_next_checksuites(checksuites)` resets the edges on every loop. Then the checkruns can't be retrieved.
Pull Request resolved: pytorch/pytorch#95333
Approved by: https://github.com/huydhn
pruthvistony
added a commit
to ROCm/pytorch
that referenced
this pull request
May 2, 2023
This reverts commit fb3ff77.
jhavukainen
pushed a commit
to kulinseth/pytorch
that referenced
this pull request
Mar 15, 2024
Fix for weird bug that happens very rarely. My solution is to retrieve all checksuites before going to retrieve their checkruns.
Sometimes `cs_cursor=edges[edge_idx - 1]["cursor"] if edge_idx > 0 else None,` is None when it shouldn't be because of how we reset `checksuites = get_next_checksuites(checksuites)` on every loop.
Ex
page 1 of checksuites contains some stuff
page 2 of checksuites: pull {a bunch of checkruns}
cs_cursor gets set to none for the pull checksuite on page 2 because `checksuites = get_next_checksuites(checksuites)` resets the edges on every loop. Then the checkruns can't be retrieved.
Pull Request resolved: pytorch#95333
Approved by: https://github.com/huydhn
pytorchmergebot
pushed a commit
that referenced
this pull request
Nov 19, 2026
…eve_checksuites (#203140) ✴️ iz2: Both tests have been `@skip`-ped for over a year, so they cover nothing. `test_merge_ghstack_into` is revived. It is the only test of how `merge_ghstack_into` lands a ghstack: merged PRs are skipped but listed as dependencies, each open PR is cherry-picked and then its message amended, bottom-up, and only the open PRs are returned. It broke because the stack in its fixtures has since merged, so all four PRs read as closed and nothing was cherry-picked. The test now mocks `is_closed` to the state it describes, and mocks `find_matching_merge_rule` and the lower PR's check runs (the real ones need check-run pages the fixtures lack) while asserting the arguments the lower PR is checked with; the waivers test now asserts its whole rule-check call. Expected messages match the fixtures' current text. Sixteen mutations of `merge_ghstack_into` each make the ghstack tests fail. `test_gql_retrieve_checksuites` is deleted. GitHub no longer returns check suites for its PR (the fixture has none), and the bug it was added for in #95333 is still caught: reverting that fix makes `test_get_classifications_similar_failures` and `test_get_classifications_wrong_workflow_name` fail. Meta's internal CI runs this file too and has had both tests stuck as disabled since the target briefly failed to import in October: a test that only skips never passes enough to be re-enabled. Test plan: `python -m unittest test_trymerge` passes (277 tests); internal `trymerge_test` (fbcode and xplat) goes from 275 pass, 2 skip to 276 pass, 0 skip. Pull Request resolved: #203140 Approved by: https://github.com/jeanschmidt, https://github.com/huydhn
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.
Fix for weird bug that happens very rarely. My solution is to retrieve all checksuites before going to retrieve their checkruns.
Sometimes
cs_cursor=edges[edge_idx - 1]["cursor"] if edge_idx > 0 else None,is None when it shouldn't be because of how we resetchecksuites = get_next_checksuites(checksuites)on every loop.Ex
page 1 of checksuites contains some stuff
page 2 of checksuites: pull {a bunch of checkruns}
cs_cursor gets set to none for the pull checksuite on page 2 because
checksuites = get_next_checksuites(checksuites)resets the edges on every loop. Then the checkruns can't be retrieved.