← Back to issue list

feat: implement --shell, shell-after, --debug

View original Github issue

Metadata

Project
craft-application
Number
#81
Type
pull request
State
merged
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Merged into main, implementing --shell, shell-after, and --debug flags. Approved by two reviewers, passed CI checks, and increased test coverage by 0.05%. Resolves issue #58.

Suggested action:

No scores available.

Issue body

![rockcraft-pack-debug](https://github.com/canonical/craft-application/assets/1951299/6350d115-5b1c-4c38-ac96-54c546761908) Fixes #58

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged into main, implementing --shell, shell-after, and --debug flags. Approved by two reviewers, passed CI checks, and increased test coverage by 0.05%. Resolves issue #58.
qwen3.6-35b-a3b-mtp-q6 Merged into main, implementing --shell, shell-after, and --debug flags to resolve issue #58. The commit achieved 100% diff coverage, increasing overall coverage by 0.05%. A minor mypy failure was noted but did not block the merge.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#436 feat: support shell/shell-after and debug in 'pack' craft-application merged Merged following two approvals and passing CI. Introduces --shell and --shell-after flags to the pack command for build environment inspection, and improves --debug to activate on packing failures. Resolves #430.
80%
#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.
72%
#738 feat(test): add more spread interactions craft-application merged Merged after approval by two reviewers and passing CI. Adds --shell, --shell-after, and --debug lifecycle arguments to the test command, enabling specific test selection. Integrated with 441 additions across 12 files.
71%
#3904 tests: minor refactoring in shell/shell-after tests snapcraft merged Merged minor test refactoring that parametrizes expected results in shell/shell-after tests instead of computing them at runtime. Approved by one reviewer, passed CI, and modified 24/22 lines with no coverage impact.
71%