• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

kubeflow / trainer / 37124876875
72%
master: 72%

Build:
Build:
LAST BUILD BRANCH: feat/optuna-search-algorithm
DEFAULT BRANCH: master
Ran 07 Oct 2026 01:45PM UTC
Jobs 1
Files 46
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Oct 2026 12:59PM UTC coverage: 72.222%. Remained the same
37124876875

Pull #4157

github

nikhil3495
fix(runtimes): guard nil SSHAuthMountPath and MPIImplementation dereferences in MPI plugin

EnforceMLPolicy and buildHostFileConfigMap in
pkg/runtime/framework/plugins/mpi/mpi.go unconditionally dereferenced
two pointer fields on MPIMLPolicySource:

- SSHAuthMountPath at line 198
- MPIImplementation at lines 208 and 322

Both fields carry +kubebuilder:default markers, but those defaults are
only applied by the API server. Objects constructed without going through
it (unit tests, or objects built in-process) leave the fields nil,
causing nil pointer dereference panics.

Replace each bare dereference with ptr.Deref using the field's
documented CRD default as the fallback ("/root/.ssh" for
SSHAuthMountPath, OpenMPI for MPIImplementation), consistent with how
PR #4054 fixed the same pattern in the Flux plugin.

Note: the NumProcPerNode sites at lines 131 and 220 were fixed
separately in PR #4049.

Add two regression test cases to TestMPI that exercise each nil path
and confirm no panic.

Signed-off-by: Nikhil Bansiwal <nikhilbansiwal3495@gmail.com>
Pull Request #4157: fix(runtimes): guard nil SSHAuthMountPath and MPIImplementation dereferences in MPI plugin

3 of 3 new or added lines in 1 file covered. (100.0%)

3341 of 4626 relevant lines covered (72.22%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 37124876875.1 07 Oct 2026 01:45PM UTC 46
72.22
GitHub Action Run
Source Files on build 37124876875
  • Tree
  • List 46
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4157
  • PR Base - master (#37050347332)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc