On Sat Jun 28 02:47:26 2025 +0000, Jinoh Kang wrote:
Assuming the ~/.wine is not shared at all (and not persisted either), it's also possible that concurrent gitlab runners have inconsistent configuration. -concurrent-0 has the correct config, but then -1, -2, etc have different configuration and/or host environment.
It is clear gitlab leaves behind files after every job. See e.g. https://gitlab.winehq.org/wine/wine/-/jobs/169445 where it has to remove leftover directories from a previous build. Note also that the test job https://gitlab.winehq.org/wine/wine/-/jobs/169451 doesn't mention removing any files.
I think a better solution may be to put the `WINEPREFIX` in the current directory (which should be unique between runners) and clean that up at the end of the tests, or before starting the tests.
Another (probably even better) solution would be to configure the runners to not allow storing changes outside of the current directory, and maybe do a `git clean -fdx` at the end of every job. Although I don't know anything about configuring the runners, so I don't know what's possible there.