Fix timing-dependent cross-context and connect-neuter tests #7574
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.33) × (1 − Review Confidence (0.72)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 116 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 1 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.285
Real PR Conversation Timeline
4 items
LGTM!
<details>
<summary>Specialist findings not posted (1)</summary>
tests#1 [WARNING] src/workerd/api/tests/cross-context-promise-test.js:14: readyState is not an IoContext-bound operation, so this replacement probe cannot detect the regression these tests are meant to cover. WebSocket::getReadyState() merely delegates to LegacyWebSock… — readyState dereferences farNative, an IoOwn<Native>; its operator-> calls DeleteQueue::checkFarGet()`, which rejects a different IoContext before reading state.</details>
---
<sub>Reviewed commit: 5e270b1d · github run</sub>
<!-- bonk-review-state:{"head":"5e270b1d8f7c643fcdef4be538ff89fe8f18909c","base":"ab1b3926727b2fdc1f104d99eef93a878a93f665","specialists":{"tests":"ok","api-compat":"ok","compat-flags":"ok"}} -->
Approved
Approved these changes.
Approved
Approved these changes.
ryanking13
harrishancock
Addresses the ARM debug timeout and Windows completion race observed on PR #7568.
The cross-context changes are split into probe cleanup, expired-request ordering, and cyclic-request coordination. Reading request-owned WebSocket state avoids starting socket tasks whose cancellation produces expensive diagnostics. Observed cancellation and subrequest completion establish the required ordering without sleeps. The separate connect-neuter fix awaits the late-write assertion itself, retaining the exact disconnected
TypeErrorcheck from the security fix.The optional
connect-neuter-test@gc-stresstarget fails withPromise will never complete.on both unchanged and fixed source; that pre-existing failure is outside the default suite and remains unresolved.Assisted-by: Codex:gpt-6-astra