Skip to content

test: Only build win32_scm_test on Windows - #48922

Merged
RyanTheOptimist merged 1 commit into
envoyproxy:mainfrom
phlax:win-platform
Nov 2, 2026
Merged

RyanTheOptimist merged 1 commit into
envoyproxy:mainfrom
phlax:win-platform

Conversation

@phlax

@phlax phlax commented Nov 2, 2026

Copy link
Copy Markdown
Member

The test is entirely inside a WIN32 guard, so elsewhere it builds an empty test. As it has envoy-static in its data, that empty test also reruns whenever envoy-static changes, ie on every commit. Mark it compatible with Windows only so other platforms skip it.

The test is entirely inside a WIN32 guard, so elsewhere it builds an
empty test. As it has envoy-static in its data, that empty test also
reruns whenever envoy-static changes, ie on every commit. Mark it
compatible with Windows only so other platforms skip it.

Signed-off-by: Ryan Northey <[email protected]>
@RyanTheOptimist
RyanTheOptimist merged commit b6818cb into envoyproxy:main Nov 2, 2026
27 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 6, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 9, 2026
The test is entirely inside a WIN32 guard, so elsewhere it builds an
empty test. As it has envoy-static in its data, that empty test also
reruns whenever envoy-static changes, ie on every commit. Mark it
compatible with Windows only so other platforms skip it.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 9, 2026
The test is entirely inside a WIN32 guard, so elsewhere it builds an
empty test. As it has envoy-static in its data, that empty test also
reruns whenever envoy-static changes, ie on every commit. Mark it
compatible with Windows only so other platforms skip it.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 10, 2026
The presubmit selects the affected tests with cquery and passes them to
bazel test as explicit labels. cquery includes targets that are
incompatible with the target platform, such as the Windows-only
//test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for
wildcard patterns: as explicit labels they abort the build with
"command succeeded, but not all targets were analyzed", as on any PR
touching test/exe/BUILD. The selection now drops them, by checking for
IncompatiblePlatformProvider in the cquery starlark output.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 10, 2026
…#49150)

The presubmit selects the affected tests with cquery and passes them to
bazel test as explicit labels. cquery includes targets that are
incompatible with the target platform, such as the Windows-only
//test/exe:win32_scm_test (#48922), and Bazel only skips those for
wildcard patterns: as explicit labels they abort the build with "command
succeeded, but not all targets were analyzed", as on any PR touching
test/exe/BUILD. The selection now drops them, by checking for
IncompatiblePlatformProvider in the cquery starlark output.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
The test is entirely inside a WIN32 guard, so elsewhere it builds an
empty test. As it has envoy-static in its data, that empty test also
reruns whenever envoy-static changes, ie on every commit. Mark it
compatible with Windows only so other platforms skip it.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
…envoyproxy#49150)

The presubmit selects the affected tests with cquery and passes them to
bazel test as explicit labels. cquery includes targets that are
incompatible with the target platform, such as the Windows-only
//test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for
wildcard patterns: as explicit labels they abort the build with "command
succeeded, but not all targets were analyzed", as on any PR touching
test/exe/BUILD. The selection now drops them, by checking for
IncompatiblePlatformProvider in the cquery starlark output.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
…envoyproxy#49150)

The presubmit selects the affected tests with cquery and passes them to
bazel test as explicit labels. cquery includes targets that are
incompatible with the target platform, such as the Windows-only
//test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for
wildcard patterns: as explicit labels they abort the build with "command
succeeded, but not all targets were analyzed", as on any PR touching
test/exe/BUILD. The selection now drops them, by checking for
IncompatiblePlatformProvider in the cquery starlark output.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
The test is entirely inside a WIN32 guard, so elsewhere it builds an
empty test. As it has envoy-static in its data, that empty test also
reruns whenever envoy-static changes, ie on every commit. Mark it
compatible with Windows only so other platforms skip it.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
…envoyproxy#49150)

The presubmit selects the affected tests with cquery and passes them to
bazel test as explicit labels. cquery includes targets that are
incompatible with the target platform, such as the Windows-only
//test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for
wildcard patterns: as explicit labels they abort the build with "command
succeeded, but not all targets were analyzed", as on any PR touching
test/exe/BUILD. The selection now drops them, by checking for
IncompatiblePlatformProvider in the cquery starlark output.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 11, 2026
…envoyproxy#49150)

The presubmit selects the affected tests with cquery and passes them to
bazel test as explicit labels. cquery includes targets that are
incompatible with the target platform, such as the Windows-only
//test/exe:win32_scm_test (envoyproxy#48922), and Bazel only skips those for
wildcard patterns: as explicit labels they abort the build with "command
succeeded, but not all targets were analyzed", as on any PR touching
test/exe/BUILD. The selection now drops them, by checking for
IncompatiblePlatformProvider in the cquery starlark output.

Signed-off-by: Ryan Northey <[email protected]>
jwendell pushed a commit that referenced this pull request Nov 11, 2026
The test is entirely inside a WIN32 guard, so elsewhere it builds an
empty test. As it has envoy-static in its data, that empty test also
reruns whenever envoy-static changes, ie on every commit. Mark it
compatible with Windows only so other platforms skip it.

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
jwendell pushed a commit that referenced this pull request Nov 11, 2026
…#49150)

The presubmit selects the affected tests with cquery and passes them to
bazel test as explicit labels. cquery includes targets that are
incompatible with the target platform, such as the Windows-only
//test/exe:win32_scm_test (#48922), and Bazel only skips those for
wildcard patterns: as explicit labels they abort the build with "command
succeeded, but not all targets were analyzed", as on any PR touching
test/exe/BUILD. The selection now drops them, by checking for
IncompatiblePlatformProvider in the cquery starlark output.

Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 12, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 13, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
(cherry picked from commit b6818cb)
Signed-off-by: Ryan Northey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants