feat: add the API for trigger the GC manually #4074
+173
−12
Merged
Codecov / codecov/project
succeeded
May 20, 2025 in 0s
33.18% (target 33.00%)
View this Pull Request on Codecov
33.18% (target 33.00%)
Details
Codecov Report
Attention: Patch coverage is 1.02041% with 97 lines in your changes missing coverage. Please review.
Project coverage is 33.18%. Comparing base (
c63b794) to head (a541bed).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| manager/service/job.go | 0.00% | 35 Missing |
| manager/gc/audit.go | 0.00% | 15 Missing |
| manager/gc/job.go | 0.00% | 15 Missing |
| manager/handlers/job.go | 8.33% | 11 Missing |
| manager/service/mocks/service_mock.go | 0.00% | 9 Missing |
| manager/manager.go | 0.00% | 6 Missing |
| manager/gc/recorder.go | 0.00% | 2 Missing |
| manager/service/service.go | 0.00% | 2 Missing |
| pkg/gc/gc.go | 0.00% | 2 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #4074 +/- ##
==========================================
- Coverage 33.25% 33.18% -0.08%
==========================================
Files 346 346
Lines 40493 40581 +88
==========================================
Hits 13466 13466
- Misses 26134 26222 +88
Partials 893 893 | Files with missing lines | Coverage Δ | |
|---|---|---|
| manager/gc/recorder.go | 0.00% <0.00%> (ø) |
|
| manager/service/service.go | 0.00% <0.00%> (ø) |
|
| pkg/gc/gc.go | 91.17% <0.00%> (-2.77%) |
⬇️ |
| manager/manager.go | 0.00% <0.00%> (ø) |
|
| manager/service/mocks/service_mock.go | 93.73% <0.00%> (-1.05%) |
⬇️ |
| manager/handlers/job.go | 45.80% <8.33%> (-4.62%) |
⬇️ |
| manager/gc/audit.go | 0.00% <0.00%> (ø) |
|
| manager/gc/job.go | 0.00% <0.00%> (ø) |
|
| manager/service/job.go | 0.00% <0.00%> (ø) |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading