Integration Test Results
Run date: 2026-07-26
Workflow run: 30186463799
Summary
All 3 integration tests failed. The tests timed out at 120s each because the Copilot SDK server at (127.0.0.1/redacted) returns AUTHENTICATION_FAILED` immediately when a session is created.
Test file
scripts/haiku.integration.test.ts
Failed tests
| Test |
Error |
| runs a single-agent haiku sample with the real runtime |
Error: Test timed out in 120000ms |
| runs a single-agent sonnet sample with the real runtime |
Error: Test timed out in 120000ms |
| runs a complex sonnet sample with tools, addons, intents, and subagent wiring |
Error: Test timed out in 120000ms |
Root cause
The tests timed out because the underlying Copilot SDK createSession() call fails immediately with AUTHENTICATION_FAILED. This was confirmed by direct SDK testing:
Connecting to: (127.0.0.1/redacted)
Client created
Error: AUTHENTICATION_FAILED
The test processes hang instead of exiting because the SDK connection stays open while the JSON-RPC error is being processed. The integration tests require valid Copilot API credentials that are not available in this workflow environment.
Environment
COPILOT_SDK_URI is set to `(127.0.0.1/redacted) (server is reachable)
COPILOT_GITHUB_TOKEN is not set
COPILOT_TOKEN is set but rejected by the SDK server
- Node.js v24.18.0
- vitest v4.1.7
Generated by Rig Integration Tests · sonnet46 49.2 AIC · ⊞ 4K · ◷
Integration Test Results
Run date: 2026-07-26
Workflow run: 30186463799
Summary
All 3 integration tests failed. The tests timed out at 120s each because the Copilot SDK server at
(127.0.0.1/redacted) returnsAUTHENTICATION_FAILED` immediately when a session is created.Test file
scripts/haiku.integration.test.tsFailed tests
Error: Test timed out in 120000msError: Test timed out in 120000msError: Test timed out in 120000msRoot cause
The tests timed out because the underlying Copilot SDK
createSession()call fails immediately withAUTHENTICATION_FAILED. This was confirmed by direct SDK testing:The test processes hang instead of exiting because the SDK connection stays open while the JSON-RPC error is being processed. The integration tests require valid Copilot API credentials that are not available in this workflow environment.
Environment
COPILOT_SDK_URIis set to `(127.0.0.1/redacted) (server is reachable)COPILOT_GITHUB_TOKENis not setCOPILOT_TOKENis set but rejected by the SDK server