Preserve passive update capability in the restricted Windows probe
Rust development slice / linux (push) Failing after 6s

This commit is contained in:
2026-11-16 00:13:36 +01:00
parent fd995b0b91
commit 916ef51c6b
2 changed files with 28 additions and 2 deletions
+2 -2
View File
@@ -936,10 +936,10 @@ impl Agent {
}
fn capabilities(&self) -> Vec<String> {
let mut caps: Vec<String> = CAPABILITIES.iter().map(|c| c.to_string()).collect();
// queue_update_observation emits the passive update status in every profile.
caps.push("agent.update/1".into());
if self.config.windows_echo_probe_only {
caps.push("windows.echo-probe/1".into());
} else {
caps.push("agent.update/1".into());
}
if self.config.enable_jobs
&& cfg!(feature = "system-helper")