feat(repo)!: add pending approval timeout #1227
Open
Codecov / codecov/project
failed
Dec 16, 2024 in 0s
56.84% (target 90.00%)
View this Pull Request on Codecov
56.84% (target 90.00%)
Details
Codecov Report
Attention: Patch coverage is 36.96370%
with 191 lines
in your changes missing coverage. Please review.
Project coverage is 56.84%. Comparing base (
aa973fe
) to head (68ba5c8
).
Files with missing lines | Patch % | Lines |
---|---|---|
api/build/traffic.go | 0.00% | 86 Missing |
cmd/vela-server/cleanup.go | 0.00% | 26 Missing |
api/repo/create.go | 0.00% | 15 Missing |
api/webhook/post.go | 0.00% | 15 Missing |
cmd/vela-server/server.go | 0.00% | 13 Missing |
cmd/vela-server/main.go | 0.00% | 12 Missing |
api/build/restart.go | 0.00% | 6 Missing |
api/repo/update.go | 0.00% | 5 Missing |
router/middleware/default_timeout.go | 0.00% | 5 Missing |
database/types/repo.go | 88.23% | 3 Missing and 1 partial |
... and 2 more |
Additional details and impacted files
@@ Coverage Diff @@
## main #1227 +/- ##
==========================================
- Coverage 56.91% 56.84% -0.08%
==========================================
Files 599 602 +3
Lines 32904 33036 +132
==========================================
+ Hits 18727 18778 +51
- Misses 13541 13620 +79
- Partials 636 638 +2
Files with missing lines | Coverage Δ | |
---|---|---|
api/types/repo.go | 100.00% <100.00%> (ø) |
|
database/repo/table.go | 100.00% <ø> (ø) |
|
database/testutils/api_resources.go | 94.83% <100.00%> (+0.01%) |
⬆️ |
mock/server/repo.go | 0.00% <ø> (ø) |
|
api/build/auto_cancel.go | 16.93% <66.66%> (+0.44%) |
⬆️ |
database/build/list_pending_approval.go | 89.65% <89.65%> (ø) |
|
database/types/repo.go | 94.84% <88.23%> (-1.86%) |
⬇️ |
api/repo/update.go | 0.00% <0.00%> (ø) |
|
router/middleware/default_timeout.go | 50.00% <0.00%> (-50.00%) |
⬇️ |
api/build/restart.go | 0.00% <0.00%> (ø) |
|
... and 6 more |
Loading