Add --ip-range to bound the simulated IP range #31
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 235 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.327
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #31"
general
weight: 0.35
howardjohn
Every pilot-load process hands out simulated IPs from the same starting point (
10.0.0.10inpkg/simulation/util). Pod, node and WorkloadEntry addresses all come fromutil.GetIP(). So two pilot-loadinstances against the same cluster simulate workloads with overlapping addresses, and istiod and the simulated
ztunnels see address collisions between them.
We run pilot-load as a companion to a load tool: a steady "baseline" world for the whole run, plus short-lived worlds
started and stopped on a schedule to create churn. They run concurrently in one cluster, so they need disjoint ranges.
This adds a global flag that takes a CIDR, so a range is bounded on both sides:
10.64.0.10/16hands out10.64.0.10up to10.64.255.255.GetIPpanics with the range in the message, instead of silently running intoanother instance's addresses.
10.0.0.10/8, keeps today's addresses. The only change is the theoretical bound at10.255.255.255, which previously ran on into11.x.GetIPincrements a 4-byte address. A bare address without a prefix is rejected.It's applied in
GetArgs, before any simulation starts.unchanged default.
Usage: