Source checksum mismatch is confusing
Metadata
Current evaluation
Closed after checksum mismatch errors gained clearer part/source context in PR #1683, merged as commit 4efd5bd0.
Resolution: closed resolved
Reason: Commit 4efd5bd0 adds the failing part or source identity to checksum mismatch messages, with tests and changelog coverage, resolving the confusing attribution described in #355.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This error is not for "heif" but for the previous part, it makes it really hard to identify where the error comes from.
```
Launching instance...
Executed: pull heif
Expected digest 6f70a624d1321319d8269a911c4032f24950cde52e76f46e9ecbebfcb762f28c, obtained 93925805c1fc4f8162b35f0ae109c4a75344e6decae5a240afdfce25f8a433ec.
Failed to execute pack in instance.
Full execution log: '/home/sergiusens/.local/state/snapcraft/log/snapcraft-20230129-175344.550739.log'
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Closed after checksum mismatch errors gained clearer part/source context in PR #1683, merged as commit 4efd5bd0. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a documented code fix; CRAFT-2964 was created to track clearer source-checksum mismatch reporting. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and synced to internal Jira ticket CRAFT-2964. Abandoned without a direct fix, leaving the confusing checksum error message unaddressed. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
90
Complexity:
25
Confidence:
85
Support Request:
10
|
close stale | Reports confusing checksum mismatch error messages pointing to the wrong build step. Unlabeled and inactive for over three years with no maintainer engagement, likely superseded by refactored error handling. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
90
Complexity:
30
Confidence:
75
Support Request:
10
|
close stale | Confusing error message when source checksum mismatch occurs during pull step. Issue has been inactive for over a year with only an internal Jira sync noted. |
Update history
| Date | Change |
|---|---|
| closed |
Related work
-
Likely Fixed By:
canonical/craft-parts#1683
(confidence 98%)
Improve error message for checksum mismatch.
-
Likely Fixed By:
4efd5bd0
(confidence 98%)
Merged commit adding part or source context to checksum mismatch errors.
-
Related To:
CRAFT-2964
(confidence 90%)
The bot comment says this feedback was tracked internally as CRAFT-2964.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #619 Add source-checksum option | snapcraft | closed | Closed as inactive after review; source-checksum support was later delivered by merged PR #980 in commit 3e9c4d381. | |
| #1683 feat: improve error message for checksum mismatch | craft-parts | merged | PR #1683 by cmatsuoka merged (commit 4efd5bd0): checksum mismatch errors now put actual/expected digests in details, add a resolution entry, and name the failing part. Changelog entry added; closes issue #355. |