-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Confusing error message with download-ci-llvm
on old checkout
#107506
Comments
(Personal opinion) I think bootstrap should fall back to building LLVM with a warning if CI LLVM is not available and the option is set to |
In any way, the benefits of any fixes will only be seen 180 days after the fix is merged.
|
Note that this has changed since the issue was opened:
Given that I don't think this issue is super high priority. That said, I still have roughly the same opinion as in #107225 (comment):
I do have some concerns that this will be hard to do correctly (e.g. large parts of src/bootstrap are loading this directly from config.toml and we need to make sure they're kept in sync) and also that it will "silently" regress compile times because people won't realize something has gone wrong. I think until we find a bug that we can't solve by not trying to download the commits in the first place, we should continue solving the problem that way, both because it avoids an unnecessary network call and because it seems simpler than doing the logic dynamically. |
This seems good idea but I think we should do this only on certain errors. For example, if the problem is host-side(maybe user had temporary network problem on the bootstraping process), we can print the error and right after that let the user make this decision (start building LLVM from source or kill the process) via command prompt. |
tbh I feel like the current error message already gives enough info to fix the problem and any additional work is overkill. |
@Nilstrieb gave a 👍 so I'm going to assume that means this is solved. |
CI artifacts get deleted after a while, so using
download-ci-llvm
on old checkouts doesn't work. When the CI artifacts return a 404, bootstrap should note that the checkout might be outdated.The current message is quite confusing, especially because it says "spurious failure", when it is not spurious at all.
The text was updated successfully, but these errors were encountered: