Add gated agent update planning, preserved handoff and Linux worker ports
Rust development slice / linux (push) Failing after 6s
Rust development slice / linux (push) Failing after 6s
This commit is contained in:
@@ -121,6 +121,11 @@ impl Binding {
|
||||
&& p.job_id == job.job_id
|
||||
&& p.attempt_id == job.attempt_id
|
||||
&& p.action == job.action.name()
|
||||
&& if matches!(job.action, rmm_domain::jobs::Action::UpdateAgent { .. }) {
|
||||
p.agent_update_plan_id.is_some_and(|id| !id.is_nil())
|
||||
} else {
|
||||
p.agent_update_plan_id.is_none()
|
||||
}
|
||||
&& p.execution_identity == job.execution_identity
|
||||
&& p.max_runtime_seconds == job.max_runtime_seconds,
|
||||
"PERMIT_BINDING"
|
||||
|
||||
Reference in New Issue
Block a user