Commit Graph

30 Commits

Author SHA1 Message Date
Sergei Zharinov 6afc6e9e05 refactor(cache): Convert package cache backends to classes (#41434)
refactor(cache): extract package cache backend classes
2026-02-24 07:27:27 +00:00
Michael Kriese fbde9945c0 refactor(redis): use destroy instead of disconnect (#41397) 2026-02-23 09:06:13 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Michael Kriese 9fe353adb4 test: add coverage (part1) (#40636) 2026-01-23 15:09:01 +00:00
Michael Kriese 050ac8d23b chore: better code coverage (#39518) 2025-11-25 15:01:54 +00:00
Sergei Zharinov 655171a0b0 docs: Improve cache TTL docs and log messages (#38305) 2025-10-01 06:44:27 +00:00
Sergei Zharinov 6e8de16295 feat: Add Maven Central rate limit logging (#37704)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-08-28 04:50:27 +00:00
Sergei Zharinov 05d42780ad fix(cache): Make TTL overrides work for all namespaces (#36903)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-07-16 11:40:48 +00:00
RahulGautamSingh 49fa1be464 feat(util): getEnv (#35161)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-05-06 18:37:28 +00:00
Sergei Zharinov beb97d5510 refactor: Extract utilities for package cache key manipulation (#30897) 2024-08-20 04:57:43 +00:00
Sergei Zharinov 998705d5b0 refactor: Package cache stats utility (#27936) 2024-03-14 15:06:53 +00:00
Sergei Zharinov f587531130 refactor(cache): Restrict type for package cache namespaces (#27121) 2024-02-08 07:35:41 +00:00
Sergei Zharinov 0378bf7652 feat: SQLite-based package cache (#26608)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-01-30 07:50:24 +00:00
Bernat Mut c21bc85053 feat: redisPrefix (#26398)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-01-02 22:11:01 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
John Daly 15c7e8dea2 fix: Prevent uninitialized cacheProxy from being accessed in cleanup (#20975) 2023-03-16 04:57:34 +00:00
Rhys Arkins 222cda6058 feat(cache): file cache cleanup (#20061)
Checks file cache for expired items at the end of a run. Non-breaking change but it may result in some long cleanup jobs for any bots which have been left to populate their package cache for a long time.

Closes #13732
2023-03-10 09:34:39 +01:00
Rhys Arkins 40b7393040 fix: don’t count duplicate package cache stats (#18172) 2022-10-07 11:36:49 +03:00
Rhys Arkins f34e89fec4 feat: package cache stats (#18170) 2022-10-07 07:57:37 +00:00
renovate[bot] 995dd0e670 build(deps): update dependency redis to v4 (#13260)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-01-19 06:05:23 +00:00
Sergei Zharinov ef51e85b7a refactor(cache/package): Enable strict checks (#12862)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-11-27 12:08:24 +00:00
Sebastian Poxhofer 6a361c6150 feat(cache): allow caching of null values (#11014) 2021-08-17 07:57:45 +02:00
Rhys Arkins d0434d5df1 chore: GlobalConfig -> AllConfig 2021-06-02 11:25:10 +02:00
Michael Kriese 7daa93a78d refactor: extract types to new files (#9951) 2021-05-11 12:51:21 +02:00
Rhys Arkins 98f17c31a7 fix: defensive config check in cleanup 2021-04-06 15:55:41 +02:00
Michael Kriese 74d7691bef refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Rhys Arkins 3756f2aec3 refactor: GlobalConfig type 2021-02-05 10:49:34 +01:00
Sergio Zharinov 095f2f8240 refactor(util): Fix lint warnings (#7114) 2020-08-27 09:11:10 +02:00
Rhys Arkins 55625a893b refactor: run cache -> mem cache (#6582) 2020-06-25 09:23:06 +02:00
Rhys Arkins be37109cf6 refactor: rename globalCache to packageCache (#6580) 2020-06-25 08:32:55 +02:00