You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix the api-proxy sidecar'''s Copilot listener (port 10002) — it accepted the health check and key validation but refused all 4 chat-completion connection attempts, killing the run after the harness exhausted its retries.
Affected workflow: Daily Assign Issue To User (.github/workflows/daily-assign-issue-to-user.lock.yml) Run analyzed:§31569260171 (failed) vs §31361150414 (last success, 2026-08-10)
Evidence
[copilot-sdk-driver] error: ... client error (Connect): tcp connect error: Connection refused (os error 111) [ECONNREFUSED] on `(apiproxy/redacted) repeated across all 4 harness attempts between 06:19:28–06:20:24 UTC.
The proxy'''s own startup log shows copilot proxy listening on port 10002 and key_validation ... status: valid about 30s before the first request — the listener reports ready but drops the real connection.
audit-diff against the last successful run shows no firewall blocks and no domain-access changes — this is an internal sidecar defect, not an external network/firewall block.
Race condition or premature readiness signal in the api-proxy sidecar: it logs "listening" before the per-engine (Copilot) listener is actually accepting connections, or the listener silently drops the sandbox'''s first real request under load.
Proposed remediation
Add a real accept-a-connection readiness probe per configured provider listener (not just "process started") before the harness sends its first chat request.
Increase the harness'''s tolerance for a first-attempt ECONNREFUSED with a short backoff before declaring the whole run failed — it currently exhausts all 3 harness retries within about 1 minute.
5 consecutive scheduled runs of Daily Assign Issue To User (and any Copilot-engine workflow) complete without ECONNREFUSED to the local api-proxy; add regression coverage asserting the proxy accepts a real connection before the harness'''s first request.
Parent:#52061 Related:#52194 (same failure class, different engine/listener)
Related to #52061
Fix the api-proxy sidecar'''s Copilot listener (port 10002) — it accepted the health check and key validation but refused all 4 chat-completion connection attempts, killing the run after the harness exhausted its retries.
Affected workflow: Daily Assign Issue To User (
.github/workflows/daily-assign-issue-to-user.lock.yml)Run analyzed: §31569260171 (failed) vs §31361150414 (last success, 2026-08-10)
Evidence
[copilot-sdk-driver] error: ... client error (Connect): tcp connect error: Connection refused (os error 111) [ECONNREFUSED]on `(apiproxy/redacted) repeated across all 4 harness attempts between 06:19:28–06:20:24 UTC.copilot proxy listening on port 10002andkey_validation ... status: validabout 30s before the first request — the listener reports ready but drops the real connection.audit-diffagainst the last successful run shows no firewall blocks and no domain-access changes — this is an internal sidecar defect, not an external network/firewall block.Probable root cause
Race condition or premature readiness signal in the api-proxy sidecar: it logs "listening" before the per-engine (Copilot) listener is actually accepting connections, or the listener silently drops the sandbox'''s first real request under load.
Proposed remediation
Success criteria
5 consecutive scheduled runs of Daily Assign Issue To User (and any Copilot-engine workflow) complete without ECONNREFUSED to the local api-proxy; add regression coverage asserting the proxy accepts a real connection before the harness'''s first request.
Parent: #52061
Related: #52194 (same failure class, different engine/listener)
Related to #52061