• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kubeflow / trainer / 17403349307

02 Sep 2025 12:21PM UTC coverage: 54.734% (+2.6%) from 52.136%
17403349307

Pull #2653

github

jskswamy
fix(runtime): prevent launcher config override when runLauncherAsNode is true

Previously, when runLauncherAsNode was set to true, the launcher
container would receive the full trainer configuration including
image, command, args, and environment variables, which could
unintentionally override the launcher's original configuration.

This change ensures that launcher containers only receive resource
allocations (CPU, memory, GPU) when runLauncherAsNode is true, while
preserving their original image, command, and args. Node containers
continue to receive the full trainer configuration as expected.

The fix avoids override issues and improves the separation of
concerns between launcher and node container configurations in
MPI-based training jobs.

- Refactor Trainer method to apply full config only to Node containers
- Apply resources separately to both Node and Launcher containers
- Add comprehensive test case to verify launcher behavior
- Update existing test expectations to match correct behavior

Signed-off-by: Krishnaswamy Subramanian <subramk@thoughtworks.com>
Pull Request #2653: feat(runtime): add support for launcher resource allocation in MPI jobs

35 of 38 new or added lines in 1 file covered. (92.11%)

58 existing lines in 4 files now uncovered.

1081 of 1975 relevant lines covered (54.73%)

0.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

72.12
/pkg/runtime/runtime.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc