← Back to issue list

packages: improve chisel error handling

View original Github issue

Metadata

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

Current evaluation

Merged after approval and CI checks. Captures chisel cut output to include error messages in a new ChiselError exception, resolving CRAFT-1499.

Suggested action:

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
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 Chisel error message suppression in stage-packages was fixed and closed by pull request #335, restoring detailed error output during slice operations.
74%
#625 ci: update chisel (#622) craft-parts merged Merged a cherry-pick PR to update the chisel dependency and fix CI in a feature branch. Approved by two reviewers with passing checks, the change modified one file (+3/-1 lines) to resolve continuous integration failures.
72%
#1267 docs: Remove Chisel-related duplicated content rockcraft merged Merged documentation update removing outdated Chisel content and duplicated guides. Updated the Chisel-Rockcraft relationship explanation and fixed a custom slice installation placeholder. Addressed feedback by removing a flaky Spread test. Approved and merged despite minor CI warnings.
72%
#1368 feat(chisel): ignore unmaintained/unstable releases craft-parts merged Merged changes configuring chisel to ignore unmaintained or unstable releases, resolving #1159 and CRAFT-4636. Requires chisel >= 1.3.0. Approved by two reviewers with all CI checks passing across multiple platforms.
71%
#269 docs: create separate chisel documentation rockcraft merged Merged after two reviewer approvals and passing CI. The update established separate Chisel documentation. The author adjusted static asset paths to relative format per feedback, modifying four files.
71%
#679 docs: update chisel how-to guides rockcraft merged Merged update to chisel how-to guides adding the chisel find command and chisel-releases integration tests. Approved by reviewers and passed CI checks.
71%
#1367 Craft parts swallows chisel errors if logging level is info or higher craft-parts open Chisel slice install errors are swallowed when log level is info or higher, so users see no chisel output or error message. Triaged bug with an internal Jira ticket (CRAFT-4872); no fix or maintainer response yet.
71%
#642 ci: update Chisel version again craft-parts merged Merged an update to the Chisel dependency, upgrading from version 0.8.1 to 0.9.0 to support breaking changes in chisel-releases. Approved by two reviewers, passed CI, and modified a single line.
70%