repo: use persistent cache for fetching stage packages
Metadata
Current evaluation
PR #3110 (persistent cache for fetching stage packages) was closed unmerged with 0 reviews and 1 open maintainer question. Its dependency #3109 also closed unmerged; the feature was later delivered by merged PR #3585 (CRAFT-488) using host /var/lib/apt state.
Resolution: closed superseded
Reason: Closed without merging, leaving the 24h-expiry cache and purge/location questions in @cjp256's 2020-05-07 comment unanswered. The capability was later implemented differently by merged PR #3585, which replaced split stage APT state with the host apt cache for CRAFT-488.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | PR #3110 (persistent cache for fetching stage packages) was closed unmerged with 0 reviews and 1 open maintainer question. Its dependency #3109 also closed unmerged; the feature was later delivered by merged PR #3585 (CRAFT-488) using host /var/lib/apt state. | |
| stealth/space-bunny-alpha | — | closed stale | Closed unmerged after purging and cache-location questions were unresolved. Persistent stage-package caching was later implemented differently by merged PR #3585 in commit 0ae235a09. | |
| qwen/qwen3.6-35b-a3b | — | — | Proposed persistent caching for stage packages was closed without merging. Unresolved design questions regarding cache purging and location, alongside a lack of reviewer feedback, resulted in the changes being abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed and abandoned due to unresolved design questions regarding cache wiping options and storage location. |
Update history
No update history recorded yet.
Related work
-
Superseded By:
canonical/snapcraft#3585
(confidence 92%)
Merged PR delivering persistent apt state for stage packages (CRAFT-488) via a different design using host /var/lib/apt state.
-
Blocked By:
canonical/snapcraft#3109
(confidence 90%)
Stated prerequisite ('Depends on #3109'); the pcache decorator PR it relied on was itself closed unmerged after inactivity.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1113 repo: cache stage packages for faster future use. | snapcraft | closed | Closed unmerged in favor of #1122, which merged the stage-package caching and cleanbuild improvements as commit 20b422459. | |
| #1122 repo: cache stage packages for faster future use. | snapcraft | merged | Merged PR #1122 (20b422459), reusing cached stage packages and copying the apt cache into cleanbuild containers to fix LP #1661383. | |
| #118 packages/apt: use host state for apt cache (CRAFT-487) | craft-parts | merged | Merged PR #118 unified stage and host APT caches using /var/lib/apt, removed the update interface, and made stage package-list refresh a no-op. | |
| #3585 repo: use host state for apt cache (CRAFT-488) | snapcraft | merged | Merged #3585 via f817e34f2 (merge 0ae235a09), replacing split stage APT state with the host cache at /var/lib/apt for CRAFT-488. | |
| #1661383 stage package cache no longer working | snapcraft (launchpad) | closed | Stage-package cache reuse was restored: snapcraft PR #1122 (commit 20b422459, 'repo: cache stage packages for faster future use') merged, reusing cached debs and copying the apt cache into cleanbuild containers, closing LP #1661383. |