fe2f5be812
fix: capture jikan api error body in api error struct
2026-06-25 02:36:19 +02:00
0d53d5efdc
refactor: remove metrics from jikan client
2026-06-25 02:36:19 +02:00
01564ffd52
feat: observe jikan cache stats
2026-06-25 02:36:19 +02:00
e87af49dff
fix: ignore expired anime in random pool cache
2026-06-25 02:35:53 +02:00
5ddfd78240
refactor: update jikan transport errlog import
2026-06-25 02:35:52 +02:00
d994647e62
Handle Jikan transport errors
2026-06-25 02:35:51 +02:00
1c21474ff6
Handle relation refresh errors
2026-06-25 02:35:51 +02:00
c668914edd
Handle Jikan test cleanup errors
2026-06-25 02:35:51 +02:00
087ff429ab
Handle Jikan cache refresh errors
2026-06-25 02:35:51 +02:00
6bf91f293b
Handle anime refresh errors
2026-06-25 02:35:51 +02:00
9e0f2231b5
fix: stop stale request retries
2026-06-25 02:35:51 +02:00
16ba3d25ba
refactor: split fetchRelationResults to satisfy funlen
2026-06-25 02:35:51 +02:00
bb8aac06eb
fix: allow empty search results from jikan
2026-06-25 02:35:51 +02:00
bc7a3f58cf
fix: apply go fix updates (any, range loop, slices, maps)
2026-06-25 02:35:51 +02:00
656ddbd005
fix: defer resp.Body.Close in handleResponseRetry
2026-06-25 02:35:51 +02:00
c9bdc4a75e
fix: unblock jikan limiter waits
2026-06-25 02:35:51 +02:00
ec10fa56b4
fix: replace package-level traceEnabled with per-client field
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
b88a859b66
fix: log jikan cache set failures instead of silently discarding
2026-06-25 02:35:50 +02:00
fda2346d9a
fix: log silent gaps in fetchRelationResults
2026-06-25 02:35:50 +02:00
263bfafd04
style: use http status constant
2026-06-13 21:32:23 +02:00
ea411e5feb
perf: preallocate fetchedAnimes in fetchBaselineAnime
2026-06-13 21:30:49 +02:00
36c0e87ae8
feat: add watch order mode toggle
2026-06-12 13:39:50 +02:00
164232cf0d
fix: prefer original over japanese in jikan displaytitle
2026-06-12 13:17:51 +02:00
ed90b5c7aa
fix: remove nil error return
2026-06-11 14:51:57 +02:00
ba578d969a
refactor: split seedRandomPool to reduce gocognit
2026-06-11 14:33:29 +02:00
5998b59e81
refactor: extract helpers from fetchWithRetry to reduce gocognit
2026-06-11 14:32:02 +02:00
7af597d8fc
refactor: reduce DurationSeconds complexity with token parsing
2026-06-11 12:31:33 +02:00
5ada1f72e4
feat: add shared query param helpers for jikan
2026-06-11 12:27:56 +02:00
4b95f85d4d
chore: remove stray blank line in test
2026-06-11 12:19:59 +02:00
c36f02862d
refactor: split getFullRelations into smaller helpers
2026-06-11 12:19:43 +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
9b19661fa3
refactor: extract skip/level helpers from logJikanCache
2026-06-11 12:15:00 +02:00
3fe1135203
feat: warm anime recommendations in background
2026-06-04 11:28:20 +02:00
342bd096da
feat: stale-while-revalidate cache for watch order
2026-06-04 11:28:13 +02:00
d5406a6857
refactor: dedupe jikan refresh
2026-06-01 22:21:19 +02:00
9f754012eb
test: dedupe jikan bool cases
2026-06-01 22:20:12 +02:00
58036bea5a
refactor: dedupe season fetch
2026-06-01 22:19:10 +02:00
475625de35
docs: add package comments to integrations
2026-06-01 12:55:20 +02:00
3c1e4d34a9
refactor: update jikan imports for flattened pkg/net
2026-05-28 12:35:56 +02:00
4ffa6af298
fix: add jikan user-agent
2026-05-26 22:24:45 +02:00
68225cbb52
fix: pass config to jikan client in test
2026-05-26 16:18:06 +02:00
d787625435
refactor: migrate jikan relations logs to observability
2026-05-26 15:56:22 +02:00
1e9874a482
refactor: migrate env-var reads to config package
2026-05-26 15:38:14 +02:00
76a92894e8
chore: formatting
2026-05-25 18:24:09 +02:00
29c0c0bb18
feat: add studio filter to search pipeline
2026-05-25 17:59:17 +02:00
e54d6b8142
feat: add producer data types and caching
2026-05-25 17:59:11 +02:00
624a02c49d
fix: satisfy staticcheck in integrations
2026-05-24 22:46:14 +02:00
31b763b714
refactor: remove redundant current relation override
2026-05-24 20:50:52 +02:00
7a18461ca6
fix: add warn levels to observability logs
2026-05-23 18:16:03 +02:00