Expose `.xctestrun` files to test pre-actions #3105
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 121 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
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.344
Diff Size
diff_size
0.287
Real PR Conversation Timeline
1 comments
"Review active on #3105"
general
weight: 0.35
aaronsky
Pre-actions currently run before the
.xctestrunfile is generated, so they cannot adjust the prepared test configuration beforexcodebuildlaunches.Run the pre-action after generating the file and pass its path in
TEST_XCTESTRUN_FILE. The hook can then update environment variables, arguments, or other XCTest settings. It still receivesSIMULATOR_UDIDand runs once on either execution path;TEST_XCTESTRUN_FILEis only supplied when usingxcodebuild.Validation:
buildifierformatting and lint checks passed.--override_module=rules_apple=.... They exercise edits to the generated test environment and arguments, verify the hook runs once with the simulator ID, and cover directxctestexecution. Simulator and Xcode commands are stubbed in these tests.bazel run //doc:update;bazel test //doc:check_iospassed.