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

Mellanox / network-operator-init-container / 24659771709
65%
main: 65%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/onsi/ginkgo/v2-2.32.0
DEFAULT BRANCH: main
Ran 20 Apr 2026 09:49AM UTC
Jobs 1
Files 6
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

20 Apr 2026 09:45AM UTC coverage: 64.25% (+7.5%) from 56.757%
24659771709

Pull #105

github

almaslennikov
Refactor pre-flight checks to env-var-driven module lists with warn-by-default semantics

Align the pre-flight dependency check with doca-driver-build's env-var-driven
configuration pattern and change the default failure mode from blocking to
warning.

- Replace the package-level KnownThirdPartyRDMAModules and KnownStorageModules
  maps with caarlos0/env/v11-tagged slices on ModuleDependencyCheckConfig.
  STORAGE_MODULES and THIRD_PARTY_RDMA_MODULES now drive classification with
  colon-separated defaults that mirror doca-driver-build exactly, so adding a
  module to one side no longer requires a Go-code change on the other.
- Add ib_iser and ib_srp to the default storage list, fixing the Ubuntu 24.04
  regression where ib_iser loaded as an unknown blocking module.
- Gate the pre-flight check's blocking behavior on a new
  BLOCK_ON_PREFLIGHT_CHECKS env var (default false). Findings are logged at
  warning level and init proceeds unless operators opt in to strict mode.
- Drop the ModuleDependencyCheck.Enable field. The check always runs; if no
  Modules are configured it is silently skipped.
- Extend NewChecker to accept the third-party and storage module lists so the
  caller controls classification instead of relying on global state.

Signed-off-by: Alexander Maslennikov <amaslennikov@nvidia.com>
Pull Request #105: Refactor pre-flight checks to env-var-driven module lists with warn-by-default semantics

71 of 92 new or added lines in 3 files covered. (77.17%)

36 existing lines in 2 files now uncovered.

390 of 607 relevant lines covered (64.25%)

13.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
19
55.48
17.73% cmd/network-operator-init-container/app/app.go
2
68.18
-9.09% pkg/config/config.go

Coverage Regressions

Lines Coverage ∆ File
30
55.48
17.73% cmd/network-operator-init-container/app/app.go
6
68.18
-9.09% pkg/config/config.go
Jobs
ID Job ID Ran Files Coverage
1 24659771709.1 20 Apr 2026 09:49AM UTC 6
64.25
GitHub Action Run
Source Files on build 24659771709
  • Tree
  • List 6
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24659771709
  • Pull Request #105
  • PR Base - main (#24574590300)
  • Delete
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