Skip to content

fix(makefile): Improve performance of make lint#1059

Merged
jgwest merged 1 commit into
redhat-developer:masterfrom
olivergondza:speedup-lint
Mar 13, 2026
Merged

fix(makefile): Improve performance of make lint#1059
jgwest merged 1 commit into
redhat-developer:masterfrom
olivergondza:speedup-lint

Conversation

@olivergondza

Copy link
Copy Markdown
Collaborator

What type of PR is this?

Same change now done in argo-cd: argoproj/argo-cd#26025

Uncomment only one /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind cleanup
/kind failing-test
/kind enhancement
/kind documentation
/kind code-refactoring

What does this PR do / why we need it:

lint is sped up from 46s to 15s

Have you updated the necessary documentation?

  • [no] Documentation update is required by this PR.
  • [n/a] Documentation has been updated.

Which issue(s) this PR fixes:

Fixes #?

Test acceptance criteria:

  • Unit Test
  • E2E Test

How to test changes / Special notes to the reviewer:

@openshift-ci openshift-ci Bot added the kind/enhancement New feature or request label Jan 21, 2026
@openshift-ci openshift-ci Bot requested review from keithchong and wtam2018 January 21, 2026 11:24
@jgwest

jgwest commented Jan 23, 2026

Copy link
Copy Markdown
Member

/retest

@olivergondza

Copy link
Copy Markdown
Collaborator Author

Can we move on with this? It was merged in the upstream operator already.

@keithchong keithchong left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks like removing GOMAXPROCS is what we should do, especially for later versions of Go (we're using 1.25), and allow the runtime to set the value, which is more container aware. Also, Oliver's change has been merged upstream.

https://go.dev/blog/container-aware-gomaxprocs

@keithchong keithchong requested a review from svghadi February 6, 2026 19:45
@keithchong

Copy link
Copy Markdown
Contributor

Hi @svghadi , I don't have write access to this repo - adding you to review and approve.

@svghadi

svghadi commented Feb 9, 2026

Copy link
Copy Markdown
Member

/lgtm
/approve

@openshift-ci

openshift-ci Bot commented Feb 9, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: svghadi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@olivergondza

Copy link
Copy Markdown
Collaborator Author

Rebased to merge cleanly. PTAL, @svghadi

@svghadi

svghadi commented Feb 9, 2026

Copy link
Copy Markdown
Member

/lgtm

@openshift-ci openshift-ci Bot added the lgtm label Feb 9, 2026
@olivergondza

Copy link
Copy Markdown
Collaborator Author

This should not influence the test execution in any way...

@openshift-ci

openshift-ci Bot commented Feb 27, 2026

Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

Signed-off-by: Oliver Gondža <ogondza@gmail.com>

@jgwest jgwest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@jgwest jgwest merged commit 46358a8 into redhat-developer:master Mar 13, 2026
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved kind/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants