Skip to content

Commit 4e8b42e

Browse files
Fix issue with digest merge (inconsistent graph state)
Signed-off-by: Jacob Gillespie <[email protected]>
1 parent 2ff0d2a commit 4e8b42e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

solver/jobs.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,14 @@ func (jl *Solver) loadUnlocked(v, parent Vertex, j *Job, cache map[Vertex]Vertex
342342
// if same vertex is already loaded without cache just use that
343343
st, ok := jl.actives[dgstWithoutCache]
344344

345+
if ok {
346+
v = &vertexWithCacheOptions{
347+
Vertex: v,
348+
dgst: dgstWithoutCache,
349+
inputs: inputs,
350+
}
351+
}
352+
345353
if !ok {
346354
st, ok = jl.actives[dgst]
347355

0 commit comments

Comments
 (0)