← Back to issue list

sequencer: add lifecycle logic

View original Github issue

Metadata

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

Current evaluation

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).

Suggested action:

No scores available.

Issue body

Lifecycle planning is computed by the sequencer based on part specs and the current state, resulting in a list of actions to be executed. Lifecycle is implemented according to the following diagram: ![Lifecycle logic](https://raw.githubusercontent.com/cmatsuoka/craft-parts-orig/main/docs/parts-logic.png) 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 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).
qwen3.6-35b-a3b-mtp-q6 Added lifecycle planning logic to the sequencer, computing actions from part specs and current state. Merged by maintainer cmatsuoka without discussion.

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.
82%
#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.
82%
#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).
78%
#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%