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

opendefensecloud / solution-arsenal / 38431679607
79%

Build:
DEFAULT BRANCH: main
Ran 13 Oct 2026 04:58PM UTC
Jobs 1
Files 98
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 Oct 2026 04:34PM UTC coverage: 79.162% (+0.4%) from 78.8%
38431679607

push

github

web-flow
feat: target reports (#857)

## What
<!-- One sentence summary -->
Relates to #409

Adds the TargetReport API and controller

A TargetReport is a namespaced object with the same name as its Target.
It is a single full snapshot owned by the agent. It contains: Preflight
check results, and the status conditions of OCIRepository/HelmRelease
pairs it observed.
The TargetReport can be extended in future updates to include more
information like Cluster Capacity etc.

What the controller does:

- Reads each report and reduces its Preflight checks to a single
PreflightReady condition on the Target. (This condition can be used to
gate new deployments to the target)
- Watches Target creates so a report that lands before its Target still
gets reconciled instead of silently stalling on a missing Target.

## 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

## Summary

* **New Features**
* Added target reports with report timestamps, observed release status,
and preflight check results.
* Target reports update the matching target’s aggregate preflight
readiness condition, including when either resource is created first.
  * Added table output for report time, passing-check count, and age.
* Added client support for creating, retrieving, listing, watching, and
applying target reports.
* **Validation**
* Added checks for report timestamps, preflight checks, release details,
and advancing timestamps on updates.
* **Documentation**
* Added API reference details for target reports, release phases, and
preflight checks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

174 of 190 new or added lines in 8 files covered. (91.58%)

2 existing lines in 1 file now uncovered.

5307 of 6704 relevant lines covered (79.16%)

33.12 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
90.32
pkg/controller/targetreport_controller.go
4
0.0
api/solar/v1alpha1/targetreport_types.go
2
98.18
api/solar/targetreport_rest.go
2
5.56
-0.33% api/solar/v1alpha1/register.go
1
40.63
-1.31% cmd/solar-apiserver/main.go
1
66.67
5.13% pkg/controller/predicates.go

Coverage Regressions

Lines Coverage ∆ File
2
78.02
0.0% pkg/controller/target_controller.go
Jobs
ID Job ID Ran Files Coverage
1 38431679607.1 13 Oct 2026 04:58PM UTC 98
79.16
GitHub Action Run
Source Files on build 38431679607
  • Tree
  • List 98
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38431679607
  • 8d399f11 on github
  • Prev Build on main (#38395233479)
  • Next Build on main (#38539357058)
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