docker updates: an unscoped sweep over an empty listing still empties and persists the verdict map #55
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?
Residual from the approving review on #44 — pre-existing, explicitly out of that PR's scope, filed as the follow-up it asked for (alongside #39).
seededFromStoragegates the prune, not the rebuild. An unscopedrefreshUpdatesreplacesstate.updateswithchecked, built from whateverstate.stacksholds — so a sweep tick over an empty full listing empties the map and persists it,haveFullListingnotwithstanding:Pre-existing at the merge base (
pruneUpdates(project ? merged : checked, state.stacks)+ unconditionalstorage.setwiped there too); #44 strictly narrowed the class. The fix is a policy call, not a mechanical guard: a host that genuinely emptied must eventually drop its verdicts, so "skip when the listing is empty" is really "how long may a phantom outlive its stack". Same reachability caveat as the other findings — bare-process deployments only; containerised OpsDeck always lists itself.Source: #44 (comment) (residual section).