Commit Graph

8 Commits

Author SHA1 Message Date
4291c4999e Handle Jikan test cleanup errors 2026-06-20 18:28:44 +02:00
c9dcec9a44 fix: allow empty search results from jikan 2026-06-16 17:20:39 +02:00
316ed27938 refactor: split jikan client into transport/cache/rate subpackages 2026-06-16 00:50:12 +02:00
4b95f85d4d chore: remove stray blank line in test 2026-06-11 12:19:59 +02:00
704058a512 refactor: extract helpers from TestGetWithCacheReturnsStaleAndRefreshesAsync
Split setup (newTestCacheDB, insertCachedResponse) and async
polling (waitForFreshCache) out of the test to reduce its
cyclomatic complexity below 10. Switch DB calls to ExecContext
/ QueryRowContext to fix noctx lint.
2026-06-11 12:17:40 +02:00
68225cbb52 fix: pass config to jikan client in test 2026-05-26 16:18:06 +02:00
c2e4cae253 feat: add observability metrics 2026-05-23 17:13:18 +02:00
63ab13faa9 feat: add jikan client observability, dedup, and stale-while-revalidate 2026-05-20 17:22:54 +02:00