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

kubevirt / containerized-data-importer / #5837 / 1
49%
main: 49%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/tools/release-notes/github.com/go-git/go-git/v5-5.16.5
DEFAULT BRANCH: main
Ran 24 Feb 2026 08:07PM UTC
Files 157
Run time 5s
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

24 Feb 2026 07:57PM UTC coverage: 49.387% (-0.05%) from 49.44%
#5837.1

Pull #4046

travis-ci

akalenyu
Use an uncached client for webhooks, cache only PVs with transform

Using a cached client for webhooks was never a great idea, with stale
entries being somewhat dangerous or plain and simply blocking. For
example:

  #!/bin/bash
  kubectl create -f source-pvc.yaml
  kubectl wait --for=condition=Bound pvc/source-pvc --timeout=60s
  # clone target PVC goes through the mutating webhook which needs
  # to read the source PVC and StorageProfile to render defaults;
  # a stale cache may not see them yet, resulting in a rejection.
  kubectl create -f clone-target-pvc.yaml

The cost of using an uncached client is low, since the only verb we
act on is CREATE.

PersistentVolumes are the exception — they can be numerous with large
specs, and renderPvcSpecFromAvailablePv relies on a field index that
requires a cache. A dedicated PV-only cache with a transform function
is used to keep only the fields needed by the webhook (StorageClassName,
Capacity, AccessModes, VolumeMode, Phase).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
Pull Request #4046: Use an uncached client for webhooks, cache only PVs with transform

14715 of 29795 relevant lines covered (49.39%)

0.55 hits per line

Source Files on job #5837.1
  • Tree
  • List 157
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5837
  • ba131927 on github
  • Prev Job for on webhook-uncached-client (##5836.1)
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