mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
44622440fe
Wires up a single-command path to run the full integration smoke suite against a local Docker stack instead of Railway. Useful when Railway is degraded (OOM, rate limits) or when testing changes that haven't been deployed yet. Additions: - showcase/docker-compose.local.yml: add `aimock` as 18th service so integration containers can reach http://aimock:4010 on the compose network, mirroring the Railway setup where they call showcase-aimock. - showcase/tests/e2e/integration-smoke.spec.ts: `LOCAL_PORTS=1` env rewrites each integration's Railway URL to http://localhost:<port> via showcase/shared/local-ports.json. Starters are skipped under this flag because they aren't in local-ports.json. - showcase/scripts/smoke-local.sh: orchestrates build → up → wait → run Playwright → tear down. Supports --level=L1/L2/L3/L4, --keep, --no-build. - showcase/tests/package.json: `pnpm smoke:local[:L1|:keep|:nobuild]` scripts delegate to the helper. - showcase/.env.example: document optional OPENAI_BASE_URL + ANTHROPIC_BASE_URL (route through local aimock) and package-specific GitHubToken + GOOGLE_API_KEY (ms-agent-dotnet, google-adk). Verified locally: `pnpm smoke:local:L1` → 17/17 L1 green against the local stack.
703 B
703 B