refactor: migrate kernel_build
Metadata
Current evaluation
Merged refactor migrating kernel_build from snapcraft_legacy to modern linting and type-checking standards. Approved by reviewers. CI failures were pre-existing and unrelated. The module is slated for deletion in a future feature branch.
Suggested action: —
No scores available.
Issue body
Migrates the _kernel_build module from snapcraft_legacy and makes it compliant with modern linting and type-checking.
Review by commit if you want to see my manual changes.
(SNAPCRAFT-1332)
---
- [x] I've followed the [contribution guidelines](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md).
- [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/).
- [x] I've successfully run `make lint && make test`.
- [ ] I've added or updated any relevant documentation.
- [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing.
- [ ] I've updated the relevant release notes.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged refactor migrating kernel_build from snapcraft_legacy to modern linting and type-checking standards. Approved by reviewers. CI failures were pre-existing and unrelated. The module is slated for deletion in a future feature branch. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Squash merged a refactor migrating _kernel_build from snapcraft_legacy to meet modern linting and type-checking. Manual spread tests confirmed a clean refactor. The module will be deleted in the feature/kernel-initrd-plugin branch. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Squashed merge of a refactor migrating _kernel_build from snapcraft_legacy to meet modern linting and type-checking. Tests confirmed a clean refactor, though the module is slated for deletion on a separate branch. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #6228 refactor: migrate sign-build command | snapcraft | merged | Merged refactoring PR that migrates the sign-build command out of the legacy codebase (SNAPCRAFT-1320). Approved by two reviewers and integrated after a lint failure was resolved in a separate PR. |