fix(sequencer): rerun steps only if explicitly requested
Metadata
Current evaluation
Merged PR #727 as commit 9182585f, making steps clean and rerun only when explicitly requested by the application; fixes canonical/snapcraft#4806.
Resolution: closed resolved
Reason: PR #727 was approved and merged into the 2.0 branch. Commit 9182585f adds an explicit rerun flag, preventing implicit cleanup when a part name is specified.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Instead of implicitly cleaning and re-executing steps when a part name
is specified, only do it when explicitly requested by the user.
Applications must set the `rerun` argument accordingly when planning
the lifecycle execution.
Fixes canonical/snapcraft#4806
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #727 as commit 9182585f, making steps clean and rerun only when explicitly requested by the application; fixes canonical/snapcraft#4806. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged craft-parts PR #727 (9182585f), changing sequencing so steps are cleaned and rerun only when the application explicitly requests reruns, fixing snapcraft#4806. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged changes to the sequencer that restrict step reruns and cleaning to explicit user requests via the rerun argument, resolving snapcraft#4806. Approved by two reviewers, passed CI, and integrated. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix to prevent implicit step cleaning and re-execution when specifying a part name. Steps now only rerun when the rerun argument is explicitly set, resolving snapcraft#4806. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#4806
(confidence 100%)
The PR body identifies this Snapcraft issue as the defect fixed by the merged change.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1774260 Automatically clean and redo step if part is specified | snapcraft (launchpad) | closed | Explicitly named parts now clean and rerun the requested lifecycle step instead of being skipped; fixed by merged PR canonical/snapcraft#2152 (9d1407a85). | |
| #106 executor: fix rerun action to clean subsequent steps (CRAFT-441) | craft-parts | merged | Merged #106 via commit 4b385da4, fixing CRAFT-441 so rerunning a part step cleans that step and all subsequent steps in the same part. | |
| #2152 many: automatically redo step for specified part | snapcraft | merged | Merged as commit 9d1407a85 in snapcore/snapcraft. Specifying a part on the command line now cleans and re-runs that part's lifecycle step instead of skipping already-completed steps, fixing LP bug #1774260. |