The WorkspaceAuth middleware (PR #31) now requires bearer tokens on all /workspaces/:id/* sub-routes. The E2E test_api.sh already captured ECHO_TOKEN and SUM_TOKEN from /registry/register but was not passing them to the ten /activity curl calls, causing 10 FAIL assertions in CI. Add -H "Authorization: Bearer $ECHO_TOKEN" (or $SUM_TOKEN) to every GET and POST /workspaces/:id/activity call in the Activity Log Tests section. PATCH /workspaces/:id and DELETE /workspaces/:id remain unauthenticated (they are on the root router, not the wsAuth group). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| _extract_token.py | ||
| _lib.sh | ||
| test_a2a_e2e.sh | ||
| test_activity_e2e.sh | ||
| test_api.sh | ||
| test_claude_code_e2e.sh | ||
| test_comprehensive_e2e.sh | ||