feat: platform setting for enabling/disabling Vela secrets #1384
Codecov / codecov/project
failed
Jan 8, 2026 in 1s
58.37% (target 90.00%)
View this Pull Request on Codecov
58.37% (target 90.00%)
Details
Codecov Report
❌ Patch coverage is 66.31579% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.37%. Comparing base (0ea4d84) to head (8021cf1).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| router/middleware/perm/perm.go | 45.94% | 16 Missing and 4 partials |
| api/admin/settings.go | 0.00% | 6 Missing |
| api/types/settings/platform.go | 84.61% | 6 Missing |
❌ Your project check has failed because the head coverage (58.37%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.
Additional details and impacted files
@@ Coverage Diff @@
## main #1384 +/- ##
==========================================
+ Coverage 58.36% 58.37% +0.01%
==========================================
Files 645 645
Lines 24864 24931 +67
==========================================
+ Hits 14511 14554 +43
- Misses 9681 9701 +20
- Partials 672 676 +4 | Files with missing lines | Coverage Δ | |
|---|---|---|
| cmd/vela-server/flags.go | 100.00% <ø> (ø) |
|
| database/settings/table.go | 100.00% <ø> (ø) |
|
| database/types/settings.go | 65.04% <100.00%> (+1.79%) |
⬆️ |
| mock/server/settings.go | 0.00% <ø> (ø) |
|
| api/admin/settings.go | 0.00% <0.00%> (ø) |
|
| api/types/settings/platform.go | 77.12% <84.61%> (+1.95%) |
⬆️ |
| router/middleware/perm/perm.go | 59.62% <45.94%> (-1.82%) |
⬇️ |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading