feat: implement mid-step callbacks
Metadata
Current evaluation
Merged after approval by two reviewers and passing CI checks. The change generalizes pre- and post-step hooks to enable mid-step callbacks and adds a pre-organize hook point for the build step.
Suggested action: —
No scores available.
Issue body
Generalize pre and post-step callbacks as different hook points in
step callbacks, allowing the execution of mid-step callbacks. Use
this new infrastructure to define a pre-organize hook point in the
build step.
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
- [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
DEBCRAFT-32
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval by two reviewers and passing CI checks. The change generalizes pre- and post-step hooks to enable mid-step callbacks and adds a pre-organize hook point for the build step. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Generalized pre and post-step callbacks into distinct hook points to enable mid-step execution. Added a pre-organize hook to the build step, resolving DEBCRAFT-32. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #632 feat: add hooks to the remote-build command | craft-application | merged | Merged. Implemented two configurable hooks for the remote-build command to support application-specific build arguments and validation overrides. Approved by two reviewers, passed CI checks, and updated the changelog. |