KEMBAR78
Clarify status in `dmypy status` output by WnRock · Pull Request #18331 · python/mypy · GitHub
Skip to content

Conversation

WnRock
Copy link
Contributor

@WnRock WnRock commented Dec 23, 2024

Revised the status message output from the dmypy status command to eliminate potential misunderstandings about the daemon's operational state.

Given the daemon’s synchronous design, the server may appear unresponsive during periods of heavy processing. When encountering a timeout, the status message could suggest that the daemon was "stuck", prompting users to prematurely consider stopping it.

Fixes #18008

Update the status message to clarify that the daemon may be busy and not necessarily stuck. The new message provides better guidance to users without prematurely suggesting killing the daemon.

Fixes python#18008
@github-actions
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@hauntsaninja hauntsaninja merged commit b3eff87 into python:master Dec 25, 2024
19 checks passed
@hauntsaninja
Copy link
Collaborator

Thanks!

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.

dmypy status reports as "stuck" when it's busy checking files

2 participants