Deploy reviewed Windows sync alignment with schema 20 server
Rust development slice / linux (push) Failing after 7s
Rust development slice / linux (push) Failing after 7s
Bind the administrative connection-205 review to original signed history and preserve closed readiness. Include the qualified server dependency closure, UI review, native ARM64 build provenance, and guarded deployment evidence. Migration, API/gateway replacement and TLS checks passed with unchanged job authority, protected mounts and time/database services; native Windows receipt application remains separate.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
//! The first Windows reboot capability is deliberately a fixed, separately
|
||||
//! enabled SYSTEM action. Existing Linux Reboot payload bytes are unchanged.
|
||||
use crate::jobs::{Action, JobPayload};
|
||||
pub const CAPABILITY: &str = "windows.reboot/1";
|
||||
pub const RECONNECT_SECONDS: u32 = 180;
|
||||
pub const RUNTIME_SECONDS: u32 = 60;
|
||||
pub const ANNOUNCEMENT_SECONDS: u32 = 5;
|
||||
pub fn supported(job: &JobPayload) -> bool {
|
||||
job.execution_identity == "system"
|
||||
&& job.max_runtime_seconds == RUNTIME_SECONDS
|
||||
&& (1..=65536).contains(&job.max_output_bytes)
|
||||
&& job.action.validate()
|
||||
&& matches!(
|
||||
job.action,
|
||||
Action::Reboot {
|
||||
reconnect_timeout_seconds: RECONNECT_SECONDS,
|
||||
..
|
||||
}
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user