Force order of entries in FilesystemMount
Metadata
Current evaluation
Closed without resolution. The enhancement to enforce FilesystemMount entry order and uniqueness was synced to Jira (CRAFT-4803) but shows no implementation or merge details, indicating it was deferred or abandoned.
Suggested action: —
No scores available.
Issue body
### What needs to get done
Implement a validator on `FilesystemMount` checking:
- the order of entries in based on depth of the `mount` value
- uniqueness of `mount` values
### Why it needs to get done
In the `filessystems` section (see Imagecraft project file), entries can currently be defined in an arbitrary order, as long as the first one maps to `/`. This is leading to configurations producing surprising results.
Enforce the following rules:
- Entries must be ordered in increasing depth.
- `mount` values must be unique (preventing 2 devices to be mounted at the same location)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The enhancement to enforce FilesystemMount entry order and uniqueness was synced to Jira (CRAFT-4803) but shows no implementation or merge details, indicating it was deferred or abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | The enhancement to enforce FilesystemMount entry ordering and uniqueness was closed without implementation. No fix or pull request was merged, indicating the request was abandoned or deferred. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The FilesystemMount ordering and uniqueness validation enhancement was abandoned after logging an internal Jira ticket (CRAFT-4803). No pull requests or code changes were submitted. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The enhancement requested validators to enforce depth-based ordering and uniqueness for FilesystemMount entries. Only an automated Jira sync comment was posted, with no fix or pull request merged. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1347 feat: Enforce filesystem mounts to be ordered in increasing mount nesting | craft-parts | merged | Merged. Enforces filesystem mounts to be ordered by increasing mount nesting, resolving #1342 and CRAFT-4803. Approved by three reviewers, passed all CI checks, and modified three files (+165/-13). |