Commit Graph

28 Commits

Author SHA1 Message Date
5998b59e81 refactor: extract helpers from fetchWithRetry to reduce gocognit 2026-06-11 14:32:02 +02:00
9b19661fa3 refactor: extract skip/level helpers from logJikanCache 2026-06-11 12:15:00 +02:00
d5406a6857 refactor: dedupe jikan refresh 2026-06-01 22:21:19 +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
1e9874a482 refactor: migrate env-var reads to config package 2026-05-26 15:38:14 +02:00
624a02c49d fix: satisfy staticcheck in integrations 2026-05-24 22:46:14 +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
63ab13faa9 feat: add jikan client observability, dedup, and stale-while-revalidate 2026-05-20 17:22:54 +02:00
4827573e41 feat: add isEmptyResult cases for new response types 2026-05-15 19:35:57 +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
1e28e2597c fix: suppress context canceled logs 2026-05-12 16:17:41 +02:00
b03e90fc47 fix: handle close errors 2026-05-12 16:05:36 +02:00
5d55edf9b8 refactor: remove unreachable jikan client functions 2026-05-12 12:34:41 +02:00
790a384f58 chore: formatting 2026-05-10 20:03:35 +02:00
e48d95cb4e feat: add comments and cleanup unused imports across codebase 2026-05-10 20:00:04 +02:00
7f768080ee refactor: update imports to use new db package 2026-05-06 23:13:43 +02:00
56f0951d5e fix: resolve jikan api eof and context cancellation errors
- add http transport with connection pooling to prevent stale connections
- check ctx.Done() before each retry attempt to abort early
- pass context to renderer to skip writing on canceled requests
2026-05-02 23:27:25 +02:00
f0b5a4f9a8 chore: go fixes 2026-05-02 18:58:13 +02:00
2f96e0a000 fix: don't cache empty jikan responses 2026-04-30 08:21:28 +02:00
c860a1a70a fix: validate cache data and suppress static file logging 2026-04-22 20:39:47 +02:00
157c3b97a2 fix(jikan): decode response body before closing on final attempt 2026-04-22 10:49:15 +02:00
6df8788749 refactor: reorganize project structure following go standards 2026-04-20 15:54:35 +02:00