Skip to content

Dune silently hangs when build directory is locked by another process #12685

@sabine

Description

@sabine

When trying to run dune build while another dune process already holds the build
directory lock, dune silently waits indefinitely with no indication to the user
what's happening. This creates a confusing experience where users don't know why
their build isn't progressing.

Desired behavior

Dune should inform the user that it's waiting for a lock held
by another process, and provide guidance on what to do if that process is stale.

Impact

• Users waste time waiting for builds that appear frozen
• Users may kill legitimate processes or create duplicate builds
• No clear guidance on how to resolve stale lock situations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions