project loader: ensure all key assets are utilized
Metadata
Current evaluation
Merged into master. Updates the project loader to raise an error when key assets are unutilized. Approved by a reviewer, passed CI checks, and integrated despite a minor coverage decrease.
Suggested action: —
No scores available.
Issue body
If any keys are unutilized, raise an error to the user.
Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
- [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `./runtests.sh static`?
- [ ] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged into master. Updates the project loader to raise an error when key assets are unutilized. Approved by a reviewer, passed CI checks, and integrated despite a minor coverage decrease. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master. The project loader now raises an error if any defined keys remain unutilized, ensuring all assets are actively referenced. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged into master. The project loader now raises an error when any key assets remain unutilized, enforcing strict usage of all specified configuration keys. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4628 feat: allow for overriding project asset handling | snapcraft | merged | Merged. Enables overriding project asset handling by consolidating executable settings and adding tests for hook interactions. Approved by two reviewers, passed CI checks, and maintained test coverage. | |
| #1299 asset-tracking: save the dependencies of build packages | snapcraft | merged | Merged into master. Implements asset tracking by saving build package dependencies. Conflicts were resolved and reviewer approval obtained before successful integration, despite a minor coverage decrease. | |
| #3382 project loader: purge dead code in Config | snapcraft | merged | Merged to master following maintainer approval. The change removes the unused stage_env() function and its unit test from the project loader config, eliminating 91 lines of dead code. CI checks passed and code coverage remained stable. |