ed90b5c7aa
fix: remove nil error return
2026-06-11 14:51:57 +02:00
1485800c32
fix: use request context in server
2026-06-11 14:51:56 +02:00
faae7bc719
fix: use request context in metrics
2026-06-11 14:51:55 +02:00
acabd50970
fix: use execcontext in db
2026-06-11 14:49:57 +02:00
6ba387bb6a
fix: use QueryRowContext in test to fix noctx lint
2026-06-11 14:48:51 +02:00
3d13cf9be8
fix: use context-aware db calls in cmd/user
2026-06-11 14:48:05 +02:00
7f05f026e9
refactor: split fetchSkipSegments and fix warmStreamURL noctx
2026-06-11 14:46:22 +02:00
2ed03a667b
refactor: split BuildWatchData into focused helpers
2026-06-11 14:45:15 +02:00
2e79c32afe
refactor: split getTopPicksForYou into focused helpers
2026-06-11 14:38:40 +02:00
7968fb57f6
refactor: split parseProviderResponse into smaller helpers
2026-06-11 14:35:31 +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
c5acc63370
refactor: extract helpers from FetchWeek to reduce gocognit
2026-06-11 14:29:59 +02:00
b0769ddce7
refactor: shorten ProvideRenderer to satisfy funlen
2026-06-11 14:26:35 +02:00
1c86f802b4
chore: remove stale comment about sqlc name conflict in skip segment overrides
2026-06-11 14:24:18 +02:00
97dcb19b7d
refactor: split long functions in episode service to fix funlen linter
2026-06-11 14:23:18 +02:00
8e4ce81232
refactor: extract helpers to reduce funlen in command_palette
2026-06-11 13:08:44 +02:00
f360e22beb
refactor: extract scanContinueWatchingEntry helper
2026-06-11 13:06:35 +02:00
27c84a9603
style: gofmt alignment in init
2026-06-11 13:05:25 +02:00
a925cc069e
refactor: shorten init below funlen threshold
2026-06-11 13:04:51 +02:00
76af597f4d
refactor: shorten TestBuildSourceReferences below funlen threshold
2026-06-11 13:03:19 +02:00
0227c8688b
refactor: extract duplicate table-test loop into helper
2026-06-11 13:02:06 +02:00
188eec58a2
refactor: reduce cyclomatic complexity of UpsertSkipSegmentOverride
2026-06-11 12:59:58 +02:00
233472b14d
refactor: reduce cyclomatic complexity of mergeEpisodes
2026-06-11 12:58:47 +02:00
7265dec446
refactor: reduce cyclomatic complexity of AuthMiddleware
2026-06-11 12:57:26 +02:00
1ad3be5160
refactor: extract helpers to reduce cyclomatic complexity in audit test
2026-06-11 12:56:19 +02:00
01ee9b1022
refactor: reduce cyclomatic complexity of GetAiringSchedule
2026-06-11 12:53:59 +02:00
e77debb085
refactor: extract candidate score adjustments into helpers
2026-06-11 12:48:58 +02:00
c575bfae47
refactor: extract section path in anime details handler
2026-06-11 12:47:31 +02:00
0262f22876
refactor: reduce cyclomatic complexity of HandleBrowse
2026-06-11 12:45:54 +02:00
e04b11f97f
refactor: reduce cyclomatic complexity of HandleProducers
2026-06-11 12:42:35 +02:00
55095791c7
refactor: reduce cyclomatic complexity of parseM3U8
2026-06-11 12:40:41 +02:00
983d805240
refactor: extract string slice helper in allanime client
2026-06-11 12:38:38 +02:00
0beec5fd56
refactor: reduce cyclomatic complexity of resolveSourceReferences
2026-06-11 12:36:35 +02:00
650fac1c90
refactor: reduce graphqlRequestWithHash complexity
2026-06-11 12:35:11 +02:00
870f8086e2
refactor: extract show resolution helpers from GetStreams
2026-06-11 12:33:12 +02:00
7af597d8fc
refactor: reduce DurationSeconds complexity with token parsing
2026-06-11 12:31:33 +02:00
b72bace16a
refactor: use url.Values in proxy token url
2026-06-11 12:29:29 +02:00
de939cc5f3
refactor: use url.Values in avatar url
2026-06-11 12:29:28 +02:00
4d6736a439
refactor: use url.Values in command palette search url
2026-06-11 12:29:27 +02:00
02bbc6c4d4
refactor: use url.Values in allanime graphql request
2026-06-11 12:29:23 +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
ca957b5cdc
refactor: reduce cyclomatic complexity in fetchWeekAPI
2026-06-11 12:13:22 +02:00
03ccd54c85
refactor: extract parseAirType from parseMeta
2026-06-11 12:09:57 +02:00
c70adbd0ec
fix: only report new lint issues with --new-from-rev
2026-06-11 12:06:04 +02:00
5f346d8dec
fix: run linter at package level, not file level
2026-06-11 12:05:38 +02:00