Read on after a source's defect in a polled RPC watch #88
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 · 231 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.326
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #88"
general
weight: 0.35
gjermundgaraba
A watch polling an
ActionRpc.layerserver (mode: "poll") ended with "Internal server error" when the event's source died. The poll rpc concealed the defect as a die, and the watch retries only typed transient failures. Over HTTP the same poll is a 500 and over MCP a-32603, and both clients read on, as a streamed RPC watch and one in process do.pollHandlerOfnow reports a source's defect once and answersAction.Unavailable, which the poll rpc already declared and every client's watch reads on after. Onlyfeed.pollis caught (the source, the event's authorizer and its subscription hook), not decoding,check, the caller or encoding. Not breaking: an older client's watch already reads on afterUnavailable.Proof, by running it:
tests/rpc/poll.test.tsfails when the catch is removed.Review: deslop review in https://ampcode.com/threads/T-01a21914-2007-70dc-8179-d88192f051cd. It found the fix in the right place: treating the concealed error as transient on the client would also retry action, encoding and verifier defects.
ActionEntity.layershares the handler): the changelog says so. I didn't run or test the entity path, so I claim nothing about its watch.It found nothing deleted or reverted.
Checks:
vp check,env -u NO_COLOR vp testandvp run test:packagepass, rebased on fcfb451.