Skip to content

fix(ci): Fix kube-api-linter install#3023

Merged
andreyvelich merged 1 commit into
kubeflow:masterfrom
astefanutti:pr-44
Dec 9, 2025
Merged

fix(ci): Fix kube-api-linter install#3023
andreyvelich merged 1 commit into
kubeflow:masterfrom
astefanutti:pr-44

Conversation

@astefanutti

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

CI currently fails during golangci-lint execution and the installation of kube-api-linter.

This PR upgrades golangci-lint to the latest version to get golangci/golangci-lint#6205.

Checklist:

  • Docs included if any changes are user facing

@astefanutti astefanutti force-pushed the pr-44 branch 2 times, most recently from 44e5e00 to 68558f7 Compare December 8, 2025 08:29
@coveralls

coveralls commented Dec 8, 2025

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 20024793520

Details

  • 0 of 8 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 51.435%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/runtime/framework/plugins/coscheduling/coscheduling.go 0 4 0.0%
pkg/runtime/framework/plugins/volcano/volcano.go 0 4 0.0%
Totals Coverage Status
Change from base Build 19935327740: 0.0%
Covered Lines: 1237
Relevant Lines: 2405

💛 - Coveralls

@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 20021484572

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 51.435%

Totals Coverage Status
Change from base Build 19935327740: 0.0%
Covered Lines: 1237
Relevant Lines: 2405

💛 - Coveralls

Signed-off-by: Antonin Stefanutti <[email protected]>
@astefanutti

Copy link
Copy Markdown
Contributor Author

/assign @kubeflow/kubeflow-trainer-team

@andreyvelich andreyvelich 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.

Thanks @astefanutti!
/assign @tenzen-y

t.Trainer.Command = command
t.Trainer.Args = args
t.Trainer.ResourcesPerNode = &corev1.ResourceRequirements{
t.Image = &image

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.

Why we didn't update t.Trainer.NumNodes and t.Trainer.NumProcPerNode ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's not possible because the wrapper overrides NumNodes and NumProcPerNode.

@andreyvelich

Copy link
Copy Markdown
Member

@astefanutti Can you fix new line please?

@astefanutti

Copy link
Copy Markdown
Contributor Author

@astefanutti Can you fix new line please?

@andreyvelich I've open #3024 to fix this as it's unrelated.

@andreyvelich

Copy link
Copy Markdown
Member

@astefanutti Can you fix new line please?

@andreyvelich I've open #3024 to fix this as it's unrelated.

Can you just add this commit into this PR, since CI is failing in #3024 due to golangci ?

@astefanutti

astefanutti commented Dec 8, 2025

Copy link
Copy Markdown
Contributor Author

@astefanutti Can you fix new line please?

@andreyvelich I've open #3024 to fix this as it's unrelated.

Can you just add this commit into this PR, since CI is failing in #3024 due to golangci ?

It's not really failing because of golangci but because some lint errors introduced when the welcome workflow got merged.

That PR fixes an issue with golangci and some latest versions of Git used to compile the kube-api-linter.

@andreyvelich

Copy link
Copy Markdown
Member

Sounds good, let me manually merge: #3024

@andreyvelich

Copy link
Copy Markdown
Member

/lgtm
/approve

@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich

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

@andreyvelich andreyvelich merged commit d698795 into kubeflow:master Dec 9, 2025
31 of 35 checks passed
@google-oss-prow google-oss-prow Bot added this to the v2.2 milestone Dec 9, 2025
mahdikhashan pushed a commit to mahdikhashan/trainer that referenced this pull request Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants