Skip to main content

Catalog cache isolation in tests

Test catalog isolation now prevents pollution of user cache.

Status: shipped | Area: policy | Published: 2026-03-19

Control impact: Fixes test isolation issue.

Tests were writing fixture catalog data to the real user cache at ~/.cache/syndicatecode/modelsdev-catalog.json, causing the live server to report only 1 provider instead of the full catalog.

Added ResetCatalogManager() to providersupport and applied XDG_CACHE_HOME isolation + manager reset/cleanup to all affected tests.