ac8e583e23
refactor: shorten function names in jikan search
2026-06-23 17:40:26 +02:00
734b39efd7
refactor: shorten function names in jikan relations
2026-06-23 17:38:07 +02:00
7e76c28396
refactor: remove display methods from anime type
2026-06-23 17:32:13 +02:00
0c3be8a8d3
refactor: move producer type and method out of studio.go
2026-06-23 17:27:40 +02:00
f2822f068f
refactor: move top anime and genres to anime.go
2026-06-23 17:25:45 +02:00
6e7e1fc001
refactor: shorten verbose variable names across codebase
2026-06-23 17:23:27 +02:00
1dd37a5aa2
refactor: inline single-use helpers in jikan relations
2026-06-23 17:16:41 +02:00
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