← Back to issue list

`snapcraft --shell` shouldn't run the lifecycle steps

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1823512
Type
issue
State
open
Author
~brlin
Labels
Created
Updated
Closed

Current evaluation

Bug report claiming `snapcraft --shell` runs lifecycle steps instead of dropping into the build environment shell. 7+ years old, 0 comments, no labels; the `--shell` flag was removed in the modern CLI and `snapcraft shell` now provides the requested behavior.

Suggested action: close stale

Reason: The issue is 2704 days old with 0 comments, no labels, and no maintainer interaction, and it targets the classic-era `--shell` global flag, which no longer exists in the current snapcraft CLI after the 7.x rewrite; the requested behavior (entering the build environment without running lifecycle steps) is now available via the `snapcraft shell` command, so the report is no longer applicable. Confidence is moderate because repo tools were unavailable to verify the current CLI surface directly.

Impact: 15 Quick Win: 11.25 Staleness: 95 Complexity: 25 Confidence: 60 Support Request: 10

Issue body

Bug reproduce instructions -------------------------- 1. Run `snapcraft --shell` without specifying lifecycle step commands Expected behavior ----------------- Snapcraft stops in the build environment shell without running any of the lifecycle steps Current behavior ---------------- Snapcraft runs most of the lifecycle steps excluding the `pack` step

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 11.25
Staleness: 95
Complexity: 25
Confidence: 60
Support Request: 10
close stale Bug report claiming `snapcraft --shell` runs lifecycle steps instead of dropping into the build environment shell. 7+ years old, 0 comments, no labels; the `--shell` flag was removed in the modern CLI and `snapcraft shell` now provides the requested behavior.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 85
Support Request: 5
close stale Bug report claiming `snapcraft --shell` runs lifecycle steps instead of dropping into a shell. The issue is over 7 years old with zero comments or maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 5
close stale snapcraft --shell unexpectedly executes lifecycle steps instead of immediately dropping into a build environment shell. Untriaged, inactive for over 7 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 25
Confidence: 80
Support Request: 5
close stale `snapcraft --shell` runs lifecycle steps instead of dropping into a build shell. The report is over 7 years old, has no maintainer interaction, and likely reflects obsolete behavior given major CLI and lifecycle changes in recent snapcraft versions.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 30
Confidence: 80
Support Request: 10
close stale snapcraft --shell flag incorrectly executes lifecycle steps instead of dropping directly into a build shell. The report has been inactive for over 7 years with no maintainer feedback or labels.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1848732 --shell does not make snapcraftctl available snapcraft (launchpad) open 2019 report that `snapcraft pull --use-lxd --shell` leaves `snapcraftctl` unavailable in the LXD shell. No labels, comments, or maintainer activity for about 6 years. snapcraft 2.x/3.x removed snapcraftctl, so the report is outdated.
70%