Harden the tokenless llama.cpp release-redirect fallback: - Guard the redirect-resolved tag with is_release_tag_like so an unexpected redirect target fails closed to the REST/source path instead of building a 404-bound download URL. - When the REST listing and the redirect both fail, raise a chained error that names both causes instead of only the REST 403. - Drop a no-op except branch in the specific-tag path and clarify the synthetic-release comment. Add negative tests: both paths failing, a pinned tag never using the redirect, a malformed redirect target being rejected, and a real REST asset URL taking precedence over the synthetic one. |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| smoke_test_llama_prebuilt.py | ||
| smoke_test_parallel_studio_home.py | ||
| test_install_llama_prebuilt_logic.py | ||
| test_llama_pr_force_and_source.py | ||
| test_pr4562_bugfixes.py | ||
| test_rocm_support.py | ||
| test_selection_logic.py | ||
| test_tokenless_release_resolution.py | ||