Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify status in dmypy status output #18331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kcornw
Copy link

@kcornw kcornw 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
Copy link
Contributor

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

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
1 participant