lifecycle: move PartsLifecycle to LifecycleService
Metadata
Current evaluation
Merged after approval and CI checks. Relocated PartsLifecycle to LifecycleService to centralize business logic. Updated 9 files with 100% test coverage and no overall coverage impact.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
The business logic for various commands will live in service classes, so the business logic for lifecycle should live there too.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after approval and CI checks. Relocated PartsLifecycle to LifecycleService to centralize business logic. Updated 9 files with 100% test coverage and no overall coverage impact. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into main. Moved PartsLifecycle to LifecycleService to centralize business logic. Maintained 100% code coverage with no overall impact. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #25 parts: add PartsLifecycle support | craft-application | merged | Merged into main following reviewer approval and passing CI. Adds PartsLifecycle support to the parts module, modifying 9 files with 100% test coverage. Addresses CRAFT-1752. | |
| #5332 docs: migrate 'parts lifecycle' | snapcraft | merged | Merged documentation update migrating the parts lifecycle section. Approved by two reviewers, the change modifies five files with 272 additions and 27 deletions, integrating the updated content into the main branch. | |
| #4584 lifecycle commands | snapcraft | merged | Merged implementation of lifecycle commands. Approved by two reviewers, passed all CI checks, and modified 15 files with full test coverage. |