Update lintrunner to version that uses as default mergebase#95938
Update lintrunner to version that uses as default mergebase#95938
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/95938
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f0ff6ea: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
huydhn
left a comment
There was a problem hiding this comment.
What's happened with everyone from 0.9.3 to 0.10.6? :P
https://github.com/suo/lintrunner/blob/main/CHANGELOG.md has all the deets :) |
|
@huy fyi, I had to update the fetch depth in Seems like we hadn't run into this corner case in the past three weeks since docker images were added for linters |
Oh I see. I'm about to ask that question. Here is what works for me in my previous PR: This step fails if the Docker image hasn't been built yet. But once the image is ready, rerunning it works. Now I understand why some people had this step failing in their PRs and needed to rebase. |
|
@pytorchbot rebase |
|
@pytorchbot successfully started a rebase job. Check the current status here |
|
Successfully rebased |
09083e9 to
e91419c
Compare
847a26f to
769d3b7
Compare
From #95938 where a new Docker image build fails to start sccache. This issue starts to happen today (Mar 3rd). The server fails to start with a cryptic `sccache: error: Invalid argument (os error 22)` ``` =================== sccache compilation log =================== ERROR 2023-03-03T20:31:14Z: sccache::server: failed to start server: Invalid argument (os error 22) sccache: error: Invalid argument (os error 22) =========== If your build fails, please take a look at the log above for possible reasons =========== + sccache --show-stats sccache: error: Connection to server timed out ``` I don't have a good explanation for this yet. The version of sccache we build from https://github.com/pytorch/sccache is ancient. If I start to build the exact same version on Ubuntu Docker image now, the issue will manifest. But the older binary built only few days ago https://hud.pytorch.org/pytorch/pytorch/commit/e50ff3fcdb3890ce3bbab99e60b1c27ff49be2af works without any issue. So I fix sccache binary to that version instead of rebuilding it every time in the image as a temporary mitigation while trying to root cause this further. Pull Request resolved: #95997 Approved by: https://github.com/ZainRizvi
|
@pytorchbot rebase |
|
@pytorchbot successfully started a rebase job. Check the current status here |
|
Successfully rebased |
744e809 to
f0ff6ea
Compare
|
@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 |
Let users know if they have an outdated version of lintrunner installed on their box Sets the minimum version to one which uses master as a default mergebase (see #95938) Pull Request resolved: #96241 Approved by: https://github.com/huydhn
From pytorch/pytorch#95938 where a new Docker image build fails to start sccache. This issue starts to happen today (Mar 3rd). The server fails to start with a cryptic `sccache: error: Invalid argument (os error 22)` ``` =================== sccache compilation log =================== ERROR 2023-03-03T20:31:14Z: sccache::server: failed to start server: Invalid argument (os error 22) sccache: error: Invalid argument (os error 22) =========== If your build fails, please take a look at the log above for possible reasons =========== + sccache --show-stats sccache: error: Connection to server timed out ``` I don't have a good explanation for this yet. The version of sccache we build from https://github.com/pytorch/sccache is ancient. If I start to build the exact same version on Ubuntu Docker image now, the issue will manifest. But the older binary built only few days ago https://hud.pytorch.org/pytorch/pytorch/commit/e50ff3fcdb3890ce3bbab99e60b1c27ff49be2af works without any issue. So I fix sccache binary to that version instead of rebuilding it every time in the image as a temporary mitigation while trying to root cause this further. Pull Request resolved: pytorch/pytorch#95997 Approved by: https://github.com/ZainRizvi
Fixes pytorch/pytorch#93156 Upgrades lintrunner to the latest version which can use the `master` branch as the merge base by default (provided it's specified in `.lintrunner.toml` and update `.lintrunner.toml` accordingly Pull Request resolved: pytorch/pytorch#95938 Approved by: https://github.com/huydhn
Let users know if they have an outdated version of lintrunner installed on their box Sets the minimum version to one which uses master as a default mergebase (see pytorch/pytorch#95938) Pull Request resolved: pytorch/pytorch#96241 Approved by: https://github.com/huydhn
From pytorch/pytorch#95938 where a new Docker image build fails to start sccache. This issue starts to happen today (Mar 3rd). The server fails to start with a cryptic `sccache: error: Invalid argument (os error 22)` ``` =================== sccache compilation log =================== ERROR 2023-03-03T20:31:14Z: sccache::server: failed to start server: Invalid argument (os error 22) sccache: error: Invalid argument (os error 22) =========== If your build fails, please take a look at the log above for possible reasons =========== + sccache --show-stats sccache: error: Connection to server timed out ``` I don't have a good explanation for this yet. The version of sccache we build from https://github.com/pytorch/sccache is ancient. If I start to build the exact same version on Ubuntu Docker image now, the issue will manifest. But the older binary built only few days ago https://hud.pytorch.org/pytorch/pytorch/commit/e50ff3fcdb3890ce3bbab99e60b1c27ff49be2af works without any issue. So I fix sccache binary to that version instead of rebuilding it every time in the image as a temporary mitigation while trying to root cause this further. Pull Request resolved: pytorch/pytorch#95997 Approved by: https://github.com/ZainRizvi
Fixes pytorch/pytorch#93156 Upgrades lintrunner to the latest version which can use the `master` branch as the merge base by default (provided it's specified in `.lintrunner.toml` and update `.lintrunner.toml` accordingly Pull Request resolved: pytorch/pytorch#95938 Approved by: https://github.com/huydhn
Let users know if they have an outdated version of lintrunner installed on their box Sets the minimum version to one which uses master as a default mergebase (see pytorch/pytorch#95938) Pull Request resolved: pytorch/pytorch#96241 Approved by: https://github.com/huydhn
From pytorch#95938 where a new Docker image build fails to start sccache. This issue starts to happen today (Mar 3rd). The server fails to start with a cryptic `sccache: error: Invalid argument (os error 22)` ``` =================== sccache compilation log =================== ERROR 2023-03-03T20:31:14Z: sccache::server: failed to start server: Invalid argument (os error 22) sccache: error: Invalid argument (os error 22) =========== If your build fails, please take a look at the log above for possible reasons =========== + sccache --show-stats sccache: error: Connection to server timed out ``` I don't have a good explanation for this yet. The version of sccache we build from https://github.com/pytorch/sccache is ancient. If I start to build the exact same version on Ubuntu Docker image now, the issue will manifest. But the older binary built only few days ago https://hud.pytorch.org/pytorch/pytorch/commit/e50ff3fcdb3890ce3bbab99e60b1c27ff49be2af works without any issue. So I fix sccache binary to that version instead of rebuilding it every time in the image as a temporary mitigation while trying to root cause this further. Pull Request resolved: pytorch#95997 Approved by: https://github.com/ZainRizvi
…95938) Fixes pytorch#93156 Upgrades lintrunner to the latest version which can use the `master` branch as the merge base by default (provided it's specified in `.lintrunner.toml` and update `.lintrunner.toml` accordingly Pull Request resolved: pytorch#95938 Approved by: https://github.com/huydhn
Let users know if they have an outdated version of lintrunner installed on their box Sets the minimum version to one which uses master as a default mergebase (see pytorch#95938) Pull Request resolved: pytorch#96241 Approved by: https://github.com/huydhn
Fixes #93156
Upgrades lintrunner to the latest version which can use the
masterbranch as the merge base by default (provided it's specified in.lintrunner.tomland update.lintrunner.tomlaccordingly