Right now our jobs do not wipe the workspace (to preserve git clone for performance). They also don't reset the workspace (T76304).
Resetting the workspace (preserving the git clone) would solve issues around state data, but it will still leave certain workspace issues open. Such as:
- T86730: Zuul-cloner failing to acquire .git lock sometimes
- T93703: reduce copies of mediawiki/core in workspaces
We should fully wipe our workspaces. (Wipe workspace postbuild, not prebuild!) This will avoid these issues by design, and would make our current environment more like the isolated VM situation (T47499).
Doing this requires (for performance), that we first:
- Set up git replication on integration slaves.
- Make Zuul-cloner use it.