Skip to content

Print concurrent Mill process PID when waiting for lock - #6900

Merged
lihaoyi merged 1 commit into
com-lihaoyi:mainfrom
alexarchambault:print-concurrent-mill-pid
Mar 5, 2026
Merged

lihaoyi merged 1 commit into
com-lihaoyi:mainfrom
alexarchambault:print-concurrent-mill-pid

Conversation

@alexarchambault

Copy link
Copy Markdown
Collaborator

This makes Mill print the PID of the other Mill process, when the current one is waiting for another Mill process to be done.

Instead of printing

Another Mill process is running _some task_, waiting for it to be done...

we print

Another Mill process with PID XXX is running _some task_, waiting for it to be done...

This allows users to kill the other process if they don't expect another Mill process to be running. Printing the PID is handy in that case.

@lihaoyi
lihaoyi merged commit db65714 into com-lihaoyi:main Mar 5, 2026
36 checks passed
@lefou lefou added this to the 1.1.3 milestone Mar 6, 2026
@alexarchambault
alexarchambault deleted the print-concurrent-mill-pid branch March 9, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants