Avoid replaying the helper journal history during idle sync

This commit is contained in:
2026-11-19 10:09:38 +01:00
parent 478ee1fc1a
commit d4cbc40979
2 changed files with 41 additions and 24 deletions
@@ -1293,6 +1293,13 @@ impl SystemHelper {
verified_window(&self.settings.binding, request, &self.clock)?;
if self.settings.managed_scripts() {
ledger::check_integrity(&self.db, "ROOT_LEDGER_INTEGRITY")?;
rmm_agent_core::helper_reconcile::verify_checkpoint_repair_history_with(
&self.db,
&self.settings.binding,
None,
HelperIdentity::System,
&DalekVerifier,
)?;
}
self.sync()?;
ensure!(