Add reviewed Windows scope completion and idle certificate renewal; deploy completion API
Rust development slice / linux (push) Failing after 7s

This commit is contained in:
2026-11-16 10:25:25 +01:00
parent ebcad08731
commit bb4ffe518d
43 changed files with 5146 additions and 50 deletions
+10
View File
@@ -37,6 +37,9 @@ fn file_role(role: NativeFileRole) -> rmm_updater_handoff::FileRole {
NativeFileRole::HelperBinary => rmm_updater_handoff::FileRole::HelperBinary,
NativeFileRole::FullConfig => rmm_updater_handoff::FileRole::LinuxFullConfig,
NativeFileRole::FullPin => rmm_updater_handoff::FileRole::LinuxFullPin,
NativeFileRole::WindowsSettings => rmm_updater_handoff::FileRole::WindowsSettings,
NativeFileRole::WindowsPin => rmm_updater_handoff::FileRole::WindowsPin,
NativeFileRole::WindowsTimeProfile => rmm_updater_handoff::FileRole::WindowsTimeProfile,
}
}
@@ -189,6 +192,10 @@ impl<'a, 'stopped> OwnedLedger<'a, 'stopped> {
update_handoff::NativeService::Full => {
rmm_updater_linux::services::Service::Full
}
update_handoff::NativeService::WindowsAgent
| update_handoff::NativeService::WindowsHelper => {
anyhow::bail!("UPDATE_WINDOWS_SERVICE_ON_LINUX")
}
};
let proof = self
.guard
@@ -463,6 +470,9 @@ impl UpdateParticipantGuard for OwnedGuard<'_, '_> {
NativeFileRole::HelperBinary => rmm_updater_handoff::FileRole::HelperBinary,
NativeFileRole::FullConfig => rmm_updater_handoff::FileRole::LinuxFullConfig,
NativeFileRole::FullPin => rmm_updater_handoff::FileRole::LinuxFullPin,
NativeFileRole::WindowsSettings => rmm_updater_handoff::FileRole::WindowsSettings,
NativeFileRole::WindowsPin => rmm_updater_handoff::FileRole::WindowsPin,
NativeFileRole::WindowsTimeProfile => rmm_updater_handoff::FileRole::WindowsTimeProfile,
};
match (effect, stage) {
(NativeEffect::StopService { .. }, NativeEffectStage::Observe) => {