← Back to issue list

repo: use persistent cache for fetching stage packages

View original Github issue

Metadata

Project
snapcraft
Number
#3110
Type
pull request
State
closed
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

It several seconds for the apt cache to to be updated and several more to re-verify the hashes of archives that were already fetched. It may even take minutes depending on performance and how many stage-packages are being requested. Set results to expire in 24 hours as the apt packages should be refreshed periodically, particularly staged packages. Depends on #3109

Evaluation history

Date Model Scores Action Summary
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.
qwen3.6-35b-a3b-mtp-q6 Closed without merging due to unresolved design questions regarding cache wiping and directory location. The persistent cache implementation for stage packages was abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1113 repo: cache stage packages for faster future use. snapcraft closed Superseded by pull request #1122. The stage package caching changes were abandoned in favor of an alternative implementation to improve build performance and cleanbuild compatibility.
77%
#1122 repo: cache stage packages for faster future use. snapcraft merged Merged to fix Snapcraft ignoring cached stage packages. The implementation uses fetch_binary for reliable retrieval and copies the cache into cleanbuild containers for robustness. Approved by two reviewers.
72%
#1663365 Stage package fetching progress is useless snapcraft (launchpad) closed Closed without resolution. The stage package fetching progress issue, caused by fetch_archives() filename mangling breaking cache lookups, was abandoned. No fix or alternative implementation was developed.
70%