Spaces:
Sleeping
Sleeping
Commit History
-
fix: exclude test files from tsc build to unbreak Docker CI
icebear0828tsconfig included src/**/__tests__/** and *.test.ts, so `npx tsc` in Dockerfile compiled test files. When test fixtures drifted from changed interfaces (e.g. CurlFetchResponse gaining/losing fields), Docker build failed even though Vitest passed. Exclude test globs from the build tsconfig and fix the stale `headers` property in update-checker mocks.28a98b1 -
fix: write runtime cache to data/ instead of git-tracked config/ (#138)
icebear +1: icebear0828Unverified signaturemodel-store synced merged catalog back to config/models.yaml on every backend fetch (~1h), and update-checker mutated config/default.yaml on version detection. Both made the repo dirty after normal runtime. - syncStaticModels() → data/models-cache.yaml (gitignored) - applyVersionUpdate() → data/version-state.json (gitignored) - loadStaticModels() overlays cache on cold start for fallback - loadCurrentConfig() checks version override before YAML baseline - config/ is now read-only for runtime operations Co-authored-by: icebear0828 <icebear0828@users.noreply.github.com>50720ce