StigBazelExecrootAccessCoordinator
Build-scoped exclusive-access coordinator for tasks that invoke Bazel or read files through its shared execroot. Despite the BuildService superclass name (a Gradle term, not a runtime daemon), this is one object for the duration of a Gradle build. It serves two roles:
Serializes Bazel-invoking and execroot-dependent tasks across subprojects via
maxParallelUsages(1). Subprojects can share the same Bazel execroot, generated outputs, andexternal/symlink tree. P1 captures native compiler inputs before releasing this service. Standalone LLVM builders consume these per-activity copies and can overlap Bazel and other LLVM builders. Tasks inspecting the original source tree still use this service.Caches
bazel info execution_rootper workspace so consumers don't each re-invoke it.
Tasks that use this coordinator
| Task | Reason |
|---|---|
stigAnalysisP1BuildNativeTarget | Invokes bazel build, mutates execroot |
stigAnalysisP1ExtractNativeCompileCommands | Invokes bazel aquery, reads execroot |
stigGenerateAnalysisHarness | Runs Clang schema inventory over execroot |
stigAnalysisP7CollectDescriptions | Walks include paths through execroot |
stigAnalysisP7CollectMetrics | Runs clang-tidy over execroot inputs |