Commit 5725ef5
ci: suppress SA5011 in test files (cache-masked nil-deref noise)
golangci's analysis cache was masking SA5011 false-positives in common's
test files (the `got := f(); if got == nil { t.Fatalf }; got.X` pattern);
the go1.25.11 toolchain bump busted the cache and reds lint on every PR.
By-check _test.go suppression mirrors the api fix; production SA5011 still
fails. Verified: full golangci-lint run ./... → 0 issues.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d384644 commit 5725ef5
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| |||
0 commit comments