`snapcraft pack` should run the lifecycle for core18|20 in Snapcraft 7
Metadata
Current evaluation
Closed for Snapcraft 7. Fixed in Snapcraft 8.11 via merged pull request #5425, enabling snapcraft pack to run the lifecycle for core18 and core20 bases.
Suggested action: —
No scores available.
Issue body
### What needs to get done
`snapcraft pack` for core18|20 should act like it does for newer bases:
* `snapcraft pack`: run the lifecycle
* `snapcraft pack <dir>`: run `snap pack` on a directory
### Why it needs to get done
The `snacraft pack` command only packs a directory for core18|20 snaps.
`snapcraft pack` needs to be consistent across all bases and to align with other *craft apps.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed for Snapcraft 7. Fixed in Snapcraft 8.11 via merged pull request #5425, enabling snapcraft pack to run the lifecycle for core18 and core20 bases. | |
| qwen/qwen3.6-35b-a3b | — | — | The enhancement to run the lifecycle for core18|20 bases in snapcraft pack was closed without backporting. The maintainer confirmed the feature was implemented in Snapcraft 8.11 via PR #5425, but declined to fix it in Snapcraft 7. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed for Snapcraft 7. The enhancement was implemented in Snapcraft 8.11 via pull request #5425, enabling snapcraft pack to run the lifecycle for core18 and core20 bases. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed for Snapcraft 7. The enhancement was implemented in Snapcraft 8.11 via pull request #5425, standardizing snapcraft pack lifecycle execution across all bases. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5425 `snapcraft pack` should run the lifecycle for core20 in Snapcraft 8 | snapcraft | closed | Abandoned. The enhancement to run the snapcraft pack lifecycle for core20 was triaged and synced to Jira but never implemented or merged. | |
| #5616 feat(snapcraft_legacy): pack command runs the lifecycle | snapcraft | merged | Merged squashed PR that aligns the core20 snapcraft pack command with core22 and core24 by running the lifecycle. Approved by three reviewers with all CI checks passing. Resolves #5425. | |
| #3981 commands, lifecycle: provide snapcraft try for core22 | snapcraft | merged | Merged. Adds snapcraft try support for core22 by mounting a host prime directory into the instance for lifecycle priming without packing. Approved by one reviewer, passed CI, and modified 8 files. | |
| #5675 Remove core20 lifecycle | snapcraft | closed | Merged in pull request #6019. Removed core20 lifecycle commands, spread tests, and plugin/extension references. Legacy components were retained for store compatibility. Prepares Snapcraft for version 9. | |
| #1939713 snapcraft init create base: core18 snap | snapcraft (launchpad) | closed | Closed without direct resolution, likely abandoned due to inactivity. Subsequent Snapcraft releases updated the init default to core20 and core22, effectively resolving the reported behavior. | |
| #5316 Snapd error `cannot set "core.experimental.snapd-snap"` when repacking a core20 snap | snapcraft | closed | Fixed in Snapcraft 8.12. The failure resulted from snapd 2.68.4 removing the core.experimental.snapd-snap flag. Snapcraft now conditionally applies the flag based on the snapd version, resolving the build error for core20 and core18 environments. |