Disable persistent workers in sphinx_docs#453
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //src:license-checkStatus: Click to expand output |
|
The created documentation from the pull request is available at: docu-html |
Persistent workers cause Bazel cache corruption when external dependency versions change (stale symlinks remain visible to Sphinx). There is a performance cost to disabling this feature.
adcb024 to
521a147
Compare
|
This fixes the bug for you that you have described in #452 ? I just very crudely tested the performance implications, but on my machines I can't see any significant difference between this change and main. |
|
@MaximilianSoerenPollak, yes, with disabled persistent workers, I don't see cache issues like in #452 anymore. The persistent worker feature was implemented in bazel-contrib/rules_python#2938, and as I unterstand, it's meant to improve performance of incremental builds. That's why a I thought if we disable it, we'll see longer documentation generation times. Interestingly, this feature is marked as experimental, but enabled by default 🤷♂️ I propose to merge this PR, stable builds are more important than the potential performance impact. |
Persistent workers cause Bazel cache corruption when external dependency versions change (stale symlinks remain visible to Sphinx). There is a performance cost to disabling this feature.
Fixes #452
📌 Description
🚨 Impact Analysis
✅ Checklist