parts: fix long recursion when verifying dirty steps
Metadata
Current evaluation
Merged #3675 (commit 2dad0d960), updating craft-parts to 1.4.2 to eliminate long dirty-step verification loops and improving managed-container output.
Resolution: closed resolved
Reason: The PR was merged as commit 2dad0d960. Its craft-parts 1.4.2 update incorporated canonical/craft-parts#192, which cached dirty reports to reduce recursion.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Update craft-parts to version 1.4.2 to fix long loops blocking the
sequencer in projects with many dependency-chained parts (such
as gnome-sdk). Fix verbosity levels in the managed containers
to display craft-parts debug messages. Pause the emitter during
execution and redirect output streams to improve output readability.
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
CRAFT-975
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #3675 (commit 2dad0d960), updating craft-parts to 1.4.2 to eliminate long dirty-step verification loops and improving managed-container output. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #3675 (commit 2dad0d960), updating craft-parts to 1.4.2 to stop long dirty-step recursion and improve managed-container debug output. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #3675, updating craft-parts to v1.4.2 to fix long dirty-step verification loops blocking projects with dependency-chained parts; logging and output handling were also improved. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in 2dad0d960: updated craft-parts to 1.4.2 to fix dirty-step recursion loops; improved verbosity, emitter pausing, and output redirection. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged. Updates craft-parts to v1.4.2, resolving long recursion loops that blocked the sequencer in dependency-chained projects. Improves verbosity handling and output redirection. Approved by reviewer and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update to craft-parts v1.4.2 resolving long recursion loops that blocked the sequencer in dependency-chained parts. Also improved verbosity handling and output redirection. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-parts#192
(confidence 98%)
Upstream fix merged as bac1b029 with implementation commit 88f1090b and released in craft-parts 1.4.2.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #23 states: add dirty step verification | craft-parts | merged | Merged dirty-step verification: steps rerun when state properties/options change or dependencies require execution (craft-parts#23, ca487581). | |
| #194 Release 1.4.2 | craft-parts | merged | craft-parts 1.4.2 was merged via #194, fixing craftctl error handling and excessive recursion during dirty-step verification. | |
| #3636 parts: integrate craft-parts (CRAFT-765) | snapcraft | merged | Merged as ae8467056, integrating craft-parts for project-part validation and parts lifecycle processing (CRAFT-765). |