fix: prioritize dependency jobs by default

This commit is contained in:
Ruben Fiszel
2025-10-30 09:26:21 +00:00
parent dfae7a7e2e
commit 6e87e03f36
+2
View File
@@ -4427,6 +4427,8 @@ pub async fn push<'c, 'd>(
// prioritize flow steps to drain the queue faster
let final_priority = if flow_step_id.is_some() && final_priority.is_none() {
Some(0)
} else if job_kind == JobKind::Dependencies {
Some(0)
} else {
final_priority
};