llama-stack-mirror/.github/actions
Ashwin Bharambe 5f95c1f8cc
fix(ci): install client from release branch before uv sync (#4001)
Fixes CI failures on release branches where uv sync can't resolve RC
dependencies.

The problem: on release branches like `release-0.3.x`, pyproject.toml
requires `llama-stack-client>=0.3.1rc1`. But RC versions only exist on
test.pypi, not PyPI. So uv sync fails before we even get a chance to
install the client from git.

The fix is simple - on release branches, pre-install the client from the
matching git branch first, then run uv sync. This satisfies the RC
requirement and lets dependency resolution succeed.

Modified setup-runner and pre-commit workflows to do this. Also cleaned
up some duplicate logic in setup-test-environment that's now handled
centrally.

Example failure:
5415478835
2025-10-31 06:16:20 -07:00
..
install-llama-stack-client fix(ci): install client from release branch before uv sync (#4001) 2025-10-31 06:16:20 -07:00
run-and-record-tests ci: support release branches and match client branch (#3990) 2025-10-30 15:20:34 -07:00
setup-ollama feat(tests): migrate to global "setups" system for test configuration (#3390) 2025-09-09 15:50:56 -07:00
setup-runner fix(ci): install client from release branch before uv sync (#4001) 2025-10-31 06:16:20 -07:00
setup-test-environment fix(ci): install client from release branch before uv sync (#4001) 2025-10-31 06:16:20 -07:00
setup-vllm test: Add VLLM provider support to integration tests (#2757) 2025-07-24 09:42:26 -07:00