Skip to content

fix(makefile): Improve performance of make lint-local and dependent goals#26025

Merged
reggie-k merged 1 commit intoargoproj:masterfrom
olivergondza:speedup-lint
Jan 18, 2026
Merged

fix(makefile): Improve performance of make lint-local and dependent goals#26025
reggie-k merged 1 commit intoargoproj:masterfrom
olivergondza:speedup-lint

Conversation

@olivergondza
Copy link
Contributor

@olivergondza olivergondza commented Jan 16, 2026

With this, the lint time shrunk form 4 minutes to 50 seconds* on my workstation making lint and pre-commit much practical to use. It is a combined effect of dropping both those options.

Based on my code archeology, the options and their values were last tweaked 6+ years ago[1][2], presumably to please now unused Circle CI.

So unless @jannfis or @alexmt object, I would like to simplify and speed things up.

[1] 75d9f23
[2] 949518e

*) measured as golangci-lint cache clean && make lint-local

…oals

Signed-off-by: Oliver Gondža <ogondza@gmail.com>
@olivergondza olivergondza requested a review from a team as a code owner January 16, 2026 12:10
@bunnyshell
Copy link

bunnyshell bot commented Jan 16, 2026

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Copy link
Member

@nitishfy nitishfy left a comment

Choose a reason for hiding this comment

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

Should we do the same for gitops-engine/Makefile too?

@olivergondza
Copy link
Contributor Author

Should we do the same for gitops-engine/Makefile too?

That Makefile is not using any of the vars, so this in fact brings them in sync.

Copy link
Member

@blakepettersson blakepettersson left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Member

@chansuke chansuke left a comment

Choose a reason for hiding this comment

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

lgtm

@reggie-k reggie-k dismissed nitishfy’s stale review January 18, 2026 06:35

The question was answered by the author.

@reggie-k reggie-k merged commit fee6962 into argoproj:master Jan 18, 2026
27 checks passed
@olivergondza olivergondza deleted the speedup-lint branch January 18, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants