executor: fix rerun action to clean subsequent steps (CRAFT-441)
Metadata
Current evaluation
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.
Suggested action: —
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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| #345 executor: fix directory cleaning | craft-parts | merged | Merged fix for issue #329 that corrects executor directory cleaning logic, preventing lifecycle directories from persisting after cleanup. Approved by one reviewer and passed CI checks. |