forked from molecule-ai/molecule-core
The script was stuck on pre-auth API expectations and hadn't been updated when /registry heartbeat and /registry/discover tightened: - Phase 30.1 (/registry/heartbeat, /registry/update-card): require Authorization: Bearer <token>. The token is returned in the register response as auth_token. - Phase 30.6 (/registry/discover/:id, /registry/:id/peers): require X-Workspace-ID caller identity + bearer token on the caller. Changes: - Capture ECHO_TOKEN and SUM_TOKEN from /registry/register responses - Thread Authorization: Bearer on every heartbeat + update-card call - Assert the new 400 "X-Workspace-ID header is required" rejection for the no-caller discover path (previously asserted old success shape) - Add bearer auth to sibling discover + /peers calls - Pre-test cleanup: delete all workspaces at script start so count assertions are reproducible across back-to-back runs Result: 62 passed, 0 failed (was 46/62). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| test_a2a_e2e.sh | ||
| test_activity_e2e.sh | ||
| test_api.sh | ||
| test_claude_code_e2e.sh | ||
| test_comprehensive_e2e.sh | ||