Separate SYSTEM policy and verify thirteen policy guards on cloud Linux
Rust development slice / linux (push) Failing after 7s
Rust development slice / linux (push) Failing after 7s
This commit is contained in:
@@ -504,6 +504,11 @@ pub async fn reconcile(
|
||||
decisions.push(decision);
|
||||
continue;
|
||||
}
|
||||
let missing_helper =
|
||||
crate::root_policy::needs_helper(&payload.execution_identity) && !helper_ready;
|
||||
if missing_helper {
|
||||
ready = false;
|
||||
}
|
||||
let grant = sqlx::query(
|
||||
"SELECT grant_id,payload,created_at FROM execution_permits WHERE job_id=$1 AND attempt_id=$2",
|
||||
)
|
||||
@@ -720,8 +725,7 @@ pub async fn reconcile(
|
||||
}
|
||||
.into();
|
||||
}
|
||||
if payload.execution_identity == "root" && !helper_ready {
|
||||
ready = false;
|
||||
if missing_helper {
|
||||
decision.unlock = false;
|
||||
decision.reason = "HELPER_JOURNAL_REQUIRED".into();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user