Implement metadata mediation for metadata.yaml
Metadata
Current evaluation
Fixed by merged charmcraft PR #2874, which added a craft-application package service to mediate metadata.yaml creation.
Resolution: closed resolved
Reason: PR #2874 was merged with two approvals and passing lint, fast, and slow tests. It explicitly implements metadata.yaml mediation for CHARMCRAFT-723, the internal ticket linked to #2856.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Check existing issues
- [x] I've verified that this request isn't described by any existing issues.
### Request
Mediate the creation of metadata.yaml to prevent recreation of artifacts when no changes were made to the project files.
### The problem it solves
This is needed for the testing workflow.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged charmcraft PR #2874, which added a craft-application package service to mediate metadata.yaml creation. | |
| stealth/space-bunny-alpha | — | closed stale | metadata.yaml mediation was triaged and synced to CHARMCRAFT-723, then abandoned when #2856 closed without a linked implementation or maintainer resolution. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The metadata.yaml mediation request was synced to internal Jira (CHARMCRAFT-723) and left abandoned on GitHub. | |
| qwen3.6-35b-a3b-mtp-q6 |
Impact:
50
Quick Win:
28
Staleness:
5
Complexity:
45
Confidence:
75
Support Request:
10
|
keep open | Feature request to mediate metadata.yaml creation to prevent unnecessary artifact recreation during testing workflows. Triaged and created by maintainer 8 days ago. | |
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
20
Staleness:
5
Complexity:
50
Confidence:
80
Support Request:
5
|
keep open | Feature task to implement craft-parts metadata mediation for metadata.yaml so unchanged project files don't trigger artifact recreation. Triaged by maintainer, Jira ticket CHARMCRAFT-723 created, no implementation yet. | |
| qwen/qwen3.8-27b |
Impact:
40
Quick Win:
18
Staleness:
5
Complexity:
55
Confidence:
70
Support Request:
5
|
needs triage | Feature request to mediate metadata.yaml creation so artifacts aren't recreated when project files are unchanged, needed for testing workflow. Fresh issue (0 days old) with no labels, comments, or maintainer response yet. |
Update history
| Date | Change |
|---|---|
| closed | |
| updated | |
| created |
Related work
-
Likely Fixed By:
canonical/charmcraft#2874
(confidence 99%)
Merged feature PR implementing the requested metadata.yaml creation mediation for CHARMCRAFT-723.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2874 feat: mediate creation of metadata.yaml | charmcraft | merged | PR #2874 merged to charmcraft main (2 approvals): implements craft-application's package service API so metadata.yaml creation is mediated in Charm/rock layers, tracking CHARMCRAFT-723. | |
| #2857 Implement metadata mediation for manifest.yaml | charmcraft | open | Maintainer-triaged feature request to add metadata mediation for manifest.yaml (craft-application packaging API) so unchanged projects are not repacked; impl PR #2877 was closed unmerged, only an autogenerated Jira sync (CHARMCRAFT-724) since. | |
| #644 Request: be able to specify the location of metadata.yaml (and the rest of the charm code) | charmcraft | closed | Resolved in Charmcraft 3.0 by merged PR canonical/charmcraft#1524 (commit 9988b7db), preserving metadata.yaml generated by the charm tool for reactive charms. | |
| #1530 Changing charmcraft.yaml doesn't update the resulting charm's metadata.yaml | charmcraft | open | The original stale metadata.yaml bug was fixed by merged PR #2874; a later Charmcraft 5.5.0 stale-repack variant remains tracked in craft-application#821. | |
| #1097 Implement metadata mediator | craft-application | closed | Implemented ST160 post-prime metadata mediation and conditional artifact repacking in merged PR #1111 (commit 1dfae607); released in craft-application 7.1.0. | |
| #1468 replaced metadata.yaml with charmcraft.yaml in integration test templates | charmcraft | closed | #1468 was closed as superseded after CLA/signature blockers; PR #1540 merged the equivalent metadata.yaml-to-charmcraft.yaml integration-template update in commit f3f82031. | |
| #1126 Allow use actions/config/metadata in charmcraft.yaml | charmcraft | merged | Merged in canonical/charmcraft#1126 (044b94f8), adding inline actions, config, and ST087-compliant metadata support when standalone YAML files are absent. | |
| #2498 fix: `charmcraft pack --project-dir` with metadata.yaml | charmcraft | closed | Closed unmerged; superseded by #2644, which fixed metadata lookup for --project-dir and shipped in Charmcraft 4.2.1. | |
| #570 Update metadata.yaml.j2 | charmcraft | merged | Merged #570 in commit f690f605, updating metadata.yaml.j2 with a more complete charm metadata reference link. | |
| #2858 Implement metadata mediation for actions.yaml and config.yaml | charmcraft | closed | Closed without a linked fix; actions.yaml and config.yaml mediation remains unimplemented. Related metadata.yaml (#2874) and manifest.yaml (#2877) mediation PRs landed separately. |