Vectorize `build-on` and `build-for`
Metadata
Current evaluation
Scalar build-on and build-for values are now accepted and vectorized; the fix merged in PR #126 as commit 1a21b2d.
Resolution: closed resolved
Reason: PR #126 was merged, and commit 1a21b2d added scalar parsing and vectorization to the platform and charm build planners, resolving the failure to create plans from single-string YAML values.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The build planners fail to create a build plan from the yaml:
```yaml
platforms:
my-platform:
build-on: amd64
build-for: riscv64
```
This is a problem because craft-application is able to create a build plan but craft-platforms can't.
Craft-application vectorizes `build-on` and `build-for` before providing the data to craft-platforms.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Scalar build-on and build-for values are now accepted and vectorized; the fix merged in PR #126 as commit 1a21b2d. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Fixed in craft-platforms#126 by adding support for scalar build-on and build-for values, matching craft-application's vectorization behavior. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/craft-platforms#126
(confidence 100%)
Merged fix titled “feat: parse scalar build-ons and build-fors,” directly addressing the reported build-planning failure.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #126 feat: parse scalar build-ons and build-fors | craft-platforms | merged | Merged PR #126 added support for scalar build-on and build-for values, resolving #80 in commit 1a21b2d. |