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

operator-framework / operator-sdk / 29469156369
31%
master: 31%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/google.golang.org/grpc-1.82.1
DEFAULT BRANCH: master
Ran 16 Jul 2026 03:31PM UTC
Jobs 1
Files 162
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

16 Jul 2026 03:30AM UTC coverage: 31.412%. First build
29469156369

Pull #7114

github

arpitjain099
Fix scorecard descriptor test panic on non-object CR spec/status

The scorecard olm-spec-descriptors, olm-status-descriptors and
olm-crds-have-validation tests read a CR's spec and status from a
bundle's alm-examples annotation and type-assert them to
map[string]any while only guarding against nil. A bundle whose CR
has a spec or status that is a JSON scalar or array instead of an
object (for example "spec": "foo") makes the unguarded assertion
panic with "interface conversion: interface {} is string, not
map[string]interface {}", crashing the scorecard test binary on
malformed or untrusted bundle content.

Use comma-ok assertions at all four sites so a non-object spec or
status is handled the same as a missing one: the spec-descriptors
check reports a failed descriptor, and the status/validation checks
skip the field cleanly. Add regression tests that drive the real
check functions with a scalar spec and an array status and assert
they do not panic.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
Pull Request #7114: Fix scorecard descriptor test panic on non-object CR spec/status

9 of 9 new or added lines in 1 file covered. (100.0%)

4381 of 13947 relevant lines covered (31.41%)

13.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29469156369.1 16 Jul 2026 03:31PM UTC 162
31.41
GitHub Action Run
Source Files on build 29469156369
  • Tree
  • List 162
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #7114
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