`CraftSpreadYaml` should accept the `environment` key
Metadata
Current evaluation
Request to add top-level environment key to CraftSpreadYaml/CraftTestYaml for global spread test env vars. Triaged, maintainer says implementation is trivial but decision pending. Author found per-suite workaround; feature still unimplemented.
Suggested action: keep open
Reason: Maintainer @lengau acknowledged the issue and explicitly stated 'Implementation is trivial — deciding whether this is something we want to include is nontrivial!' while tagging @cmatsuoka for a decision. The author found a per-suite workaround but noted 'the global environment would still be nice.' The code still lacks the feature (CraftTestYaml has extra='forbid' with no environment field), and the issue remains valid despite 339 days of inactivity.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
24.5
Staleness:
55
Complexity:
30
Confidence:
72
Support Request:
10
|
keep open | Request to add top-level environment key to CraftSpreadYaml/CraftTestYaml for global spread test env vars. Triaged, maintainer says implementation is trivial but decision pending. Author found per-suite workaround; feature still unimplemented. | |
| qwen/qwen3.8-27b |
Impact:
25
Quick Win:
17.5
Staleness:
70
Complexity:
30
Confidence:
80
Support Request:
10
|
keep open | Enhancement request to add top-level `environment` key support to CraftSpreadYaml/CraftTestYaml for spread test configuration. Triaged and labelled; author found a per-suite workaround and noted it is less pressing. Feature still not implemented in current code. | |
| qwen/qwen3.8-27b |
Impact:
35
Quick Win:
22.75
Staleness:
65
Complexity:
35
Confidence:
80
Support Request:
10
|
keep open | Request to allow the top-level 'environment' key in the craft test spread.yaml model (CraftSpreadYaml), which forbids it. Triaged as enhancement; reporter found per-suite environment works as a workaround. Still unfixed in current code. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
80
Complexity:
10
Confidence:
60
Support Request:
0
|
needs triage | Enhancement request to add environment key support to CraftSpreadYaml model. Awaiting architectural decision from maintainers; author notes a workaround exists but feature remains desirable. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
75
Complexity:
15
Confidence:
70
Support Request:
0
|
needs triage | Enhancement request to add environment key support to CraftSpreadYaml model. Author found a workaround, reducing urgency. Awaiting maintainer design decision on whether to implement. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
80
Complexity:
20
Confidence:
75
Support Request:
0
|
close stale | CraftSpreadYaml rejects the environment key, blocking spread test setup. Maintainers are discussing whether to add it, noting implementation is trivial but the decision requires review. Workaround available. Status: needs information. |
Update history
No update history recorded yet.
Related work
-
Related To:
craft-application#1168
(confidence 85%)
PR #1168 deprecated CraftSpreadYaml in favor of <app-name>-test.yaml (CraftTestYaml), which has the same extra='forbid' limitation and also lacks a top-level environment field.
Related issues
No related issues found above the similarity threshold.