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

opendefensecloud / solution-arsenal / 26894448077
74%

Build:
DEFAULT BRANCH: main
Ran 03 Jun 2026 03:33PM UTC
Jobs 1
Files 30
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

03 Jun 2026 03:18PM UTC coverage: 72.813% (+0.3%) from 72.528%
26894448077

push

github

web-flow
fix: gracefully handle non-ocm repositories (#573)

## What
<!-- One sentence summary -->
Closes #535

## Testing

reproduced error as described via:

```bash
make dev-cluster
kubectl port-forward -n zot svc/zot-discovery 5000:443 &
kubectl apply -n solar-system -f test/fixtures/e2e/zot-discovery-registry-scan.yaml
docker pull nginx:latest
docker tag docker.io/library/nginx:latest localhost:5000/nginx:latest
docker push localhost:5000/nginx:latest
kubectl rollout restart deployment -n solar-system solar-discovery
kubectl logs -n solar-system deployments/solar-discovery
# verbose errors

git checkout fix/535-non-ocm-discovery-errors
make dev-cluster-rebuild
kubectl rollout restart deployment -n solar-system solar-discovery
kubectl logs -n solar-system deployments/solar-discovery
# 1 debug line per skipped ocm repo
```

Unit tests were added as well.

## Checklist
- [x] Tests added/updated
- [x] No breaking changes (or upgrade path documented above)
- [x] Readable commit history (squashed and cleaned up as desired)
- [x] AI code review considered and comments resolved

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Improved error logging during repository scanning to reduce noise;
repositories that don't match the expected format now log at verbose
level instead of error level, making scan logs clearer.

* **Tests**
* Added comprehensive test coverage for repository parsing and error
handling scenarios.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

9 of 9 new or added lines in 2 files covered. (100.0%)

4 existing lines in 2 files now uncovered.

2464 of 3384 relevant lines covered (72.81%)

57.65 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
86.79
-0.46% pkg/controller/rendertask_controller.go
2
69.68
-0.25% pkg/controller/target_controller.go
Jobs
ID Job ID Ran Files Coverage
1 26894448077.1 03 Jun 2026 03:33PM UTC 30
72.81
GitHub Action Run
Source Files on build 26894448077
  • Tree
  • List 30
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26894448077
  • 51161ab6 on github
  • Prev Build on main (#26893978761)
  • Next Build on main (#26939975669)
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