Skip to content
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

Fallback to nightly builds (ci.dot.net) is not good behavior #578

Open
pavel-purma opened this issue Mar 12, 2025 · 2 comments
Open

Fallback to nightly builds (ci.dot.net) is not good behavior #578

pavel-purma opened this issue Mar 12, 2025 · 2 comments

Comments

@pavel-purma
Copy link

Current behavior of the install script downloads from CDN and as fallback it tries to download from nightly build domain (ci.dot.net). That seems to be not correct behavior.

Possibly we could try directly specific another (backup) CDN

@richlander
Copy link
Member

richlander commented Mar 14, 2025

I think we got into a bad design point where we have one install script for internal and external uses. The one that exists today is effectively the internal one. I'd like to see a new install script with all the fallback logic removed, with knowledge of only our production/stable download domain (builds.dotnet.microsoft.com).

dotnet-install: The resource at legacy link 'https://builds.dotnet.microsoft.com/dotnet/Sdk/9.0.201/dotnet-dev-osx-arm64.9.0.201.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://ci.dot.net/public/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz
curl: (56) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://ci.dot.net/public/Sdk/9.0.201/dotnet-sdk-9.0.201-osx-arm64.tar.gz' is not available.
dotnet-install: Attempting to download using legacy link https://ci.dot.net/public/Sdk/9.0.201/dotnet-dev-osx-arm64.9.0.201.tar.gz
curl: (56) The requested URL returned error: 404

The fact that users are seeing ci.dot.net in these logs is bad. That domain is no secret. It's not that. It's that our CI server is involved in production scenarios. It should not be.

From: dotnet/core#9797

@mmitche
Copy link
Member

mmitche commented Mar 17, 2025

I don't think this is an internal vs. external issue. Maybe more of a contributor vs. non-contributor issue. Daily builds are required for building most .NET repos. in the current in-development band.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants