← Back to issue list

fix: use the same cache directory in providers

View original Github issue

Metadata

Project
charmcraft
Number
#2046
Type
pull request
State
merged
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #2046 (commit 73a7996a), unifying provider cache directories so snap XDG_CACHE_DIR no longer overrides /root/.cache; fixes #1993.

Resolution: closed resolved

Reason: PR #2046 was approved and merged as commit 73a7996a. It fixes #1993 by making the provider and snap cache directories consistent.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Without this, the snap's `XDG_CACHE_DIR` environment variable will override the use of `/root/.cache` for caching in a provider. Work around this by just making them the same directory. Fixes #1993 CRAFT-3698

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #2046 (commit 73a7996a), unifying provider cache directories so snap XDG_CACHE_DIR no longer overrides /root/.cache; fixes #1993.
stealth/space-bunny-alpha — closed resolved Unified provider cache directories so snap XDG_CACHE_DIR no longer overrides /root/.cache, fixing #1993; merged in #2046 as commit 73a7996a.
qwen/qwen3.6-35b-a3b — — Merged a fix aligning provider cache directories with the snap's XDG_CACHE_DIR to prevent /root/.cache overrides. Approved by two reviewers and resolves issue #1993.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix standardizing the cache directory across providers to prevent the snap's XDG_CACHE_DIR from overriding /root/.cache. Resolves #1993.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/charmcraft#1993 (confidence 100%)

    PR #2046 explicitly fixes #1993, which was subsequently closed.

Related issues

No related issues found above the similarity threshold.