From e3e76dbfc1bb42758f0e23f1f8890c678e69ba52 Mon Sep 17 00:00:00 2001 From: jjudd Date: Mon, 26 Aug 2024 13:08:17 -0600 Subject: [PATCH] Support more worker types for jacoco --- rules/private/phases/phase_coverage_jacoco.bzl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/rules/private/phases/phase_coverage_jacoco.bzl b/rules/private/phases/phase_coverage_jacoco.bzl index 31ce0a42..1d43c342 100644 --- a/rules/private/phases/phase_coverage_jacoco.bzl +++ b/rules/private/phases/phase_coverage_jacoco.bzl @@ -44,7 +44,14 @@ def phase_coverage_jacoco(ctx, g): outputs = [in_out_pair[1] for in_out_pair in in_out_pairs], executable = code_coverage_configuration.instrumentation_worker.files_to_run.executable, input_manifests = worker_input_manifests, - execution_requirements = _resolve_execution_reqs(ctx, {"supports-workers": "1"}), + execution_requirements = _resolve_execution_reqs( + ctx, + { + "supports-multiplex-workers": "1", + "supports-workers": "1", + "supports-multiplex-sandboxing": "1", + }, + ), arguments = [args], )