python / python/mypy

(🐞) dmypy says "daemon has died" when it starts

Open
#14,419 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug topic-daemon
Dominant language
Python
Stars
20.6k
Forks
3.3k
PR merge metrics
PR metrics pending

Description

πŸ‘‰ dmypy start
Daemon has started
πŸ‘‰ dmypy kill
Daemon killed
πŸ‘‰ dmypy start
Daemon has died
πŸ‘‰ dmypy start
Daemon is still alive

I think this is intentional, but misleading in my opinion. When running dmypy start and seeing "Daemon has died", leads me to believe that the daemon has died while attempting to start, not that it has died previously.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up β€” it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the dmypy command handling for dmypy start, focusing on the branch that reports the daemon's prior state. Compare the messages shown after dmypy kill and repeated dmypy start calls, then update the misleading wording and add or adjust coverage for this sequence so the resulting status is unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.