Commit Graph

95 Commits

Author SHA1 Message Date
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
f33c2e18af refactor: emit structured json logs 2026-05-23 18:08:43 +02:00
c2e4cae253 feat: add observability metrics 2026-05-23 17:13:18 +02:00
d94f1516ce YOLO 2026-05-20 17:29:40 +02:00
4330303431 refactor: remove redundant fallback from jikan search 2026-05-20 17:22:54 +02:00
63ab13faa9 feat: add jikan client observability, dedup, and stale-while-revalidate 2026-05-20 17:22:54 +02:00
cb1423f843 feat: add Jikan client methods for staff, statistics, themes, reviews 2026-05-15 19:36:01 +02:00
4827573e41 feat: add isEmptyResult cases for new response types 2026-05-15 19:35:57 +02:00
3e3b96053c feat: add Jikan response types for staff, statistics, themes, reviews 2026-05-15 19:35:54 +02:00
4bd6e71e8c fix: handle empty random anime response and improve surprise-me UX 2026-05-15 17:22:56 +02:00
596e8265f7 refactor: remove noisy debug logging 2026-05-14 12:41:41 +02:00
345853406c refactor: general architectural cleanup and bug fixes 2026-05-13 11:20:49 +02:00
4dd27d6d52 feat: add jikan integration module 2026-05-13 10:30:26 +02:00
1e28e2597c fix: suppress context canceled logs 2026-05-12 16:17:41 +02:00
36d77ad793 refactor: use strconv instead of fmt.Sscanf 2026-05-12 16:06:18 +02:00
b03e90fc47 fix: handle close errors 2026-05-12 16:05:36 +02:00