fix(cli): use the configured daemon proxy for workflow streams #4190
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.59) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 185 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.313
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #4190"
general
weight: 0.35
openrig-review
What a user gets
In a sandbox with a daemon proxy,
rig workflow watchfetched the trace through the proxy but opened its event stream directly. The shared follow loop forwatchandrunnow uses the daemon transport for the stream, including reconnects.How you verified it
Ran a workflow against a loopback HTTP server and CONNECT proxy. Before the fix, the two requests produced just one tunnel. Now both the stream and the trace go through the proxy and the watcher exits on the streamed completion event.
On
1dba38bf9,vitest run packages/cli/test/daemon-proxy.test.ts packages/cli/test/workflow-follow.test.ts packages/cli/test/workflow-follow-connect-deadline.test.tspassed (62 tests). Build and lint passed with all five local changes applied together. I ran the focused suites locally and left the fullnpm testrun to CI.Anything you were unsure about
CHANGELOG.mdedit<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Workflow following now uses the configured daemon connection for event and trace requests, allowing completion events to appear when operating through a proxy.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->