-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: fail go clean command when failed to find go cache directory #70392
base: master
Are you sure you want to change the base?
Conversation
This PR (HEAD: 69a6fb5) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/628596. Important tips:
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Max Neverov: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Max Neverov: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Jorropo: Patch Set 1: Commit-Queue+1 (3 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 1: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-11-17T09:14:33Z","revision":"5ea8c7f7fd992cdeb1e882e9802691d9359a7a1d"} Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 1: LUCI-TryBot-Result-1 Copied votes on follow-up patch sets have been updated:
Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 2: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-11-17T09:21:18Z","revision":"2aa258edd49c59e5eb3606daf68e8fe71e715ada"} Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Jorropo: Patch Set 2: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 2: This CL has passed the run Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 2: LUCI-TryBot-Result+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Max Neverov: Patch Set 2: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Jorropo: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Max Neverov: Patch Set 2: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
This PR (HEAD: f43af96) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/628596. Important tips:
|
Message from Jorropo: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
This PR (HEAD: e0537d1) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/628596. Important tips:
|
Message from Max Neverov: Patch Set 3: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Jorropo: Patch Set 4: Code-Review+1 Commit-Queue+1 (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 4: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-11-18T19:02:38Z","revision":"4ee11b1d946106f1956ddbd9524d4e0d87db56b9"} Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Jorropo: Patch Set 4: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 4: This CL has failed the run. Reason: Tryjob golang/try/gotip-windows-386 has failed with summary (view all results):
Build or test failure, click here for results. To reproduce, try Additional links for debugging: Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 4: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Sam Thanawalla: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
This PR (HEAD: 0684661) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/628596. Important tips:
|
Message from Max Neverov: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Jorropo: Patch Set 5: Code-Review+1 Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 5: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-11-21T10:38:11Z","revision":"98d9ceeb6dc9250466c0dae622c66eabe580c1cc"} Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Jorropo: Patch Set 5: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 5: This CL has failed the run. Reason: Tryjob golang/try/x_tools-gotip-linux-amd64 has failed with summary (view all results):
Build or test failure, click here for results. To reproduce, try Additional links for debugging: Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 5: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Sam Thanawalla: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
This PR (HEAD: f7f708e) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/628596. Important tips:
|
Message from Max Neverov: Patch Set 5: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Sam Thanawalla: Patch Set 6: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 6: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2024-12-09T15:27:56Z","revision":"f8e991e74022a39ef98442521543e085f54029f8"} Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Sam Thanawalla: Patch Set 6: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 6: This CL has failed the run. Reason: Tryjob golang/try/x_tools-gotip-linux-amd64 has failed with summary (view all results):
Build or test failure, click here for results. To reproduce, try Additional links for debugging: Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Go LUCI: Patch Set 6: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Michael Matloob: Patch Set 6: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Currently, if computing of the go cache directory fails it does not expose the error. Commands like go clean, exec, modindex that use go cache directory continue execution producing incorrect or no result. This patch adds an error to the return values such that it can be validated on call sites. It also introduces such validation in go clean -cache command to fail execution in case when error occurred. Fixes golang#69997
This PR (HEAD: b866b73) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/628596. Important tips:
|
Message from Max Neverov: Patch Set 6: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
This PR (HEAD: 35d8846) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/628596. Important tips:
|
Message from Michael Matloob: Patch Set 8: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
Message from Max Neverov: Patch Set 8: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/628596. |
This PR (HEAD: 722da12) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/go/+/628596. Important tips:
|
Currently, if computing of the go cache directory fails it does not expose the error. Commands like go clean, exec, modindex that use go cache directory continue execution producing incorrect or no result. This patch adds an error to the return values such that it can be validated on call sites. It also introduces such validation in go clean -cache command to fail execution in case when error occurred.
Fixes #69997