Showing the changes to apps/server/src/usage/usageScanCache.ts (1 of 3 files). Show all
Unified · Split
| @@ -18,7 +18,9 @@ import type { UsageProviderKind } from "@t3tools/contracts"; · 17 unmodified lines | ||
| 18 | 18 | |
| 19 | 19 | import type { UsageRecord } from "./usageTranscripts.ts"; |
| 20 | 20 | |
| 21 | −export const USAGE_SCAN_CACHE_VERSION = 1 as const; | |
| 21 | +// v2: Codex fork-copy suppression changed what a file parses to, so v1 | |
| 22 | +// entries would keep serving double-counted records forever. | |
| 23 | +export const USAGE_SCAN_CACHE_VERSION = 2 as const; | |
| 22 | 24 | |
| 23 | 25 | export interface CachedFile { |
| 24 | 26 | readonly size: number; |