← Back to issue list

Remote part always considered 'pull step changed' after modifying files in local tree

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1804067
Type
issue
State
closed
Author
~brlin
Labels
—
Created
Updated
Closed

Current evaluation

Remote-part pull invalidation was not fixed; support for remote parts in base-based projects was later removed by PR #2304 (commit 06532fe0c).

Resolution: closed stale

Reason: No resolving fix or maintainer explanation was found. Commit 06532fe0c removed remote-part support for base-based projects, making the reported behavior obsolete.

Evaluated by: mr-cal-bot

No scores available.

Issue body

I'm using the `ccache` remote part to speed up parts building by making other parts depend on it, however, I noticed that despite the remote part isn't changed at all snapcraft frequently consider its 'pull step changed' and as a result cleaning all the depending part and start building them from pull step again, which is not ideal. I would expect snapcraft to check the remote part's content before deciding if it is out of date.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale Remote-part pull invalidation was not fixed; support for remote parts in base-based projects was later removed by PR #2304 (commit 06532fe0c).
stealth/space-bunny-alpha — closed stale Closed without a documented fix; no resolving PR or commit was identified in the available records.
stealth/space-bunny-alpha — closed stale Closed without a documented fix; this 2017 report that remote parts were repeatedly treated as changed, triggering unnecessary dependency rebuilds, received no comments or resolution.
qwen/qwen3.6-35b-a3b — — Incorrect remote part change detection causing unnecessary rebuilds was closed without resolution. No comments or fixes were provided.
qwen/qwen3.6-35b-a3b — — Closed without resolution, likely abandoned due to inactivity. The report described a snapcraft bug where local file modifications incorrectly triggered a ccache remote part rebuild, causing unnecessary dependent part cleanups.
qwen/qwen3.6-35b-a3b — — Remote parts were incorrectly marked as changed after local file modifications, causing unnecessary rebuilds. The report was closed without comments or resolution, indicating it was abandoned. No fix was implemented.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The report described snapcraft incorrectly marking remote ccache parts as changed after local modifications, triggering unnecessary rebuilds. No fix or discussion was provided.

Update history

Date Change
created

Related work

  • Superseded By: canonical/snapcraft#2304 (confidence 90%)

    The project loader removed remote-part support for bases, eliminating the behavior reported.

Related issues

Issue Project State Summary Similarity
#2027 Properly crawl tree of remote parts snapcraft closed Closed without a recorded fix or discussion. Remote-part support was later removed for corebase projects in PR #2304 (commit 06532fe0c), leaving the reported dependency-crawling limitation unaddressed.
70%
#2304 project loader: remove remote parts support for bases snapcraft merged Merged PR #2304 as commit 06532fe0c, removing remote-part support for bases, rejecting invalid `after` parts, and dropping the update/search/define CLI commands.
70%