cli, parts: support --debug
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged implementation adds --debug support to the CLI and parts. It launches an interactive shell on lifecycle step failures before propagating errors, mirroring Snapcraft's behavior. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3718 parts: run debug shell on build environment | snapcraft | merged | Merged. Adds debug, shell, and shell-after flags to launch a build environment shell during parts errors or to replace lifecycle steps. Approved by reviewer, rebased, and passed CI before integration. | |
| #3895 parts: allow debug shell after the lifecycle | snapcraft | merged | Merged into hotfix/7.1.4. Enables a debug shell after the parts lifecycle when packing errors occur. Approved and verified by the reporter, though a separate cmake fix may have also resolved the original issue. |