cli, parts: support --debug
Metadata
Current evaluation
Merged #224 in commit ffb57d58, adding --debug support so lifecycle failures open a Snapcraft-style shell before the error propagates.
Resolution: closed resolved
Reason: PR canonical/rockcraft#224 was merged as commit ffb57d58 after approval by two reviewers. It added --debug handling across the CLI and parts lifecycle code.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The implementation mimics Snapcraft's: if a lifecycle step fails, run a shell before propagating the error out.
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #224 in commit ffb57d58, adding --debug support so lifecycle failures open a Snapcraft-style shell before the error propagates. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged CLI and parts support for --debug, using a Snapcraft-style shell after lifecycle failures before propagating errors. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged CLI and parts --debug support, opening a shell after lifecycle-step failures before propagating the error. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #224 (commit ffb57d58), adding --debug support to open a shell on lifecycle-step failure before propagating the error, matching Snapcraft. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #224 added --debug support to the CLI and parts, launching an interactive shell on lifecycle-step failure before propagating the error, matching Snapcraft. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #224 added --debug support, opening an interactive shell on lifecycle-step failures before propagating errors, following Snapcraft's approach. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after two approvals and passing CI. Adds a --debug flag to the CLI and parts module that spawns an interactive shell on lifecycle step failures before propagating errors, mirroring Snapcraft's implementation. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation adding --debug to the CLI and parts. Drops into an interactive shell upon lifecycle step failure before propagating the error, mirroring Snapcraft's behavior. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #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. | |
| #1782770 Add --debug for lifecycle steps | snapcraft (launchpad) | closed | Closed as stale after no activity. Debug-shell support was later implemented in canonical/snapcraft#2252 (commit 3410ec32d). | |
| #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. | |
| #1609803 snapcraft cleanbuild --no-clean-up | snapcraft (launchpad) | closed | Cleanbuild debugging landed in snapcore/snapcraft PR #740 (commit a24083e75); follow-up PR #1404 made --debug enter a shell when builds fail. |