Deadlock - CI/CD Glossary Definition
A deadlock is a permanent hang where threads wait on each other's locks and none can make progress.
A deadlock occurs when two or more threads each wait for a resource the other holds, so none can proceed and the program hangs indefinitely. It is a failure mode of concurrent code.
A deadlock occurs when two or more threads each wait for a resource the other holds, so none can proceed and the program hangs indefinitely. It is a failure mode of concurrent code.
In CI
A deadlocked test does not fail, it hangs, so it burns runner minutes until the job timeout kills it. Set a per-test or per-job timeout so a deadlock produces a fast, clear failure instead of a long stall.