Skip to content

Capture VM SSH host keys on the periodic fleet check - #346

Merged
v0l merged 2 commits into
masterfrom
fix/host-key-capture-periodic-344
Jul 30, 2026
Merged

Capture VM SSH host keys on the periodic fleet check#346
v0l merged 2 commits into
masterfrom
fix/host-key-capture-periodic-344

Conversation

@v0l

@v0l v0l commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Closes #344.

capture_vm_ssh_host_keys only ran from check_vm, which is dispatched on customer action, so a VM nobody touched never got keys. It now also runs in the 30s fleet sweep (worker.rs:1198-1201), next to the DNS reconcile that was already there.

No backfill job: the sweep visits every non-deleted VM, capture no-ops once complete and self-throttles retries hourly, so the fleet heals itself.

Test asserts the sweep reaches capture via the recorded attempt stamp; it fails without the one-line change.

Originating channel: general (721a8a6c-c36c-5fa1-ae07-822ddc8567c5)

@v0l
v0l merged commit 7930597 into master Jul 30, 2026
6 checks passed
@v0l
v0l deleted the fix/host-key-capture-periodic-344 branch July 30, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSH host key capture never runs on the periodic VM check

1 participant