llama-stack-mirror/.github
Ashwin Bharambe 78a676e231 feat(tests): add TypeScript client integration test support
Integration tests now support replaying TypeScript SDK tests alongside Python tests when running against server-mode stacks. This enables cross-language validation of API contracts and ensures the TypeScript client properly handles recorded responses.

The implementation adds a new `RUN_CLIENT_TS_TESTS` environment variable that triggers TypeScript test execution after successful Python runs. A mapping file (`suites.json`) defines which TypeScript test files correspond to each Python test suite/setup combination. The script automatically installs npm dependencies, forwards server configuration (base URL and model defaults from setup definitions), and executes matching TypeScript tests using Jest.

CI integration is enabled for server-based test jobs, and the feature can be exercised locally with commands like:

\`\`\`bash
RUN_CLIENT_TS_TESTS=1 scripts/integration-tests.sh --stack-config server:ci-tests --suite responses --setup gpt
\`\`\`

The TypeScript tests reuse existing replay fixtures through the forwarded \`TEST_API_BASE_URL\`, avoiding the need for duplicate response recordings.
2025-11-18 15:51:53 -08:00
..
actions fix: harden storage semantics (#4118) 2025-11-12 10:35:39 -08:00
ISSUE_TEMPLATE docs: fix broken links (#3647) 2025-10-01 16:48:13 -07:00
workflows feat(tests): add TypeScript client integration test support 2025-11-18 15:51:53 -08:00
CODEOWNERS chore: Remove myself from codeowners (#4175) 2025-11-17 09:28:41 -05:00
dependabot.yml chore: move src/llama_stack/ui to src/llama_stack_ui (#4068) 2025-11-04 15:21:49 -08:00
mergify.yml ci: introduce Mergify bot to notify on PR conflicts (#4043) 2025-11-03 12:21:19 -08:00
PULL_REQUEST_TEMPLATE.md chore: fix visible comments in pr template (#2279) 2025-05-27 15:42:33 +02:00
TRIAGERS.md chore: update CODEOWNERS (#3613) 2025-10-03 17:12:34 -07:00