Fixes 840 | Sync test env with group #1036
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.36) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 182 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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
Diff Size
diff_size
0.312
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1036"
general
weight: 0.35
grosser
Hello. I stumbled upon this issue when trying to run parallel tests in CI with shared services and use
This fixes https://github.com/grosser/parallel_tests/issues/840
I couldn't think of a better name for the flag... I considered
--sync-group-index, but ultimately ended with this longer one to ensure it being more descriptive of the action is doing.<details><summary>More details about the bug</summary>
<p>
I tried passing
TEST_ENV_NUMBER, but this would always get overwritten tonildue to how the code is written. Before, the VM had isolated services for the DB & Redis, which we need in our application. But this is consuming a lot of compute. So, we need to share the resources which allows the system to work better. Unfortunately, due to flaky specs, I can't see myself being able to runbundle exec rake parallel:spec[${TEST_PIPELINES}]because this could take hours. Whereas breaking the tests like this, in parallel tests in CI, we can retry in much shorter test groups to rule out, and track flaky specs.</p>
</details>
Checklist
master(if not - rebase it).code introduces user-observable changes.