|
Some checks failed
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 4s
sop-checklist / all-items-acked (pull_request) [soft-fail tier:low] acked: 0/7 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +4 — body-unfilled: 2
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 10s
qa-review / approved (pull_request) Failing after 9s
Harness Replays / detect-changes (pull_request) Successful in 12s
security-review / approved (pull_request) Failing after 11s
sop-checklist-gate / gate (pull_request) Successful in 9s
CI / Detect changes (pull_request) Successful in 15s
E2E API Smoke Test / detect-changes (pull_request) Successful in 15s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 15s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 15s
gate-check-v3 / gate-check (pull_request) Failing after 15s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 17s
Harness Replays / Harness Replays (pull_request) Successful in 3s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 3s
CI / Canvas (Next.js) (pull_request) Successful in 4s
CI / Python Lint & Test (pull_request) Successful in 5s
sop-tier-check / tier-check (pull_request) Successful in 8s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 5s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 4s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m7s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Failing after 2m3s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Failing after 2m10s
CI / Platform (Go) (pull_request) Failing after 4m5s
CI / all-required (pull_request) Failing after 1s
The 2-minute timeout was caused by io.Copy(io.Discard, r.Body) in the httptest.Server handler. Go's http.Server reads the full request body into a buffer BEFORE calling the handler, so r.Body is pre-populated. The io.Copy call itself wouldn't block — but the goroutine lifecycle creates a subtle ordering dependency: the handler must return to send response headers, which unblocks the client's body-writer goroutine, which then tries to write remaining body bytes to a potentially-closed connection. Fix: remove io.Copy from the handler entirely. The httptest.Server already consumed the body. Just write the response and return. Also: add missing net/net/url imports, remove unused agentServer/setupIntegrationRedis helpers, restore allowLoopbackForTest(t) calls (SSRF guard), inline httptest.Server creation per-test, override a2aClient DialContext to redirect all connections to the test server. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cmd | ||
| internal | ||
| migrations | ||
| pkg/provisionhook | ||
| .air.toml | ||
| .ci-force | ||
| .gitignore | ||
| .golangci.yaml | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| Dockerfile.tenant | ||
| entrypoint-tenant.sh | ||
| go.mod | ||
| go.sum | ||