test: name the cause when the sandbox MCP session cannot be opened #126

Merged
pti merged 1 commit from fix/test-sandbox-mcp-diagnosis into main 2026-11-06 18:44:25 +01:00
Owner

Follow-up to #125 after its first real run on the website sandbox, where 11 of 12 checks passed and the mcp check failed with a message naming three possible causes at once. When no SSE endpoint event arrives, the probe now requests the status line alone and reports what it got: 000 means the wraptool server is not running on the host or the pinhole is gone, 401 a stale bearer token in the harness config, 403 a missing sandbox-scoped network rule, 200 a stream that sent no event. Each message names the command that fixes it. Dry-run against a fake sbx for the 000 path. 🤖 Generated with Claude Code

Follow-up to #125 after its first real run on the website sandbox, where 11 of 12 checks passed and the mcp check failed with a message naming three possible causes at once. When no SSE endpoint event arrives, the probe now requests the status line alone and reports what it got: 000 means the wraptool server is not running on the host or the pinhole is gone, 401 a stale bearer token in the harness config, 403 a missing sandbox-scoped network rule, 200 a stream that sent no event. Each message names the command that fixes it. Dry-run against a fake sbx for the 000 path. 🤖 Generated with Claude Code
test(sandbox): name the cause when the MCP session cannot be opened
All checks were successful
Lint / lint (pull_request) Successful in 1m41s
Lint / sonarqube (pull_request) Has been skipped
4e3f439a9b
The first real run of test-sandbox.sh failed its mcp check with a message
that lumped three causes together. When no endpoint event arrives, the
probe now asks for the status line alone and reports it: 000 means the
server is not running or the pinhole is gone, 401 a stale bearer token,
403 a missing sandbox-scoped network rule, 200 a stream with no event.
Each names the command that fixes it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
pti merged commit c9c4f6fa67 into main 2026-11-06 18:44:25 +01:00
pti deleted branch fix/test-sandbox-mcp-diagnosis 2026-11-06 18:44:25 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pti/wraptool!126
No description provided.