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

kyverno / policy-reporter / 27469628510
74%

Build:
DEFAULT BRANCH: main
Ran 13 Jun 2026 02:37PM UTC
Jobs 1
Files 90
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

13 Jun 2026 02:33PM UTC coverage: 74.327% (+0.03%) from 74.295%
27469628510

push

github

web-flow
fix(api): fall back to embedded HTML report templates (#1479)

The /v1/html-report/violations endpoint loaded its template from the
templates directory at runtime via ParseFiles. When that directory is
not present on disk (for example a custom image where /app/templates is
missing), parsing failed with "no such file or directory" and the
report request errored out, as reported in #1466.

Embed the bundled templates and load them disk-first with an embedded
fallback, so rendering works even without a templates directory. The
--template-dir override still takes precedence when the requested file
exists there. The same fallback is applied to the summary reporter for
parity, and a regression test covers the missing-directory case.

Signed-off-by: arpitjain099 <arpitjain099@gmail.com>

15 of 16 new or added lines in 2 files covered. (93.75%)

6016 of 8094 relevant lines covered (74.33%)

4.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
87.18
-0.32% pkg/email/summary/reporter.go
Jobs
ID Job ID Ran Files Coverage
1 27469628510.1 13 Jun 2026 02:37PM UTC 90
74.33
GitHub Action Run
Source Files on build 27469628510
  • Tree
  • List 90
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27469628510
  • 82123b82 on github
  • Prev Build on main (#26940450762)
  • 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