← Back to issue list

rockcraft insists on rebuilding part that has not changed

View original Github issue

Metadata

Project
rockcraft
Number
#812
Type
issue
State
open
Author
nicolasbock
Labels
Created
Updated
Closed

Current evaluation

Rockcraft rebuilds the mariadb part when the unrelated scripts part changes, despite no dependency between them. Reported 565 days ago with no maintainer response, labels, or activity; the rebuild logic lives in craft-parts, not rockcraft.

Suggested action: needs triage

Reason: No labels, no maintainer comments, and no activity for 565 days, so it has never been triaged. The root cause is likely in craft-parts' dirty-state logic (state_manager), which I could not confirm as fixed via commit search, so it should be triaged rather than closed as stale.

Impact: 50 Quick Win: 15.0 Staleness: 90 Complexity: 70 Confidence: 55 Support Request: 10

Issue body

### Bug Description Using these `rockcraft.yaml` parts: ```yaml patches: plugin: dump source: . mariadb: after: - patches plugin: cmake source: https://github.com/MariaDB/server.git source-type: git source-tag: mariadb-10.5.28 build-packages: - bison - ccache - gnutls-dev - libncurses5-dev - zlib1g-dev scripts: plugin: dump source: https://github.com/MariaDB/mariadb-docker.git source-type: git override-build: | ls -lh install -D --mode 0755 10.5/docker-entrypoint.sh ${CRAFT_PART_INSTALL}/usr/bin/docker-entrypoint.sh install -D --mode 0755 10.5/healthcheck.sh ${CRAFT_PART_INSTALL}/usr/bin/healthcheck.sh ``` When I make any changes to the `scripts` part, the `mariadb` part is rebuilt. As far as I can tell, there is no dependency between `scripts` and `mariadb` that could invalidate `mariadb` in this scenario. ### To Reproduce See the `rockcraft.yaml` snippet. ### Environment Ubuntu 24.10 ### rockcraft.yaml ```yaml name: mariadb base: ubuntu@24.04 version: "10.5" summary: MariaDB database server and client description: | MariaDB is a fast, stable and true multi-user, multi-threaded SQL database server. SQL (Structured Query Language) is the most popular database query language in the world. The main goals of MariaDB are speed, robustness and ease of use. platforms: amd64: parts: patches: plugin: dump source: . mariadb: plugin: cmake source: https://github.com/MariaDB/server.git source-type: git source-tag: mariadb-10.5.28 build-packages: - bison - ccache - gnutls-dev - libncurses5-dev - zlib1g-dev scripts: plugin: dump source: https://github.com/MariaDB/mariadb-docker.git source-type: git override-build: | ls -lh install -D --mode 0755 10.5/docker-entrypoint.sh ${CRAFT_PART_INSTALL}/usr/bin/docker-entrypoint.sh install -D --mode 0755 10.5/healthcheck.sh ${CRAFT_PART_INSTALL}/usr/bin/healthcheck.sh ``` ### Relevant log output ```shell N/A ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 50
Quick Win: 15.0
Staleness: 90
Complexity: 70
Confidence: 55
Support Request: 10
needs triage Rockcraft rebuilds the mariadb part when the unrelated scripts part changes, despite no dependency between them. Reported 565 days ago with no maintainer response, labels, or activity; the rebuild logic lives in craft-parts, not rockcraft.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 50
Confidence: 75
Support Request: 15
needs triage Unlabelled bug report from over 14 months ago describing unintended rebuilds of unrelated parts in rockcraft. Zero maintainer comments or labels. Requires assessment to verify current relevance and reproduce.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 80
Support Request: 10
needs triage Unlabeled issue reporting that modifying the scripts part triggers an unnecessary rebuild of the mariadb part in rockcraft. Open for 510 days with no maintainer response or comments.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 35
Confidence: 75
Support Request: 10
close stale Rockcraft rebuilds the mariadb part when unrelated scripts part changes, despite no after dependency. Unlabeled, inactive for 507 days with zero maintainer response or reproduction steps.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 60
Confidence: 90
Support Request: 10
needs triage Modifying the scripts part incorrectly triggers a rebuild of the unrelated mariadb part in rockcraft despite no declared dependencies. The report remains open with zero comments and over a year of inactivity, awaiting triage and assignment.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.