diff --git a/modules/mesh-delivery-pipeline/internal/pipeline/unfinished.go b/modules/mesh-delivery-pipeline/internal/pipeline/unfinished.go index b467ff6e0..e376f9663 100644 --- a/modules/mesh-delivery-pipeline/internal/pipeline/unfinished.go +++ b/modules/mesh-delivery-pipeline/internal/pipeline/unfinished.go @@ -448,35 +448,6 @@ func (u *Unfinished) heldBack(branch, module string, e UnfinishedEntry, head map return by, passed, p } -// HeldBehind are the modules whose unfinished key of branch is tied to module (H-A-625 (2)): the movers a failed module holds -// back, said by its finding pipeline-failed. -func (u *Unfinished) HeldBehind(branch, module string) []string { - if u == nil { - return nil - } - ukeys, err := u.Store.Keys(keys.EscapeName(branch) + ".*") - if err != nil { - return nil - } - slices.Sort(ukeys) - var out []string - for _, key := range ukeys { - _, name, _ := strings.Cut(key, ".") - m, err := keys.UnescapeName(name) - if err != nil { - continue - } - e, held, _ := u.read(key) - if !held { - continue - } - if by, _, _ := u.heldBack(branch, m, e, nil); slices.Contains(by, module) { - out = append(out, m) - } - } - return out -} - // Carry adds to the movers of a catalog revision of branch each unfinished mover whose fingerprint is still its entry's in // entries, the revision's entries, with one journal line per mover added again (ยง786). An unfinished mover the revision // moves at a newer fingerprint, or whose entry holds another fingerprint or none, has its key deleted; one it moves at its