sequencer: handle step run, rerun and update
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Lifecycle planning requires updating step states and emmiting the
appropriate actions to be executed later. This is done in different
ways depending if we're running a step for the first time, re-running
it, or updating it. This change adds the appropriate handlers for
each case.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [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 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged sequencer update adding handlers for step run, rerun, and update operations. The change implements lifecycle planning logic to update step states and emit corresponding actions for each execution scenario. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #37 sequencer: add lifecycle logic | craft-parts | merged | Merged after approval by two reviewers. The changes add lifecycle logic to the sequencer, computing planning actions based on part specs and current state across five files (+359/-5 lines). | |
| #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. | |
| #4 Add lifecycle manager and sequencer stub | craft-parts | merged | Merged changes implementing a lifecycle manager and sequencer stub. Approved by two reviewers, the update adds 953 lines across 22 files to coordinate planning and execution for project parts. | |
| #429 sequencer: use plugin properties in action planning | craft-parts | merged | Merged following reviewer approval and passing CI. Adds missing plugin properties to action planning, ensuring the sequencer accurately reflects the complete persisted state from prior execution runs. Updated 4 files (+27/-4). | |
| #727 fix(sequencer): rerun steps only if explicitly requested | craft-parts | merged | 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. |