executor: fix rerun action to clean subsequent steps (CRAFT-441)
Metadata
Current evaluation
Merged #106 via commit 4b385da4, fixing CRAFT-441 so rerunning a part step cleans that step and all subsequent steps in the same part.
Resolution: closed resolved
Reason: PR #106 was approved and merged as commit 4b385da4, aligning action execution with action planning by cleaning the rerun step and all subsequent steps.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Rerunning a part step should invalidate not only its state but also
the state of subsequent steps in the same part. This is correctly
implemented in action planning but not in execution. Fix the action
executor to clean all the necessary steps and not only the step being
re-executed.
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #106 via commit 4b385da4, fixing CRAFT-441 so rerunning a part step cleans that step and all subsequent steps in the same part. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #106 via 4b385da4, fixing CRAFT-441 so rerunning a step cleans that step and all subsequent steps in the same part. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged fix ensuring the executor invalidates and cleans subsequent steps during a rerun. Previously only the re-executed step was cleared. Approved by two reviewers and passed CI. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix for CRAFT-441. The action executor now correctly invalidates and cleans subsequent step states when a part step is rerun, resolving a bug where only the re-executed step was cleared. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #727 fix(sequencer): rerun steps only if explicitly requested | craft-parts | merged | Merged PR #727 as commit 9182585f, making steps clean and rerun only when explicitly requested by the application; fixes canonical/snapcraft#4806. |