Skip to content

core/weakref: use pkg unique instead of map #1217

core/weakref: use pkg unique instead of map

core/weakref: use pkg unique instead of map #1217

Triggered via push May 31, 2025 17:58
Status Success
Total duration 5m 35s
Artifacts 1

go.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 11 warnings, and 1 notice
🧭 Lint: intra/dialers/retrier.go#L276
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L274
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L270
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L264
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L244
`Strat` is a misspelling of `Start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L242
`Strat` is a misspelling of `Start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L241
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/dialers/retrier.go#L168
`Strat` is a misspelling of `Start` (misspell)
🧭 Lint: intra/dialers/direct_split.go#L31
`strat` is a misspelling of `start` (misspell)
🧭 Lint: intra/core/connpool.go#L443
Error return value of `a.c.SetDeadline` is not checked (errcheck)
🧭 Lint
Failed to save: reserveCache failed: Request timeout: /nCLMu3bht0ZgiwezpJYCLYFtcZ1Sbii5Oz3Enk1rCsiifx7k5z/_apis/artifactcache/caches
🧭 Lint: intra/backend/core_boxes.go#L143
redefines-builtin-id: redefinition of the built-in function new (revive)
🧭 Lint: intra/backend/core_boxes.go#L122
redefines-builtin-id: redefinition of the built-in function new (revive)
🧭 Lint: intra/backend/core_boxes.go#L108
exported: exported function StrOf2 should have comment or be unexported (revive)
🧭 Lint: intra/backend/core_boxes.go#L104
exported: exported function StrOf should have comment or be unexported (revive)
🧭 Lint: intra/backend/core_boxes.go#L96
exported: comment on exported method Gostr.V should be of the form "V ..." (revive)
🧭 Lint: intra/backend/core_boxes.go#L59
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
🧭 Lint: intra/backend/core_boxes.go#L52
increment-decrement: should replace tries += 1 with tries++ (revive)
🧭 Lint: intra/backend/core_boxes.go#L35
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
🧭 Lint: intra/backend/core_boxes.go#L7
package-comments: should have a package comment (revive)
🧭 Lint
Failed to restore: getCacheEntry failed: Request timeout: /nCLMu3bht0ZgiwezpJYCLYFtcZ1Sbii5Oz3Enk1rCsiifx7k5z/_apis/artifactcache/cache?keys=golangci-lint.cache-2891-48b740d7b504d1c50760bf21b92f2766262324e1%2Cgolangci-lint.cache-2891-&version=0f79570b790d0689c186c2d92be94cb909971c6643d398173c3c5a0ecd5cf601
🧬 Build
success

Artifacts

Produced during runtime
Name Size Digest
firestack-aar-020d98e8edf377c904194785fa14f7eb74fc2e35 Expired
82.5 MB
sha256:6740e5b3e2a527f4958543a4acbfacfbf98790fa173f34cfb0804c6cb6a2e2f0