fix(Application): set the plugin group on load
Metadata
Current evaluation
Merged fix that sets the craft-parts plugin group on application load. The change gracefully handles missing or invalid project files by ignoring related errors. Approved by two reviewers and passed all CI checks before landing.
Suggested action: —
No scores available.
Issue body
This sets the craft-parts plugin group on application load if possible. It also ignores errors in determining the plugin group, preventing a failure to run if there is no project file or the file is invalid.
This missing feature was discovered while implementing plugin groups in Rockcraft: https://github.com/canonical/rockcraft/pull/1077#discussion_r2727508439
- [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 `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged fix that sets the craft-parts plugin group on application load. The change gracefully handles missing or invalid project files by ignoring related errors. Approved by two reviewers and passed all CI checks before landing. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix setting the craft-parts plugin group on load, ignoring errors when no project file exists. Resolves a missing feature from Rockcraft plugin group development. Approved and merged after maintainer review. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Sets the craft-parts plugin group on application load, ignoring errors to prevent crashes with missing or invalid project files. Resolves a gap discovered during Rockcraft plugin group implementation. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #857 fix(Application): allow loading the project from another dir | craft-application | merged | Merged fix allowing the application to load a project from a different directory. Approved by three reviewers, passed all CI checks, and merged with 49 additions and 10 deletions across four files. |