Add --debug for lifecycle steps
Metadata
Current evaluation
Closed as stale after no activity. Debug-shell support was later implemented in canonical/snapcraft#2252 (commit 3410ec32d).
Resolution: closed stale
Reason: Launchpad closed the request after roughly eight years without comments or an implementation, so it was abandoned as stale. Support was later added in canonical/snapcraft#2252, commit 3410ec32d.
Evaluated by: mr-cal-bot
No scores available.
Issue body
This should shell into the environment if an error occurs.
The working directory should be that of the step for the part that failed to run.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as stale after no activity. Debug-shell support was later implemented in canonical/snapcraft#2252 (commit 3410ec32d). | |
| stealth/space-bunny-alpha | — | closed stale | Abandoned as stale with no comments; provider debug-shell support was later implemented by canonical/snapcraft#2252 (commit 3410ec32d). | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned. No comments or implementation followed the request to add a --debug flag for lifecycle steps. The feature remains unaddressed. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned. The requested --debug flag to shell into failed lifecycle steps was never implemented. | |
| qwen/qwen3.6-35b-a3b | — | — | Adding a --debug flag to shell into the environment on lifecycle step failures was closed. With zero comments and no activity, the feature request was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation or discussion. The proposed --debug flag for lifecycle steps was abandoned and never merged or superseded. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
canonical/snapcraft#2252
(confidence 95%)
Later implemented the requested lifecycle debug-shell behavior.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1782769 Add --debug for lifecycle steps | snapcraft (launchpad) | closed | Implemented provider debug-shell support in canonical/snapcraft#2252 (commit 3410ec32d), linked by the maintainer as the resolution for lifecycle-step debugging. | |
| #1782773 Add --debug for lifecycle steps | snapcraft (launchpad) | closed | Merged snapcraft#3718 (e2ff471b9) added --debug to open a shell in the part build environment after lifecycle errors. | |
| #224 cli, parts: support --debug | rockcraft | merged | Merged #224 in commit ffb57d58, adding --debug support so lifecycle failures open a Snapcraft-style shell before the error propagates. | |
| #1782768 Add --shell for lifecycle steps | snapcraft (launchpad) | closed | Feature request closed by the author's own pointer to snapcraft PR #2254, which added --shell support to build providers (commit a24d398e4); companion --shell-after landed in PR #2253. | |
| #4959 `--debug` does not enter a shell for failures during post-prime or packing | snapcraft | closed | Fixed in Snapcraft 8.4.1: core24 --debug now opens a shell after post-prime or packing failures via craft-application PR #436 (ab55ec81). |