Skip to content

🧹 chore: Improve propagation of context.Context #8809

🧹 chore: Improve propagation of context.Context

🧹 chore: Improve propagation of context.Context #8809

Triggered via pull request October 28, 2025 02:31
Status Failure
Total duration 1m 34s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: middleware/cache/cache_test.go#L244
flag-parameter: parameter 'canceled' seems to be a control flag, avoid control coupling (revive)
lint: middleware/cache/cache_test.go#L240
unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: middleware/cache/cache_test.go#L105
unused-receiver: method receiver 's' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: ctx_test.go#L3849
context-keys-type: should not use basic type string as key in context.WithValue (revive)
lint: ctx_test.go#L3832
unused-receiver: method receiver 's' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint: middleware/limiter/limiter_test.go#L50
Error return value is not checked (errcheck)
lint: middleware/cache/cache_test.go#L106
Error return value is not checked (errcheck)
lint: middleware/limiter/limiter_test.go#L121
found a struct that contains a context.Context field (containedctx)
lint: middleware/cache/cache_test.go#L237
found a struct that contains a context.Context field (containedctx)
lint: ctx_test.go#L3762
found a struct that contains a context.Context field (containedctx)