Skip to content

Conversation

@mtrmac
Copy link
Contributor

@mtrmac mtrmac commented Oct 31, 2025

Currently, golangci-lint does not report all failures if there are too many, or too many duplicates.

So, e.g. in #425 , we see some failures, fix them ( #427 ) — and then there are more failures to fix.

Avoid that waste by reporting all failures immediately; and fix the outstanding ones.

@TomSweeneyRedHat PTAL

@github-actions github-actions bot added storage Related to "storage" package common Related to "common" package image Related to "image" package labels Oct 31, 2025
podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Oct 31, 2025
@podmanbot
Copy link

✅ A new PR has been created in buildah to vendor these changes: containers/buildah#6465

Should not change behavior.

Signed-off-by: Miloslav Trmač <[email protected]>
Otherwise, a CI run reports 3 issues, we fix them, and the
CI run reports _next_ 3 issues. That's a waste of time all around,
and it does not allow judging the scale of the issue.

Signed-off-by: Miloslav Trmač <[email protected]>
podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Oct 31, 2025
Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

path: libimage
text: LookupImage

issues:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 I did this in podman a long time ago, no idea why they choose such default really
containers/podman@93c35a7

It always just leads to the wrong assumption of let me just fix these three issues really quick.

@Luap99 Luap99 merged commit 844e55d into containers:main Nov 3, 2025
37 of 38 checks passed
@mtrmac mtrmac deleted the lint-all branch November 3, 2025 15:53
Copy link
Member

@TomSweeneyRedHat TomSweeneyRedHat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
even though I'm a day late and a dollar short for this review.
Thanks @mtrmac !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to "common" package image Related to "image" package storage Related to "storage" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants