The CodeQL workflow fails with "CodeQL could not process any code written in C/C++" when a PR modifies a file under envoy/ or source/common/ and the bazel query rdeps(//source/common/..., <file>, 1) resolves exclusively to header-only targets.
I noticed this in my PR which adds an include in load_shed_point.h.
Due to the diff between the PR and main showing load_shed_point.h as changed, the workflow detects C++ changes in envoy/, queries rdeps, and resolves to the header-only load_shed_point_interface target -> triggering the failure.
Is this the expected behavior or can the CodeQL workflow be improved?
The CodeQL workflow fails with "CodeQL could not process any code written in C/C++" when a PR modifies a file under
envoy/orsource/common/and thebazel query rdeps(//source/common/..., <file>, 1)resolves exclusively to header-only targets.I noticed this in my PR which adds an include in
load_shed_point.h.Due to the diff between the PR and
mainshowingload_shed_point.has changed, the workflow detects C++ changes inenvoy/, queries rdeps, and resolves to the header-onlyload_shed_point_interfacetarget -> triggering the failure.Is this the expected behavior or can the CodeQL workflow be improved?