← Back to issue list

Warn when multiple core22 snaps will be built in destructive mode

View original Github issue

Metadata

Project
snapcraft
Number
#4685
Type
issue
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Added the destructive-mode warning for multiple core22 builds via #4839 (commit 67de4083f), included in Snapcraft 8.3.0.

Resolution: closed resolved

Reason: PR #4839 was merged as commit 67de4083f and added a warning when multiple snaps would share one environment. The changelog identifies #4685 as the resolved issue.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done If snapcraft is running in destructive mode, is building for `core22`, and the build plan contains multiple items, then a warning should be issued. ### Why it needs to get done `core22` snaps can build multiple snaps in `--destructive-mode`. This may cause many subtle issues, like when cross-compiling or staging packages for different architectures. This behavior was never intended and should be discouraged.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Added the destructive-mode warning for multiple core22 builds via #4839 (commit 67de4083f), included in Snapcraft 8.3.0.
stealth/space-bunny-alpha — closed resolved Implemented the destructive-mode warning for multiple core22 builds in merged PR #4839 (commit 67de4083f), released in Snapcraft 8.3.0.
stealth/space-bunny-alpha — closed resolved Implemented the destructive-mode warning for multiple core22 builds in merged PR #4839 (commit 67de4083f), released in Snapcraft 8.3.0.
qwen/qwen3.6-35b-a3b — — Closed without implementation. No fixes or pull requests were merged, indicating the request was abandoned.
qwen/qwen3.6-35b-a3b — — Closed after an internal Jira ticket (CRAFT-2627) was created to track the request. No warning implementation was added, indicating the feature was abandoned or deferred indefinitely.
qwen/qwen3.6-35b-a3b — — Closed and superseded by internal Jira ticket CRAFT-2627. The request to warn on multiple core22 builds in destructive mode was moved to internal tracking without a public fix.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The request to warn when building multiple core22 snaps in destructive mode was abandoned, with no implementation or follow-up pull request.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#4839 (confidence 100%)

    Merged commit 67de4083f added the requested multiple-build warning.

Related issues

Issue Project State Summary Similarity
#4356 Handle multi-arch builds in destructive mode snapcraft closed Core22 destructive mode now warns when multiple snaps share build state; merged in PR #4839 (67de4083f) and released in Snapcraft 8.3.0.
87%
#4839 feat: warn when multiple snaps will be built in the same environment snapcraft merged Merged PR #4839 (commit 67de4083f) added a core22 warning for multiple snaps sharing a destructive-mode build environment, fixing #4685 and #4356.
82%
#5427 Add a deprecation notice for building core22 snaps with the legacy remote builder snapcraft closed Added the core22 legacy remote-builder deprecation warning in Snapcraft 8.10 via merged PR #5523 (commit 1d8e87486).
72%