← 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

Enhancement to handle mounting nonexistent directories gracefully during start, preventing start failures. Triaged but inactive for 360 days.

Suggested action: keep open

Reason: The issue is a valid enhancement that has been triaged but remains inactive for 360 days. It addresses a real problem (start failures due to nonexistent directories) and hasn't been implemented elsewhere or rejected. The current code has some error handling for mount failures in _mount_shared_cache_dirs, but this enhancement could improve robustness further.

Impact: 50 Quick Win: 37.5 Staleness: 75 Complexity: 25 Confidence: 70 Support Request: 15

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
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 37.5
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 30
Confidence: 80
Support Request: 5
keep open Enhancement to unmount host directories that do not exist before starting, preventing start failures. Currently triaged but inactive for 290 days with no progress or assignee.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.