feat: add conditional repacking support
Metadata
Current evaluation
Merged conditional repacking support adding metadata mediators to trigger artifact regeneration. Replaces a non-functional state-based mechanism with ST160 post-prime metadata management. Fixes #1097. Approved by two reviewers.
Suggested action: —
No scores available.
Issue body
Add metadata creation mediators to signal the package service that
metadata has been changed and regeneration of the packaged artifact
is required. This removes the existing (but non-functional) state-based
mechanism and implements ST160 for post-prime metadata management.
The previous packaging API is preserved and applications using it should
be unaffected.
Fixes #1097
- [ ] 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`)?
---
CRAFT-5232
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged conditional repacking support adding metadata mediators to trigger artifact regeneration. Replaces a non-functional state-based mechanism with ST160 post-prime metadata management. Fixes #1097. Approved by two reviewers. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
10
Complexity:
45
Confidence:
90
|
needs review | Adds metadata creation mediators to trigger artifact regeneration, replacing a non-functional mechanism and implementing ST160. Preserves existing API. Fixes #1097. Currently awaiting maintainer review. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
5
Complexity:
65
Confidence:
85
|
needs review | Adds conditional repacking support by implementing metadata creation mediators for artifact regeneration, replacing a non-functional state-based mechanism. Currently open, awaiting review and CI checks. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1357 feat: skip repacking if project is unchanged | rockcraft | closed | Merged. Skips repacking output artifacts when the project is unchanged by leveraging the craft-application mediation API. Approved by two reviewers with all CI checks passing. |