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

opendefensecloud / solution-arsenal / 30339642248
83%

Build:
DEFAULT BRANCH: main
Ran 28 Jul 2026 08:03AM UTC
Jobs 1
Files 71
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

28 Jul 2026 07:45AM UTC coverage: 81.778% (+0.5%) from 81.303%
30339642248

push

github

web-flow
feat: crud for k8s ressources in web ui (#708)

## What
Add create/edit/delete forms and dialogs for Profiles, Targets, and
ReleaseBindings in the web UI
Closes #412 

## Why
The UI was read-only, Profiles/Targets/ReleaseBindings could only be
created via CLI. This adds first-class CRUD (with validation) so
operators can manage these resources from the web ui.

## Testing
- **Backend**: new `handler_test.go` covers create (namespace-from-path
override, null-body rejection), JSON-Patch wholesale replace vs merge,
and delete
- **Frontend**: 23 tests (mutations factory, optimistic rollback +
namespace scoping, binding-name collisions, dialog validation, YAML
parse)

## Notes for reviewers

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

* **New Features**
* Added creation, editing, and deletion workflows for profiles and
targets.
* Added support for YAML userdata, label editing, release selection, and
binding management.
* Added authenticated API operations for creating, updating, and
deleting resources.
* Added reusable confirmation dialogs, success/error toasts, validation
messages, and optimistic updates.
  * Added JSON Patch support for profile and target updates.
* **Bug Fixes**
* Improved deletion feedback and rollback behavior when operations fail.
* **Tests**
* Expanded coverage for authentication, sessions, API handlers, routing,
mutations, and form validation.

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

106 of 123 new or added lines in 2 files covered. (86.18%)

5 existing lines in 3 files now uncovered.

5152 of 6300 relevant lines covered (81.78%)

36.65 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
78.54
pkg/ui/api/handler.go

Coverage Regressions

Lines Coverage ∆ File
2
86.58
-0.45% pkg/controller/rendertask_controller.go
2
89.09
-1.82% pkg/discovery/runner.go
1
73.12
-0.27% pkg/controller/profile_controller.go
Jobs
ID Job ID Ran Files Coverage
1 30339642248.1 28 Jul 2026 08:03AM UTC 71
81.78
GitHub Action Run
Source Files on build 30339642248
  • Tree
  • List 71
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30339642248
  • 83ba01b2 on github
  • Prev Build on main (#30291925304)
  • Next Build on main (#30340014167)
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