rockcraft insists on rebuilding part that has not changed
Metadata
Current evaluation
Rockcraft rebuilds the unchanged mariadb part after scripts changes despite no declared dependency; the report remains open, unlabeled, and untriaged.
Suggested action: needs triage
Reason: The manifest gives a clear scenario: mariadb depends only on patches, while scripts is independent, yet changing scripts triggers mariadb's rebuild. However, the issue has no labels, maintainer response, build log, or Rockcraft version identifying the invalidation path, so a maintainer must reproduce and diagnose it.
Evaluated by: mr-cal-bot
Impact:
45
Quick Win:
13
Complexity:
55
Confidence:
88
Actionability:
64
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
45
Quick Win:
13
Complexity:
55
Confidence:
88
Actionability:
64
|
needs triage | Rockcraft rebuilds the unchanged mariadb part after scripts changes despite no declared dependency; the report remains open, unlabeled, and untriaged. | |
| qwen/qwen3.6-35b-a3b |
Impact:
35
Quick Win:
14
Complexity:
45
Confidence:
60
Actionability:
75
|
needs triage | Rockcraft rebuilds unrelated part when another part changes, despite no dependency between them. Open with no labels or maintainer response. | |
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
15
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. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.