Commit Graph
16 Commits
Author SHA1 Message Date
Mario Campos c56f48e9bd Log unexpected conditions during caching CLI output 2026-08-13 09:14:00 -05:00
Mario Campos 43250d671a Change cache key to string type to include CLI args 2026-08-13 08:59:09 -05:00
Mario Campos 2d49edbac6 Re-order env to be first argument for consistency 2026-08-13 08:13:49 -05:00
Mario Campos 6dc633238e Bolster output-cache unit tests with more test cases 2026-08-12 13:45:22 -05:00
Mario Campos 6c0d9018d4 Change OutputCache to use object for entries
This will ensure it works nicely with `JSON.stringify`. And, then we can validate the type before marshaling.
2026-08-12 12:01:20 -05:00
Mario Campos bf96b0df93 Expand test to ensure it does not throw an exception 2026-08-12 11:39:32 -05:00
Mario Campos 337136ab8a Rename CommandCacheRecord -> OutputCache 2026-08-12 11:29:11 -05:00
Mario Campos a9baab8dee Export CLI cache types 2026-08-12 11:26:52 -05:00
Mario Campos 33d70867d5 Pass environment explicitly to CLI caching functions 2026-08-12 11:24:37 -05:00
Mario Campos 40f80a8df0 Rename type to better match generic intention 2026-08-11 18:09:09 -05:00
Mario Campos b222c3aaea Generalize file cache data structure 2026-08-11 18:09:09 -05:00
Mario Campos 11569df0a1 Update JSDoc of getCachedCodeQlVersion 2026-08-11 15:55:16 -05:00
Mario Campos 0a99875ae5 Move VersionInfo-related types to cli/output-cache.ts
This brings them out of the crowded all-purpose `util.ts` and into `cli/output-cache.ts` where they are exclusively used.
2026-08-11 15:55:15 -05:00
Mario Campos 246018e041 Move VersionInfo to dedicated module 2026-08-11 15:55:15 -05:00
Mario Campos 1332611f51 Move cache-related util functions into dedicated module 2026-08-11 15:55:15 -05:00
Mario Campos 4dc327a942 Introduce basic cli/output-cache.ts module 2026-08-11 15:36:17 -05:00