git: Remove JobStatus from PendingOp in favour of in-flight pruning (#42955)

The idea is that we only store running (`!self.finished`) or finished
(`self.finished`) pending ops, while everything else (skipped, errored)
jobs are pruned out immediately. We don't really need them in the grand
scheme of things anyway.

Release Notes:

- N/A
This commit is contained in:
Jakub Konka
2025-11-18 10:22:34 +00:00
committed by GitHub
parent 980f8bff2a
commit 696fdd8fed
4 changed files with 39 additions and 62 deletions
+1 -1
View File
@@ -2662,7 +2662,7 @@ impl GitPanel {
&& pending
.ops
.iter()
.any(|op| op.git_status == pending_op::GitStatus::Reverted && op.finished())
.any(|op| op.git_status == pending_op::GitStatus::Reverted && op.finished)
{
continue;
}