Proofline

Concurrent `Hold` invocations can both validate the marker because validation and deletion are separate, and deleting a missing marker does not fail.

khan-dev-labs/cli#1Reviewed commit 08129b5

Warning · Concurrency

Impact

A delayed duplicate can reacquire the installer lock after the original holder exits, causing the expected uncontested upgrade to fail.

Recommended action

Atomically rename the marker to claim it, then validate the claimed contents before opening the installer lock.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed