← Back to issue list

lifecycle: warn about bases

View original Github issue

Metadata

Project
snapcraft
Number
#2569
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Merged after resolving test failures and conflicting warning messages. Adds lifecycle warnings for snaps missing the base keyword or building on mismatched hosts. Approved and merged following local validation and code formatting.

Suggested action:

No scores available.

Issue body

LP: #1774012 Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after resolving test failures and conflicting warning messages. Adds lifecycle warnings for snaps missing the base keyword or building on mismatched hosts. Approved and merged following local validation and code formatting.
qwen3.6-35b-a3b-mtp-q6 Merged. Adds lifecycle warnings for projects missing a base keyword or targeting mismatched host OS versions. Fixed test failures and formatting. Warnings now include documentation links and host compatibility checks.
qwen3.6-35b-a3b-mtp-q6 Added lifecycle warnings for missing or mismatched snapcraft bases. Resolved test failures and formatting issues. Successfully merged after verifying alerts for unspecified bases and host OS mismatches.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#263 feat(lifecycle)!: don't build on incompatible bases craft-application merged Merged following reviewer approval and CI passes. Introduces a base compatibility check in the Lifecycle service to block builds on mismatched host OS environments, resolving issue #154.
73%
#5388 fix: don't fail when checking the base snapcraft merged Merged a fix preventing snapcraft from failing early during base checks. Enables user-friendly error reporting for incorrect bases. Approved by two reviewers and merged with 10 additions and 30 deletions across three files.
72%