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

NVIDIA / nodewright / 41897882347
84%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2026 07:52PM UTC
Jobs 1
Files 60
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

04 Nov 2026 07:32PM UTC coverage: 84.08% (+0.02%) from 84.064%
41897882347

push

github

web-flow
perf(operator): avoid namespace scans for node Jobs and Job pods (#958)

* perf(operator): avoid namespace scans for node Jobs and Job pods

Repeated label-only cache queries scan every Job or pod in the namespace.
Their cost grows with namespace object counts, even when a query needs
only one node's Jobs or one Job's pods.

Use indexes keyed by the existing labels to narrow each query's candidates
before applying its label selectors. Share index registration so either
reconciler can initialize without depending on the other's setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Taylor Daugherty <tdaugherty@nvidia.com>

* refactor(operator): register cache field indexes once from main

Replace the per-manager sync.Map guard with an exported
SetupFieldIndexes that main calls once before setting up the
reconcilers. Tests that start a manager call it too.

Rename the two new index keys so they cannot be mistaken for apiserver
field selectors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Taylor Daugherty <tdaugherty@nvidia.com>

* fix(operator): wrap field index errors and assert the childPods index

Name the resource and index in each SetupFieldIndexes error. Assert that
childPods lists pods through the Job UID field index, so dropping the
index fails the test even though the label selector returns the same
pods.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Taylor Daugherty <tdaugherty@nvidia.com>

* Update operator/internal/controller/skyhook_controller.go

Signed-off-by: Brian Lockwood <lockwobr@gmail.com>

---------

Signed-off-by: Taylor Daugherty <tdaugherty@nvidia.com>
Signed-off-by: Brian Lockwood <lockwobr@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Brian Lockwood <lockwobr@gmail.com>

25 of 36 new or added lines in 3 files covered. (69.44%)

12 existing lines in 2 files now uncovered.

10505 of 12494 relevant lines covered (84.08%)

7.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
85.41
0.53% operator/internal/controller/skyhook_controller.go
3
48.58
-0.3% operator/cmd/manager/main.go

Coverage Regressions

Lines Coverage ∆ File
10
78.65
-5.21% operator/cmd/cli/app/package/package_logs.go
2
85.41
0.53% operator/internal/controller/skyhook_controller.go
Jobs
ID Job ID Ran Files Coverage
1 41897882347.1 04 Nov 2026 07:52PM UTC 60
84.08
GitHub Action Run
Source Files on build 41897882347
  • Tree
  • List 60
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #41897882347
  • 036b3efa on github
  • Prev Build on main (#41875548626)
  • Next Build on main (#42082094027)
  • 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