Skip to content

feat: keep an accepted agent's public key after enrollment - #516

Merged
retr0h merged 2 commits into
mainfrom
feat/agent-key-store
Sep 18, 2026
Merged

retr0h merged 2 commits into
mainfrom
feat/agent-key-store

test: make the keepalive ctx.Done() path deterministic

fcebe14
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 18, 2026 in 1s

99.95% (target 99.90%)

View this Pull Request on Codecov

99.95% (target 99.90%)

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #516   +/-   ##
=======================================
  Coverage   99.95%   99.95%           
=======================================
  Files         489      490    +1     
  Lines       23180    23249   +69     
=======================================
+ Hits        23170    23239   +69     
  Misses         10       10           
Files with missing lines Coverage Δ
internal/agent/pki/keypair.go 100.00% <100.00%> (ø)
internal/controller/enrollment/accept.go 100.00% <100.00%> (ø)
internal/controller/enrollment/keystore.go 100.00% <100.00%> (ø)
internal/controller/enrollment/watcher.go 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1fbd04d...fcebe14. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.