feat(parts): capture error message from scriptlets
Metadata
Current evaluation
Closed unmerged; commit 1b44db714 later made the equivalent Craft Parts 2.1.0 bump, delivering scriptlet stderr capture through canonical/craft-parts#897.
Resolution: closed superseded
Reason: PR #5203 received no reviews, CI, or comments and was closed unmerged. Commit 1b44db714 subsequently performed the Craft Parts 2.1.0 update; upstream canonical/craft-parts#897 split stderr for improved error presentation.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Update Craft Parts to a version that captures stderr from scriptlet execution.
- [ ] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox run -m lint`?
- [ ] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Closed unmerged; commit 1b44db714 later made the equivalent Craft Parts 2.1.0 bump, delivering scriptlet stderr capture through canonical/craft-parts#897. | |
| stealth/space-bunny-alpha | — | closed stale | Snapcraft PR #5203 proposed a Craft Parts update to capture scriptlet stderr, but closed unmerged; no reviews or CI checks were recorded. | |
| qwen/qwen3.6-35b-a3b | — | — | Updating Craft Parts to capture scriptlet stderr was closed without merging. With no reviews or CI checks completed, the modification was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned without merging. The proposed update to Craft Parts for capturing scriptlet stderr received no review or follow-up activity. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-parts#897
(confidence 96%)
Upstream split scriptlet stderr for better error reporting, enabling the behavior requested by the Snapcraft dependency update.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #939 Capture error in step scriptlet execution | craft-parts | closed | Step scriptlet stderr is now captured and surfaced. Maintainer cmatsuoka closed the issue on 2025-01-24 with "Fixed in #966", PR #966 (commit 49cde073) merged and released in craft-parts 2.3.0 (2025-01-20). | |
| #4372 Error messages when running scriplets make debugging failures difficult | snapcraft | closed | Scriptlet failures reported unrelated line numbers and untransformed errors. Fixed via craft-parts#966 (49cde073) and #897 (5bbd983e), shipped in Snapcraft 8.6; author confirmed closure in Feb 2025. |