Open KevinMind opened 1 month ago
This is happening too often to ignore. This is already annoying on PRs, but it also affects deploys sometimes, which creates friction and wastes our time.
@KevinMind is this a dupe of https://github.com/mozilla/addons/issues/15036 ?
What happened?
Sometimes when starting web/worker containers we experience a race condition from the static files volume being simultaneously mounted in both containers.
The error occurs in two instances
1) during the docker build while parallel building stages depend on the same build cache mount (pip_dev + pip_prod) 2) during docker compose up, while parallel starting containers depend on the same bind mount (web + worker both depend on data_olympia, data_static_assets, etc)
We can avoid this by not mounting to the worker container as it is not needing these files.
What did you expect to happen?
It should not happen
Is there an existing issue for this?
┆Issue is synchronized with this Jira Task