Destructive mode runs should fail if the project's base doesn't match the host environment
Metadata
Current evaluation
Destructive lifecycle builds now fail when the build plan base is incompatible with the host; fixed by merged PR #263 (commit b916620e).
Resolution: closed resolved
Reason: PR #263 was merged as commit b916620e and explicitly fixes #154. It adds lifecycle checks that raise an incompatibility error instead of building on an unsupported host base.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Fail early with a good error message if the application is running a lifecycle command in destructive mode and the build plan is incompatible with the running environment (for example, running in Arch Linux)
### Why it needs to get done
The current behavior is to... pretend it worked? It might actually "work" depending on the project, but at best the built artifact will contain nonsense.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Destructive lifecycle builds now fail when the build plan base is incompatible with the host; fixed by merged PR #263 (commit b916620e). | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #263 (b916620e), which prevents destructive builds when the project's base is incompatible with the host. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned without implementation. The requirement to validate host-environment compatibility during destructive mode runs and fail with a clear error remains unaddressed. | |
| qwen/qwen3.6-35b-a3b | — | — | The feature request was abandoned and closed without implementation. After a single maintainer comment, the issue saw no further activity for over 100 days and was likely closed due to inactivity. No fix was applied. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-application#263
(confidence 100%)
Merged resolution titled "don't build on incompatible bases"; the PR references and fixes issue #154.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #263 feat(lifecycle)!: don't build on incompatible bases | craft-application | merged | Merged PR #263 (b916620e) added lifecycle checks preventing destructive builds when the stored BuildInfo base is incompatible with the host; it fixes #154. |