Open praiskup opened 2 weeks ago
Wait, are we using s390x for source RPM builds? :-/ s390x is the most scarce resource.
Nah, this is probably breaking all custom builds (including packit): https://copr.fedorainfracloud.org/coprs/g/mock/mock-pull-requests/build/8023082/
This is the issue for the broken mirrormanager: https://pagure.io/fedora-infrastructure/issue/12183
It is acceptable to have problems like that in Fedora in the early stages of the branched version, but it is not acceptable for Copr (we should use the stable default).
Just FTR we want to use fedora-distro-aliases for this and we discussed caching. Fedora-distro-aliases currently implements caching to have a fallback when Bodhi is down but the cache doesn't provide any performance benefits. Even if a cache exists, we try to get fresh results from Bodhi.
I don't think we should change this behavior and always use cache if cache is available but instead try something like this on Copr side:
from coprs import cache
@cache.memoize(timeout=666) # Maybe an hour? Maybe a day?
but we should first do some testing if @cache.memoize
is shared for every thread, if it survives systemctl restart httpd
, and so on.
The
fedora-latest-x86_64
isn't optimal, the failure probability is relatively high, e.g., here: