Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/172545
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a3743bf with merge base a6cd1b0 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: 8d5c5bd Pull-Request: pytorch/pytorch#172545
ghstack-source-id: 303f505 Pull-Request: pytorch/pytorch#172545
|
Do you know how it will work with our TD/known flaky tests detection (when we fetch some stats from commit base? I.e. treeless checkout will break all that, wouldn't it?) |
|
@malfet, I don't think so: In general, Git will fetch trees and blobs as needed. But if you could point me in the direction of where this is happening, I'm happy to have a closer look. |
|
I've spent some time doing my best to review the flaky test detection machinery with regards to risks from treeless checkouts. I think we are good, though there are some aspects that I can't check due to lack of access, for example to the webhook setup and s3 internals. @malfet, please let me know if you would like greater assurances and how to achieve them. |
|
HI @malfet please provide some details on the concern. I believe flaky tests are using this https://github.com/pytorch/test-infra/tree/main/aws/lambda/clickhouse-replicator-s3 to populate the data |
|
@zklaus , @atalman our TD/flaky detection relies on being able to get branch merge point, to figure out what known broken tests etc to fetch. In the past (12+ month ago) it used to call |
|
@malfet, thanks for clarifying! This is not a shallow checkout/clone. Here, we fetch all the history, i.e. all the commits that make up the fetched branches. We just tell Git that it is enough to fetch the commits themselves (i.e. metadata like hash, comment, parents,...) and that we don't need all the files and directories that are associated with the individual commits. This way, There is another part to this effort that put As long as these are the only two refs that we need to use Does that clear things up? |
atalman
left a comment
There was a problem hiding this comment.
lgtm. Lets validate that its not breaking the td workflow
|
@pytorchmergebot merge -f "validated via clickhouse db table, this will not break" |
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 |
ghstack-source-id: 914a919 Pull-Request: pytorch/pytorch#172545
This PR uses the treeless checkout mode introduced in the first PR in this stack to do a (faster) treeless checkout in the `_linux-build` and `_linux-test` workflows. ~It is a draft for now because until the first PR in this stack (pytorch#172544) has made it into `main`, it needs to refer to a temporary branch.~ Pull Request resolved: pytorch#172545 Approved by: https://github.com/atalman
This PR uses the treeless checkout mode introduced in the first PR in this stack to do a (faster) treeless checkout in the
_linux-buildand_linux-testworkflows.It is a draft for now because until the first PR in this stack (#172544) has made it intomain, it needs to refer to a temporary branch.Stack from ghstack (oldest at bottom):