Exclude cpp_module_codegen from source_compile_actions #897
All Vouch review confidence checks passed
Residual risk 0.08 = Change Risk (0.15) × (1 − Review Confidence (0.50)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.15 · 5 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.00 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.350
Diff Size
diff_size
0.107
Real PR Conversation Timeline
3 items
Approved
Approved these changes.
Approved
Approved these changes.
lilygorsheneva
fmeum
Module codegen actions compile a precompiled module into an object file and never preprocess. Bazel's legacy
include_paths,includesandpreprocessor_definesfeatures accordingly don't cover thecpp_module_codegenaction, but their rules-based counterparts (//cc/toolchains/args/include_flagsand//cc/toolchains/args/preprocessor_defines, as well as the corresponding variables) apply tosource_compile_actions, which does. Every module codegen action thus receives the include paths and defines of compile actions, and Clang warns about each include path as an unused argument (clang++: warning: argument unused during compilation: '-iquote .' [-Wunused-command-line-argument]).This excludes the action from
source_compile_actionslikelto_backendalready is, which restores parity with the legacy features.