← Back to issue list

fix(sequencer): rerun steps only if explicitly requested

View original Github issue

Metadata

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

Current evaluation

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.

Suggested action:

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
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 issues

Issue Project State Summary Similarity
#25 sequencer: handle step run, rerun and update craft-parts merged Merged sequencer updates adding handlers for step run, rerun, and update operations to support lifecycle planning. Approved by two reviewers, passed CI, and modified three files with 294 additions and 3 deletions.
72%
#83 sequencer: improve dirty state report message (CRAFT-302) craft-parts merged Merged after approval by two reviewers and passing CI. The change improves the sequencer dirty state report message by including the dependency step name in re-execution reasons, modifying four files.
71%
#2152 many: automatically redo step for specified part snapcraft merged Merged to master, resolving LP: #1774260. Snapcraft now automatically cleans and re-runs a specified part's step instead of skipping it. Approved by one reviewer with 94.63% diff coverage.
70%