packages: improve chisel error handling
Metadata
Current evaluation
Merged PR #335 as commit 905f913d, capturing chisel cut output and raising a specific ChiselError with the short error message.
Resolution: closed resolved
Reason: PR #335 was merged as commit 905f913d. The change captures logged chisel cut output and raises ChiselError with the first short :: error: message.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Capture the output of 'chisel cut' to add the (short) error message to the generated exception, which is now a more specific ChiselError.
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
CRAFT-1499
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #335 as commit 905f913d, capturing chisel cut output and raising a specific ChiselError with the short error message. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #335 (905f913d) to capture chisel cut output in a new ChiselError exception containing the short error message. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and CI checks. Captures chisel cut output to include error messages in a new ChiselError exception, resolving CRAFT-1499. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes that improve chisel error handling by capturing 'chisel cut' output and raising a specific ChiselError exception. Resolves CRAFT-1499. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #316 Chisel error messages are begin supressed | craft-parts | closed | Fixed in merged PR #335 (commit 905f913d): failed Chisel cuts now raise ChiselError with the underlying error message instead of a generic non-zero exit status. | |
| #98 Chisel documentation | rockcraft | merged | Merged PR #98 as commit 3a87e663, adding Chisel explanations and a parts reference, updating the RTD template, and closing issue #89. | |
| #625 ci: update chisel (#622) | craft-parts | merged | Merged PR #625 as 472c0d14, cherry-picking #622 (b063ca96) to update CI Chisel to v0.8.1 and restore compatibility with newer chisel-releases changes. | |
| #127 fix: pin the commit of the bundled chisel | rockcraft | merged | Merged PR #127, adding a one-line pin for the bundled Chisel commit; landed as commit 26854aca. | |
| #622 chore(ci): update chisel | craft-parts | merged | Merged PR #622 updated CI to Chisel v0.8.1, avoiding incompatibility with newer chisel-releases; the change landed as commit b063ca96. |