recording: record information from the image in container builds
Metadata
Current evaluation
Merged after reviewer feedback on LXD parsing. Records container image metadata during builds using json output with a fallback warning for older LXD versions, replacing an initial YAML approach. Updated 7 files.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Closes #1628
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after reviewer feedback on LXD parsing. Records container image metadata during builds using json output with a fallback warning for older LXD versions, replacing an initial YAML approach. Updated 7 files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation recording container image metadata during builds. After reviewer feedback on LXD compatibility and YAML styling, the code parses lxc image info as YAML. Closes #1628. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implemented container image recording for builds by parsing lxc image info as YAML. Adjusted formatting to match project standards after reviewer feedback. Resolved minor YAML alignment disagreements and closed issue 1628. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1997 lxd: merge existing image info contents | snapcraft | merged | Merged. The change adds functionality to combine SNAPCRAFT_IMAGE_INFO with LXD container metadata in manifest.yaml. Review identified a separate architecture detection bug, tracked as LP: #1760857, which was resolved independently. |