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

Mirror in devtools problem (network condition and correctness of rebuild) #2577

Open
CoelacanthusHex opened this issue Apr 29, 2023 · 0 comments

Comments

@CoelacanthusHex
Copy link
Collaborator

CoelacanthusHex commented Apr 29, 2023

We use https://archriscv.felixc.at/ as the default mirror in devtools now. But this tier-0 origin has bad network conditions somewhere in the world, such as in China Mainland. Sometimes it will be into timeout. And often have bed network speed.
Fortunately, Arch Linux provides us with a mirror(https://riscv.mirror.pkgbuild.com/) that is synchronized in time and has good network conditions around the world.
Unfortunately, this can break rebuild because of the tiny sync gap between the mirror and the origin.

Yes. Builders using a not up-to-date mirror may rebuild against an old version of a just-updated dependency.
Originally posted by @felixonmars in #2574 (comment)

Felix Yan also mentioned that one solution is to support overriding the mirrors per builder.

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

No branches or pull requests

1 participant