← Back to issue list

Unmount nonexistent directories on start

View original Github issue

Metadata

Project
craft-providers
Number
#821
Type
issue
State
open
Author
lengau
Labels
Type: Enhancement Status: Triaged
Created
Updated
Closed
—

Current evaluation

Open, triaged enhancement to remove stale host-directory mounts before starting reused instances; missing-path validation is proposed, but the full decision rule remains unspecified.

Suggested action: keep open

Reason: The issue is explicitly labeled Status: Triaged and was opened by maintainer lengau; it identifies a concrete startup failure caused by stale mounts and proposes checking whether the host directory exists. No resolving PR or commit is reported, and the statement that how to decide is still unknown leaves design details to investigate rather than closing it.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 13 Complexity: 52 Confidence: 76 Actionability: 58

Issue body

### What needs to get done If mounting a directory would cause start to fail, we should unmount that directory before starting. How we decide that is still unknown, but we can begin with whether the host directory exists or not. ### Why it needs to get done See: https://forum.snapcraft.io/t/failed-start-validation-for-device-disk-tmp-craft-state/48474/9

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 13
Complexity: 52
Confidence: 76
Actionability: 58
keep open Open, triaged enhancement to remove stale host-directory mounts before starting reused instances; missing-path validation is proposed, but the full decision rule remains unspecified.
stealth/space-bunny-alpha
Impact: 55
Quick Win: 18
Complexity: 48
Confidence: 91
Actionability: 64
keep open Triaged enhancement to remove stale host-directory mounts before restarting reused instances when their source paths are missing; no resolving implementation was found.
stealth/space-bunny-alpha
Impact: 50
Quick Win: 15
Complexity: 55
Confidence: 89
Actionability: 65
keep open Open, triaged enhancement to unmount stale host-directory mounts before starting a reused instance; the initial validity check should cover a missing host path.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 38
Staleness: 75
Complexity: 25
Confidence: 70
Support Request: 15
keep open Enhancement to handle mounting nonexistent directories gracefully during start, preventing start failures. Triaged but inactive for 360 days.
qwen/qwen3.6-35b-a3b
Staleness: 75
Complexity: 40
Confidence: 85
Support Request: 5
keep open Enhancement to unmount directories on start if mounting fails. Triaged by maintainer, but inactive for over 315 days with no implementation progress or follow-up discussion.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 60
Confidence: 70
Support Request: 10
keep open Enhancement to unmount directories before start if mounting would fail, based on host directory existence. Triaged but inactive for 306 days with no implementation progress or design resolution.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.