← Back to issue list

remote_parts: Use hashed folder based on parts URI

View original Github issue

Metadata

Project
snapcraft
Number
#1856
Type
pull request
State
merged
Author
kalikiana
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in merged commit 5a0a8c075: remote-parts metadata now uses a folder hashed from the parts URI, preventing stale-cache collisions and fixing #1816.

Resolution: closed resolved

Reason: PR #1856 was merged as commit 5a0a8c075. Its URI-derived hashed storage prevents remote-parts metadata from different URIs colliding in the cache.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? ----- Fixes: #1816

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed in merged commit 5a0a8c075: remote-parts metadata now uses a folder hashed from the parts URI, preventing stale-cache collisions and fixing #1816.
stealth/space-bunny-alpha — closed resolved Merged PR #1856 as commit 5a0a8c075, keying remote-parts storage by a hash of the parts URI and resolving #1816.
stealth/space-bunny-alpha — closed resolved Merged #1856 (commit 5a0a8c075), making remote-parts storage use a hashed folder derived from the parts URI and fixing #1816.
qwen/qwen3.6-35b-a3b — — Merged after resolving issue #1816. Implements hashed folders based on parts URIs for remote parts, approved by two reviewers. Changes include 59 additions and 4 deletions across four files.
qwen3.6-35b-a3b-mtp-q6 — — Merged implementation of hashed folder generation based on parts URI for remote parts, resolving issue #1816. The change updates directory naming logic and was integrated into the main branch.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#1816 (confidence 100%)

    The merged PR explicitly states that it fixes the stale SNAPCRAFT_PARTS_URI cache issue.

Related issues

No related issues found above the similarity threshold.