-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Remove FIXME about supporting beta for download-rustc
#84929
Conversation
It already works as long as `dev: 1` isn't set.
(rust-highfive has picked a reviewer for you, use r? to override) |
@@ -664,7 +664,7 @@ def maybe_download_ci_toolchain(self): | |||
if self.verbose: | |||
print("using downloaded stage1 artifacts from CI (commit {})".format(commit)) | |||
self.rustc_commit = commit | |||
# FIXME: support downloading artifacts from the beta channel | |||
# NOTE: CI artifacts are stored under nightly even when this is run from the beta branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't true once beta has branched a while back I think; the last bors commit may be either beta or nightly, and it's hard to tell -- I guess we can look if that commit's src/ci/run.sh has a release-channel=beta but that feels pretty annoying.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I'm not sure I understand when commits show up under beta - is it when a beta backport PR lands?
I guess the way to fix it is to check /beta if /nightly 404s? That seems simple enough; not sure if I understand this well enough to extend it to stable though.
Please also check if the LLVM download needs similar treatment; I think I ran into channel trouble there while looking at some bugs during the promotion, but I'm not sure. |
It worked ok for me on 4bac69d, maybe you ran into the issue where some things are uploaded under /beta? If you can find which commits that happens for it would be really helpful :) |
I don't really know what you mean by "uploaded under /beta" - I don't think we upload to channel specific locations at all? I think the error might have been because the llvm toolchain was bumped on beta, which meant that getting the llvm download had to be from beta? I don't think this works as-is in all cases and since the cost of the FIXME is low I'd rather leave it in. I don't really have time to experiment with various cases though myself. |
Going to go ahead and move this over to waiting-on-author as I don't have time to do the investigation myself and it's not a big pain point to have the FIXME in. Feel free to close, if you also don't have the time. |
Ah ok, that makes sense to me (in general, I'm not sure why we include the release channel and version in the LLVM .so). I don't have time to look into it now but I'm fine with leaving the FIXME in until I look into the LLVM issue. |
It already works as long as
dev: 1
isn't set. See https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/Where.20are.20commit.20artifacts.20for.20beta.20stored.3F.