Conversation
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5434 +/- ##
=======================================
Coverage 26.10% 26.11%
=======================================
Files 451 451
Lines 48824 48823 -1
=======================================
+ Hits 12747 12749 +2
+ Misses 35059 35057 -2
+ Partials 1018 1017 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
| disable-all: true | ||
| enable: | ||
| - depguard | ||
| - exportloopref |
There was a problem hiding this comment.
golangci-lint tells me this rule is deprecated and not necessary.
copyloopvar is unnecessary because this rule tells us the copy of the loop variable, which we can delete.
WARN The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar.
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
…consistency Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
…tions Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
…ompatibility Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
…nsistency Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
|
There are no warnings/errors at the CI logs. |
| "sync/atomic" | ||
| "syscall" | ||
|
|
||
| "go.uber.org/atomic" |
There was a problem hiding this comment.
Not sure this chance should be addressed by lint, wdyt?
There was a problem hiding this comment.
I think sync/atomic is enough, but we can use go.uber.org/atomic because it has more features than sync/atomic.
If we use sync/atomic, it's better not to mix sync/atomic and go.uber.org/atomic because it's confusing.
Currently, we have the rule below.
Lines 44 to 45 in 40f8375
ffjlabo
left a comment
There was a problem hiding this comment.
Nice work! I left a nit comment.
| @@ -25,6 +25,7 @@ import ( | |||
|
|
|||
There was a problem hiding this comment.
nit: It would be nice to delete a line break between "golang.org/x/sync/singleflight" and "github.com/aws/aws-sdk-go-v2/service/lambda"
There was a problem hiding this comment.
Thank you!
Fixed this and similars on this commit.
b343897
Signed-off-by: Shinnosuke Sawada-Dazai <shin@warashi.dev>
What this PR does:
Why we need it:
I found the golangci-lint panics in the CI with logs below.
ref; https://github.com/pipe-cd/pipecd/actions/runs/12371025156/job/34526255488
I ran the
make lint/goin my local, I got the error below.Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: