common: pin model resolution on real HF repo layouts (#30548)
* tests: pin model resolution on real repo listings Extend test-model-resolution with 63 repo listings captured verbatim from the HF API, chosen to cover every file naming pattern found across 1237 GGUF repos of the major publishers and pruned to whole quant groups. Each repo pins its resolved plans and its cache listing. The expectations follow what each file really is per its GGUF header, not what the current resolver picks, so a mismatch is a resolution bug. Mismatches are collected and reported together before the test fails. * tests: leave the listing unchecked on paths the filesystem refuses Some real split names (DevQuasar's Model.Q2_K.gguf-00001-of-00012.gguf under a quant folder) exceed MAX_PATH once materialized in the temporary cache on Windows, so the listing of such a repo is skipped with a note while its plans stay checked. * tests: pin real listings to master on GGUF convention names only Replace the real repo table with 171 HF listings whose file names follow the GGUF naming convention (lowercase sidecar prefix, - delimited components, quant last), one per layout pattern found across 1174 GGUF repos and pruned to whole quant groups. Repos outside the convention are dropped. Each repo pins the plans and the cache listing master gives today, so the test is a pure harness: any change in resolution shows up here, and mismatches are reported together.
This commit is contained in:
1 parent
c6fb3b5be2
commit
74b104c9ba
1 file changed
+2250