oliver-zehentleitner / maity
runner: one workspaces root per runner (docs, and a check warning if cheap)
tsk-vrzxhddz55vm Open
Raised by 47me in review A1004 of #1917. Today, maity runner gc --scratch (and, similarly, gc --revoked for the clones) also removes the scratch of a placement that is not this runner's. If two runners share one workspaces root, the second loses active scratches and clones. The docs do not forbid a shared root.
To do:
- docs/runners.md and §15.5: one workspaces root per runner, never shared between runners, and why (gc reads only this runner's placements).
maity runner checkwarns when the root holds a workspace record of another runner, if that can be told cheaply from the records. If not cheaply, then only the docs, and say so in the PR.
Small; start after #1917 is merged. Same review rules as the runner work.