deno.sh: prune warning blames the daemon when the tag simply vanished in the concurrent-prune race #56
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nit from the approving review on #42 (wording, not behaviour).
last=$(docker image inspect …) || last=funnels every non-zero inspect into the "no LastTagTime from this daemon" branch — butNo such imageexits 1 the same way a missing template field does. The concurrent-prune race the comment at.forgejo/deno.sh:104names produces exactly that: the other run untags between this run'sdocker imagesand itsinspect, and the log then accuses the daemon.Fix: reword to "could not read LastTagTime for
$stale; not pruning it", which covers both causes and stays true.Source: #42 (comment) (first nit).