← Back to issue list

executor: add callbacks

View original Github issue

Metadata

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

Current evaluation

Executor callbacks merged. Approved by two reviewers and passing CI, the change adds 353 lines across five files to run application-specified functions at lifecycle points like before or after steps and execution phases.

Suggested action:

No scores available.

Issue body

Callbacks are a mechanism to run application-specified functions at certain points of the lifecycle execution, such as before or after each step is processed, before the execution phase starts, or after the execution phase ends. 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 Executor callbacks merged. Approved by two reviewers and passing CI, the change adds 353 lines across five files to run application-specified functions at lifecycle points like before or after steps and execution phases.
qwen3.6-35b-a3b-mtp-q6 Merged addition of executor callbacks enabling application-specified functions to run at lifecycle points, including before and after each step and execution phase.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#69 executor: add executor class and integrate with lifecycle manager (CRAFT-31) craft-parts merged Merged the executor class and lifecycle manager integration to execute actions. Approved by two reviewers, passed CI, and commit message updated to reference task CRAFT-31. Additional tests deferred to separate PRs.
72%
#62 executor: add errors raised in part handling craft-parts merged Merged after approval by two reviewers and passing CI checks. The changes define errors raised by the part handler during action execution, adding 45 lines across two files to improve executor error handling.
72%
#66 executor: add part handler (1/2) craft-parts merged Merged: executor part handler implementation. Adds package fetching, unpacking, step execution, and state generation. Approved by two reviewers, passed CI, and modified six files with 695 additions.
71%
#59 executor: add the step handler craft-parts merged Merged after two approvals and CI. Adds a step handler to the executor for built-in actions and user scripts, featuring a FIFO-based control API ported from Snapcraft. Added 823 lines across six files.
71%