fix: missing base information in the .rock metadata file
Metadata
Current evaluation
Fixed in merged PR #46 (commit 24fb822f), adding base and base-digest fields and annotations to .rock metadata.
Resolution: closed resolved
Reason: PR #46 added the missing base name and base-digest metadata and annotations. It was merged as commit 24fb822f, resolving the report.
Evaluated by: mr-cal-bot
No scores available.
Issue body
https://github.com/canonical/rockcraft/blob/1209dd9a14d3fb43e2b2931ab27a0e7c8388a6b9/rockcraft/project.py#L124
we're missing both the `base-digest` (and respective annotation) and `base`
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed in merged PR #46 (commit 24fb822f), adding base and base-digest fields and annotations to .rock metadata. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in merged PR #46 (commit 24fb822f), adding the base name and base-digest fields and annotations to the .rock metadata. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as fixed after merging a change that adds the missing base and base-digest fields with annotations to the .rock metadata file. | |
| qwen/qwen3.6-35b-a3b | — | — | Missing base and base-digest fields in the .rock metadata file were fixed. Closed after the resolution was implemented, ensuring correct base information and annotations are included in generated metadata. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed missing base and base-digest fields in the .rock metadata file. Updated rockcraft/project.py to correctly generate both values and their annotations, resolving the issue. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | The missing base and base-digest fields in the .rock metadata were fixed. The issue was closed after updating the code to include the required base information and annotations. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/rockcraft#46
(confidence 100%)
Merged PR #46 added base metadata in commit 24fb822f.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #46 Issues/45/add base metadata | rockcraft | merged | Merged PR #46 (commit 24fb822f), adding base name and digest to ROCK metadata and recording the digest in labels/annotations; fixes #45. | |
| #1131 fix: remove base.digest for bare-based rocks | rockcraft | merged | Merged PR #1131 (commit b3d29d12) by external contributor zhijie-yang: project.py now only emits base-digest metadata and the OCI org.opencontainers.image.base.digest annotation when base != 'bare'. Shipped in rockcraft 1.17.2. | |
| #1401 fix: prefix base digest with sha256 in OCI annotation and rock metadata | rockcraft | open | Prefixes base-image digests with sha256: in the OCI annotation and /.rock/metadata.yaml; tests are updated and the PR awaits maintainer review. |