litellm/tests/claude_code
mateo-berri 9a0dd48b06 compat-matrix: shim tests/claude_code from dev checkout when missing on resolved tag
The resolver picks the latest `v*-stable` tag of BerriAI/litellm. Until
the compat matrix work itself lands in a stable release, that tag's
tree won't contain `tests/claude_code/` at all — the proxy config and
test files only exist on the work-in-progress stack. Without a shim,
the cron dies with 'proxy config not found at .../test_config.yaml'
on every run.

Fix: after `git checkout <tag>`, if
`<worktree>/tests/claude_code/test_config.yaml` is missing, copy the
directory from ${LITELLM_REPO} (the dev checkout, which has the
in-flight matrix work). The `git clean -e tests/claude_code` line
preserves the shim across runs.

Once the matrix work is in the resolved tag, the if-branch is a no-op
and the shim is never used. No code path needs to be removed later;
the bridge self-disables.
2026-05-06 23:27:14 +00:00
..
_builder_unit_tests RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-05-06 23:27:14 +00:00
_driver_unit_tests style: reformat test files 2026-05-06 23:27:14 +00:00
_pr_gate_unit_tests RALPH: compat matrix slice 3 - wire PR gate in CircleCI (#26479, PRD #26476) 2026-05-06 23:27:05 +00:00
basic_messaging_non_streaming style: reformat test files 2026-05-06 23:27:14 +00:00
basic_messaging_streaming style: reformat test files 2026-05-06 23:27:14 +00:00
cron_vm compat-matrix: shim tests/claude_code from dev checkout when missing on resolved tag 2026-05-06 23:27:14 +00:00
extended_thinking style: reformat test files 2026-05-06 23:27:14 +00:00
prompt_caching_5m style: reformat test files 2026-05-06 23:27:14 +00:00
tool_use style: reformat test files 2026-05-06 23:27:14 +00:00
vision style: reformat test files 2026-05-06 23:27:14 +00:00
__init__.py RALPH: tracer-bullet for Claude Code compatibility matrix (#26477, PRD #26476) 2026-05-06 23:27:05 +00:00
cli_driver.py style: reformat test files 2026-05-06 23:27:14 +00:00
conftest.py RALPH: tracer-bullet for Claude Code compatibility matrix (#26477, PRD #26476) 2026-05-06 23:27:05 +00:00
manifest.yaml RALPH: compat matrix slice 5 - add remaining 5 v0 features (full 6x5 grid) (#26481, PRD #26476) 2026-05-06 23:27:14 +00:00
matrix_builder.py RALPH: tracer-bullet for Claude Code compatibility matrix (#26477, PRD #26476) 2026-05-06 23:27:05 +00:00
pr_gate_version_resolver.py RALPH: compat matrix slice 3 - wire PR gate in CircleCI (#26479, PRD #26476) 2026-05-06 23:27:05 +00:00
sample_compatibility-matrix.json RALPH: fix compat matrix - Azure now hosts Claude via Microsoft Foundry 2026-05-06 23:27:14 +00:00
test_config.yaml style: reformat test files 2026-05-06 23:27:14 +00:00