feat(agent): add privilege escalation for least-privilege mode #344
Codecov / codecov/project
succeeded
Apr 2, 2026 in 1s
99.91% (+0.00%) compared to d16126d
View this Pull Request on Codecov
99.91% (+0.00%) compared to d16126d
Details
Codecov Report
✅ All modified and coverable lines are covered by tests.
@@ Coverage Diff @@
## main #344 +/- ##
========================================
Coverage 99.91% 99.91%
========================================
Files 438 440 +2
Lines 21268 21377 +109
========================================
+ Hits 21249 21358 +109
Misses 11 11
Partials 8 8 | Files with missing lines | Coverage Δ | |
|---|---|---|
| internal/agent/agent.go | 100.00% <100.00%> (ø) |
|
| internal/agent/preflight.go | 100.00% <100.00%> (ø) |
|
| internal/agent/server.go | 100.00% <100.00%> (ø) |
|
| internal/controller/api/node/user/user_update.go | 98.13% <ø> (ø) |
|
| internal/exec/exec.go | 100.00% <100.00%> (ø) |
|
| internal/exec/run_privileged_cmd.go | 100.00% <100.00%> (ø) |
|
| ...work/dns/debian_update_resolv_conf_by_interface.go | 100.00% <100.00%> (ø) |
|
| internal/provider/node/apt/debian.go | 100.00% <100.00%> (ø) |
|
| internal/provider/node/certificate/debian.go | 100.00% <100.00%> (ø) |
|
| ...ernal/provider/node/host/debian_update_hostname.go | 100.00% <100.00%> (ø) |
|
| ... and 9 more |
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update d16126d...680706a. Read the comment docs.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading