1e5fe7f879
refactor: inline single-use helpers in jikan client
2026-06-23 17:16:36 +02:00
87b67744be
refactor: rename constants.go to cache_policy.go
2026-06-23 17:09:00 +02:00
fbc4b3c90c
refactor: rename more.go to anime_resources.go
2026-06-23 17:06:06 +02:00
697fa38577
refactor: replace type switch with reflect map in isemptyresult
2026-06-23 17:03:48 +02:00
42017681f5
fix: capture jikan api error body in api error struct
2026-06-23 15:12:46 +02:00
fe92997160
refactor: remove metrics from jikan client
2026-06-23 15:08:46 +02:00
a5875de32e
Merge branch 'codex/edb6' into integrate-codex-work
...
# Conflicts:
# integrations/jikan/client_test.go
2026-06-21 17:20:46 +02:00
8792cdc457
feat: observe jikan cache stats
2026-06-21 17:19:01 +02:00
0fe3a71627
feat: add jikan cache stats query
2026-06-21 17:18:43 +02:00
dbe029e15e
fix: ignore expired anime in random pool cache
2026-06-21 17:18:11 +02:00
ec26913e65
refactor: update jikan transport errlog import
2026-06-20 19:02:31 +02:00
8cc4e42ff1
Handle Jikan transport errors
2026-06-20 18:28:47 +02:00
43ec2d106e
Handle relation refresh errors
2026-06-20 18:28:45 +02:00
4291c4999e
Handle Jikan test cleanup errors
2026-06-20 18:28:44 +02:00
68b7426fe9
Handle Jikan cache refresh errors
2026-06-20 18:28:43 +02:00
274b0b055d
Handle anime refresh errors
2026-06-20 18:28:41 +02:00
6d3773794d
fix: stop stale request retries
2026-06-18 20:25:30 +02:00
909f43ff75
refactor: split fetchRelationResults to satisfy funlen
2026-06-16 21:05:16 +02:00
c9dcec9a44
fix: allow empty search results from jikan
2026-06-16 17:20:39 +02:00
2cd270e7e3
fix: apply go fix updates (any, range loop, slices, maps)
2026-06-16 13:36:45 +02:00
57a4272a92
fix: defer resp.Body.Close in handleResponseRetry
2026-06-16 11:03:42 +02:00
1c17d6334f
fix: unblock jikan limiter waits
2026-06-16 01:27:28 +02:00
c3a80af469
fix: replace package-level traceEnabled with per-client field
2026-06-16 01:01:54 +02:00
316ed27938
refactor: split jikan client into transport/cache/rate subpackages
2026-06-16 00:50:12 +02:00
9dac4cbc44
fix: log jikan cache set failures instead of silently discarding
2026-06-16 00:35:16 +02:00
bc7fe27eb5
fix: log silent gaps in fetchRelationResults
2026-06-16 00:19:38 +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