e87af49dff
fix: ignore expired anime in random pool cache
2026-06-25 02:35:53 +02:00
c668914edd
Handle Jikan test cleanup errors
2026-06-25 02:35:51 +02:00
bb8aac06eb
fix: allow empty search results from jikan
2026-06-25 02:35:51 +02:00
9e25745804
refactor: split jikan client into transport/cache/rate subpackages
2026-06-25 02:35:51 +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