From 399f9b9b134f21ff43fa9837378a2a7e51ee7482 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Fri, 29 Oct 2021 10:48:27 -0700 Subject: [PATCH 1/2] Fix stardoc first run Seems like avoiding the sandbox fixes this. --- .bazelrc | 3 +++ doc/BUILD.bazel | 1 + 2 files changed, 4 insertions(+) diff --git a/.bazelrc b/.bazelrc index 546137f45a..77e9ef25cd 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,6 +1,9 @@ # NOTE: These are mainly just for the BazelCI setup so they don't have # to be repeated multiple times in .bazelci/presubmit.yml. +# https://github.com/bazelbuild/stardoc/issues/112 +common --incompatible_allow_tags_propagation + # Force the tests to not run in sandboxed mode, since it can introduce # errors and flakes. test --spawn_strategy=local diff --git a/doc/BUILD.bazel b/doc/BUILD.bazel index 049140b136..a419424b77 100644 --- a/doc/BUILD.bazel +++ b/doc/BUILD.bazel @@ -30,6 +30,7 @@ _DOC_SRCS = [ out = file + ".md", header_template = ":header.vm", input = "//apple:%s.bzl" % file, + tags = ["no-sandbox"], # https://github.com/bazelbuild/stardoc/issues/112 deps = ["//apple:" + file], ) for file in _DOC_SRCS From 53497aaebad32d00428b683dd86d1a3962be3203 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Fri, 29 Oct 2021 11:07:15 -0700 Subject: [PATCH 2/2] Temporarily disable a test --- examples/multi_platform/Buttons/BUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/multi_platform/Buttons/BUILD b/examples/multi_platform/Buttons/BUILD index cbeb426370..6a83e65869 100644 --- a/examples/multi_platform/Buttons/BUILD +++ b/examples/multi_platform/Buttons/BUILD @@ -319,6 +319,7 @@ macos_unit_test( name = "ButtonsMacLogicTests", bundle_id = "com.google.logic", minimum_os_version = "10.10", + tags = ["manual"], # https://github.com/bazelbuild/continuous-integration/issues/1273 deps = [":ButtonsMacTestsLib"], ) @@ -341,7 +342,7 @@ macos_unit_test( test_suite( name = "macOSButtonsTestSuite", tests = [ - ":ButtonsMacLogicTests", + # ":ButtonsMacLogicTests", # ":ButtonsMacTests", # ":ButtonsMacUITests", ],