mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-23 00:20:45 +00:00
A failed live catalog fetch serves the persisted last-known-good catalog with a warning, and every TTL-expired automatic load re-attempted live — so a backend whose discovery keeps failing re-armed the renderer's 「暂时无法更新实时模型列表」 banner forever, even though the persisted models worked and selecting one never touched the banner state. Serve the persisted last-known-good catalog without a live attempt on every non-force load (the LKG-first policy, decided at the single fetchSdkModelCatalog choke point): automatic loads now return a clean, warning-less serve, so the next automatic load after the renderer's TTL clears a stale banner. Warnings are reserved for an explicit force refresh that fails, and for a first fetch with neither cache nor persisted entry. The persisted current-id remap moves into a helper shared by both serve paths.