fix: don't mount cache directories in lxd base instances
Metadata
Current evaluation
PR #473 merged as commits 0089540 (main) and 163f560 (hotfix/1.19): added a mount_cache flag to BaseProvider.setup() and pass mount_cache=False when configuring LXD base instances, so cache mounts can't break copying.
Resolution: closed resolved
Reason: The PR itself was merged after review by two maintainers; the change is present in craft_providers/base.py (setup(mount_cache: bool = True)) and craft_providers/lxd/launcher.py which calls base_configuration.setup(executor=base_instance, mount_cache=False) with the comment that base instances must not mount cache dirs since deleting them would break instance copying.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | PR #473 merged as commits 0089540 (main) and 163f560 (hotfix/1.19): added a mount_cache flag to BaseProvider.setup() and pass mount_cache=False when configuring LXD base instances, so cache mounts can't break copying. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR #473 in craft-providers, fixing LXD base instances to avoid mounting cache directories, improving isolation and preventing conflicts. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/craft-providers#478
(confidence 60%)
Commit d7ec90f 'chore: merge hotfix/1.19 (#478)' merges the hotfix branch containing commit 163f560 of this PR.
Related issues
No related issues found above the similarity threshold.