Use configured tools for ThinLTO indexing #852
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.62) × (1 − Review Confidence (0.81)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.62 · 43 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.71 · 5 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
Diff Size
diff_size
0.226
Sensitive Paths
sensitive_paths
0.062
Real PR Conversation Timeline
9 items
LGTM, might need to resolve merge confilcts
@lilygorsheneva thanks for the review ! CI is green now !
Seems all green !
This should be replaceable withindex_action.argv().offset(0, factory=subjects.str).equals("tests/cc/testutil/toolchains/lto_index_tool")
Likewise the next env.expect.that_str assertion. It's always preferable to follow the chain of subjects once one has a subject to start with (index_action in this case), rather than referring to .actual and then constructing a new subject from scratch. It provides better failure messages with more context in case the test fails.
Understood! Will change accordingly !
Done
Let me know if anything is needed more
Approved
Approved these changes.
lilygorsheneva
cerisier
ThinLTO indexing shares link finalization, but tool lookup currently uses the final link action instead of the indexing action. A rule-based toolchain with a dedicated indexing driver therefore runs the ordinary linker, and files owned only by that indexing tool are omitted from the legacy
linker_filesinput set.Use the actual action name for tool selection and associate all three ThinLTO indexing actions with
linker_files. Ordinary link and archive actions are unchanged. Focused analysis coverage assigns distinct tools to executable linking and indexing, and covers all three file-group mappings.