All components get locked at once from time to time
This is happening from time to time.
We get notifications from Weblate over email, probably one for each component (got 310 notifications over email this time), that the components were locked, for example:
# Component locked
[Tails translation platform](https://translate.tails.net) /
[Tails](https://translate.tails.net/projects/tails/) /
[wiki/src/index.*.po](https://translate.tails.net/projects/tails/index/)
(...)
Generated on April 13, 2025, 3:05 a.m..
i suspect this is due to some issue with Weblate trying to update its repository. Not always, but many times, we also receive an alert about failure to access the remote repo, for example:
## Could not update the repository.
Weblate could not fetch upstream changes when updating the repository.
fatal: unable to access 'https://gitlab.tails.boum.org/tails/tails.git/': The requested URL returned error: 502
(128)
Weblate will retry the operation once it is needed again, so the alert might
disappear for the temporary issues.
i've put a cron script in place to unlock components each day as a temporary workaround, but we should resolve the underlying issue.
In theory, we have AUTO_UPDATE=none
, so Weblate shouldn't try to update. Not sure what's happening there, need to investigate.
/cc @hefee