Use link_or_copy instead of just hard-links for deb cache.
Metadata
Current evaluation
Merged a fix replacing hard-links with link_or_copy for the deb cache, enabling cross-filesystem caching and resolving Launchpad bug #1612813. Approved by @come-maiz with minimal code changes.
Suggested action: —
No scores available.
Issue body
This PR fixes LP: [#1612813](https://bugs.launchpad.net/snapcraft/+bug/1612813), making the cache work across filesystem boundaries.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix replacing hard-links with link_or_copy for the deb cache, enabling cross-filesystem caching and resolving Launchpad bug #1612813. Approved by @come-maiz with minimal code changes. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged change replacing hard-links with link_or_copy for the deb cache, resolving cross-filesystem cache failures (LP #1612813). Approved by @come-maiz. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes replacing hard-links with link_or_copy for the deb cache, resolving cross-filesystem boundary failures tracked in LP #1612813. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #677 playing with caching | snapcraft | merged | Merged caching implementation to resolve Launchpad bug #1593380. Approved by reviewers and passes CI. Modifies six files to cache apt downloads, reducing subsequent build times. |