Ladder findings: retry enrollment and admission, size the router as a hub, 502 for an unreachable provider, no CPU limits #638
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.50 · 406 lines diff across 5 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.359
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #638"
general
weight: 0.35
aojea
Follow-up to #615 from the second ladder run on bananas (500 → 1000 → 2500 → 5000 planned; 1432 members resident at the end). Three bottlenecks, each visible in the data, one commit each, plus the deploy change and a ladder accounting fix.
node, control plane: retry an enrollment the limiter turned away
The control plane admits 10 enrollments/s for the whole mesh (burst 20) and answered the rest
429with nothing more; the node took that as final and exited. Five minions ramping 20/s each made 1572 × 429 in one step, 245 of 500 exits on one minion. The429now carriesRetry-After, and the node waits for it, or backs off with jitter when none is named, for about a minute.cpclient.DoWithChallengeRetrylives in the control-plane client so router and bench can share it. (The SDKs do not retry yet; follow-up.)node: retry the routers that did not admit it in time
Routers at their CPU limit missed the handshake deadline; the node took the first miss as final and a member that had just enrolled exited with
failed to authenticate with any router(180 of 500 on one minion).Startand the post-enrollment handshake now dial every router at once and retry at 2 s, 4 s, 8 s (RouterAuthAttempts, default 4). A refusal still ends it at once; "all connection attempts failed" is still reported when no router answers (the e2e that pins it is unchanged).router: size libp2p's stream limits from the connection budget
libp2p sizes its resource limits from host memory, for a leaf peer. The GCE router on a 1 GB VM got 1024 inbound streams in all, 64 for identify and 64 relayed connections per peer, and reset handshakes with
StreamResourceLimitExceeded;libp2p_rcmgr_blocked_resourcescounted 170k blocked inbound streams on a GKE router in step 4.hubLimits()now sizes the system, transient, identify, auth-handshake and relay scopes from--high-watermark/--conns-per-source-ip, and the per-peer relay scopes from--relay-max-circuits.node: 502, not 403, for a provider that never answered
500 callers of a service on two pods got
403 Forbidden: destination is not an enrolled peer14,723 times in step 1 — the label gate reporting a dial failure as a denial, so nothing in the answer said to retry. A failure before any credential was read is nowErrProviderUnreachable→502 Bad Gateway(Proxy-Status: destination_unavailableon the tunnel path); a verdict on a credential that was read stays403.deploy, chart: requests without limits; router VM with a core
Router pods under a 500m CPU limit were CFS-throttled 480–745 s each during the joins. Every mesh component in the testnet manifests and the chart now sets a request and no CPU/memory limit (the vLLM TPU limit stays: extended resources require request = limit). The GCE router moves from e2-micro to e2-small and serves
/metricson loopback.scale: count the members that stayed
The ladder reported 5000 resident by adding planned counts; it now counts members that became ready and whose process is still there.
Validation
golangci-lint0 issues,verify-generated.shOK,go testforinternal/...api/...cmd/...andtests/integrationgreen,helm lintOK, every commit builds and vets alone.