Commit Graph

329 Commits

Author SHA1 Message Date
Rhys Arkins bc4d090530 chore: log warning if Repository cache is invalid (#27910) 2024-03-13 12:29:28 +00:00
Sergei Zharinov 48daacafdf refactor: Remove dependency on Gitea and Bitbucket types in cache (#27821) 2024-03-10 13:08:51 +00:00
Sergei Zharinov 674ace8ee5 refactor(github): Change github-related field types for repo cache (#27784) 2024-03-10 13:07:57 +00:00
Rhys Arkins 10292f2123 feat(cache): prefer If-Modified-Since over If-None-Match (#27394) 2024-02-19 18:46:56 +00:00
Ronald van Butselaar 0867de846a fix(redis): keepalive ping (30s) (#27249) 2024-02-14 08:57:13 +00:00
renovate[bot] cbef575a2c chore(deps): update linters to v6.20.0 (#26925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-02-12 09:09:29 +00:00
RahulGautamSingh 8fb2a6b9d2 fix(datasource/cdnjs): update logic to accomodate api changes (#27212)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-02-11 10:57:56 +00:00
Sergei Zharinov f587531130 refactor(cache): Restrict type for package cache namespaces (#27121) 2024-02-08 07:35:41 +00:00
Sergei Zharinov 68d5faa96e fix(cache): Fix compression and decompression format mismatch (#27021) 2024-02-02 16:22:16 +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
Rhys Arkins 23a334c7e3 feat(cache): etag caching for github GET (#26788)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-01-22 11:49:40 +00:00
Sergei Zharinov bd0adf2d05 refactor: Deprecate compression with base64 encoding (#26711) 2024-01-17 19:52:22 +00:00
Sergei Zharinov de68769fc2 feat(gitea): Add PR cache (#26451)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-01-15 17:32:44 +00:00
Sergei Zharinov 597167ae2e feat(bitbucket): Implement PR cache for repositories (#26345) 2024-01-04 07:43:18 +00:00
Bernat Mut c21bc85053 feat: redisPrefix (#26398)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-01-02 22:11:01 +00:00
Michael Kriese 9474f9a5d7 fix(repo-cache): pass relative paths to fs layer (#26227) 2023-12-14 07:18:12 +00:00
Yun Lai f5b4da3c68 feat(presets): presetCachePersistence (#25825)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-12-01 11:22:26 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
RahulGautamSingh 32340dbc47 feat(config): validate reconfigure branch (#24699)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-11-03 13:31:49 +00:00
Michael Kriese 84a97a62fa test(perf): improve test speed (#24323) 2023-09-08 11:40:04 +00:00
Sergei Zharinov 6636b7c127 fix: Use globally-set hard TTL for package cache (#24116) 2023-08-27 16:44:09 +00:00
Sergei Zharinov 82cc5d4b1d feat(cache): Introduce fallbackTtlMinutes parameter for decorator (#24109) 2023-08-27 12:23:22 +00:00
Sergei Zharinov 6f7ac34a2f fix: Type errors (#24108) 2023-08-27 08:13:10 +00:00
Gabriel-Ladzaretti e45bacf026 feat(package-cache): add configurable cache TTL override (#24073)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-08-25 15:40:37 +00:00
Philip 0a47657451 feat: Enhance lookup logs with repository problems (#23896)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-08-25 08:22:14 +00:00
RahulGautamSingh f45cccd537 test: convert dryRun=true -> dryRun='full' (#24074) 2023-08-25 04:16:09 +00:00
Sergei Zharinov 6c8c469ca0 refactor(schema): Use Json helper schema instead of JSON.parse (#23997) 2023-08-21 15:29:41 +00:00
Adam Setch 39c907231b refactor(util/hash): replace hasha sha512 use cases (#23548) 2023-07-24 22:54:28 +00:00
Sergei Zharinov 11c05fc837 refactor: Default values for GlobalConfig.get (#22967) 2023-06-25 19:34:42 +00:00
RahulGautamSingh fa6e5df805 feat(onboarding): skip processing onboarding branch (#22490)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-06-21 10:55:57 +00:00
renovate[bot] 6e2279f44e chore(deps): update dependency jest-extended to v4 (#22609)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2023-06-09 05:20:40 +00:00
Sergei Zharinov d306bfa7d8 refactor: Rename branchFingerprint to commitFingerprint (#22454) 2023-05-27 14:29:04 +00:00
Sergei Zharinov 62d9cdb2d4 refactor: Rename PR fingerprint to bodyFingerprint (#22455) 2023-05-27 14:25:44 +00:00
Philip c6d7168f44 feat: log extended branch summary (#22056) 2023-05-18 05:59:43 +00:00
RahulGautamSingh ffeb78415a feat(onboarding): merge onboardingBranch into baseBranch (#20893)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-05-18 05:56:12 +00:00
RahulGautamSingh fc0fb1980c feat: onboarding branch cache (#21768)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-04-27 05:07:38 +00:00
Rhys Arkins b27ec633bc fix(onboarding): Revert "feat(onboarding): use cache to check if repo is onboarded" (#21731) 2023-04-22 06:31:19 +02:00
renovate[bot] da29ed179c chore(deps): update dependency @types/luxon to v3.3.0 (#21418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2023-04-12 06:49:00 +00:00
Jamie Magee b23700d749 test: jest isolation (#21406) 2023-04-10 04:32:04 +00:00
RahulGautamSingh 1d95167b13 feat(onboarding): use cache to check if repo is onboarded (#20733)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-04-07 05:19:25 +00:00
Sergei Zharinov 8081d08ec4 refactor(http): Enhanced integration with data schemas (#21338) 2023-04-06 15:56:27 +00:00
Gabriel-Ladzaretti c5b7a451a9 fix(cache): catch redis set value errors (#21290) 2023-04-02 16:23:17 +00:00
Jamie Magee 176282e65f chore: use node: protocol imports (#21181) 2023-03-28 21:05:36 +00:00
Sergei Zharinov 3e28c4ee9f feat(cache): Fallback to older decorator results on error (#20795) 2023-03-23 15:59:51 +00:00
John Daly 15c7e8dea2 fix: Prevent uninitialized cacheProxy from being accessed in cleanup (#20975) 2023-03-16 04:57:34 +00:00
Sergei Zharinov 095c84ebfd test: Refactor tests for package cache decorator (#20958) 2023-03-15 15:37:12 +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 a3cc159f7e chore: extract and lookup duration logging (#20816) 2023-03-09 11:24:50 +00:00
RahulGautamSingh 63fde6b3bc feat(cache): pr fingerprint implementation (#18850)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-21 06:07:48 +00:00
Rhys Arkins cc33d34ca8 refactor: PackageFile types (#20498)
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-20 14:58:49 +00:00