Improve approach to waiting for Multipass start
Metadata
Current evaluation
Enhancement: replace hardcoded 20s sleep after Multipass install with polling until multipassd is ready. TODO still in installer.py, triaged, but may be blocked by upstream canonical/multipass#1995.
Suggested action: keep open
Reason: Maintainer-authored enhancement carrying the Status: Triaged label, and the code confirms it is still open: installer.py retains `time.sleep(20)` with the comment '# We need a better way to detect this: .../issues/796', plus a second 20s sleep in _install_darwin(), and git log shows no commit removing them. The remedy is well-scoped and mostly pre-existing — Multipass.wait_until_ready() (multipass.py:460) already polls `multipass version` with RETRY_WAIT, matching @lengau's suggested 'iterative run of multipass list' approach; the residual work is making version() tolerate non-zero exits. Impact is moderate rather than severe (a first-install-only delay and flakiness, as @lengau notes it 'should only happen once per machine'), and the open design dependency on canonical/multipass#1995 keeps it from being fully turnkey.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
45
Quick Win:
24
Complexity:
30
Confidence:
82
Actionability:
75
|
keep open | Enhancement: replace hardcoded 20s sleep after Multipass install with polling until multipassd is ready. TODO still in installer.py, triaged, but may be blocked by upstream canonical/multipass#1995. | |
| stealth/space-bunny-alpha |
Impact:
45
Quick Win:
23
Complexity:
33
Confidence:
93
Actionability:
76
|
keep open | Multipass installation still has fixed 20-second waits before daemon-dependent commands. This triaged enhancement proposes readiness polling but remains unimplemented. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
60
Quick Win:
42
Staleness:
75
Complexity:
30
Confidence:
70
Support Request:
10
|
keep open | Enhancement to replace hardcoded 20-second sleep with reliable polling for Multipass daemon startup after installation. Triaged but inactive for over a year. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
20
Confidence:
80
Support Request:
5
|
keep open | Enhancement to replace hardcoded 20-second sleep with a reliable polling mechanism for Multipass daemon startup. Triaged by maintainers, currently inactive for over a year. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
20
Confidence:
70
Support Request:
0
|
keep open | Enhancement to replace a hardcoded 20-second sleep with a reliable polling mechanism for Multipass daemon startup. Triaged but inactive for ~10 months. |
Update history
No update history recorded yet.
Related work
-
Blocked By:
multipass#1995
(confidence 75%)
Linked in the issue body as the upstream problem ('See: canonical/multipass/issues/1995'); @lengau noted 'We might be blocked by that issue', which is why the approach is still open.
Related issues
No related issues found above the similarity threshold.