feat(rotate-key): add report + key fingerprint in hexdigit fmt

This commit is contained in:
Edouard Vanbelle
2026-08-02 01:05:02 +02:00
parent ddede168f9
commit 0a41f561d0
11 changed files with 210 additions and 23 deletions
@@ -799,7 +799,15 @@ impl StorageMigrationService {
"✅ storage_migration completed — hot-swapped runtime backend to `{target_name}`, \
writes resumed. No restart required."
);
RunOutcome::Completed
// Per-run summary counters merged into `stats` for the admin
// UI drawer. Same shape as `storage_rotate`'s extras + one
// extra `source_missing` counter unique to migration.
RunOutcome::completed_with(serde_json::json!({
"copied": copied,
"skipped": skipped,
"failed": failed,
"source_missing": source_missing,
}))
}
}