go plugin: Add flag to run tests during build phase
Metadata
Current evaluation
Maintainer-filed feature request to add an `enable-checks` build attribute to the go plugin so `go test` runs as the final build command, plus a test and docs update. Unimplemented, unlabelled, no discussion.
Suggested action: needs triage
Reason: The feature is still absent from the codebase: grepping the repo for `enable-checks` and `go test` returns no matches, and `GoPlugin.get_build_commands()` in craft_parts/plugins/go_plugin.py:139 unconditionally ends with `go install -p "..." {tags} ./...`. The issue has no labels, assignee, or comments, so it shows no sign of maintainer categorization, which is the default trigger for needs_triage; impact is moderate (a convenience that removes the need for an `override-build` workaround) and implementation is straightforward (one bool property, one conditional command, one test, one doc field), though 'the proper arguments to run unit tests on the build artifact' is slightly underspecified since `go test` operates on packages, not the installed binary.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
32
Quick Win:
19
Complexity:
18
Confidence:
86
Actionability:
72
|
needs triage | Maintainer-filed feature request to add an `enable-checks` build attribute to the go plugin so `go test` runs as the final build command, plus a test and docs update. Unimplemented, unlabelled, no discussion. | |
| stealth/space-bunny-alpha |
Impact:
35
Quick Win:
22
Complexity:
25
Confidence:
85
Actionability:
82
|
needs triage | Maintainer-authored feature request to add an `enable-checks` key to the Go plugin so `go test` runs as the final build command, with a unit test and docs update. Not implemented; still unlabelled with no discussion. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
17
Complexity:
30
Confidence:
80
Actionability:
80
|
needs triage | Feature request to add an enable-checks build attribute to the Go plugin in craft-parts, allowing go test to run during the build phase. Unlabelled and unassessed. | |
| qwen/qwen3.8-27b |
Impact:
30
Quick Win:
21
Staleness:
45
Complexity:
30
Confidence:
80
Support Request:
10
|
needs triage | Feature request to add an enable-checks build attribute to the go plugin so unit tests run during the build phase without an override-build script. Unlabelled, no comments or assignee, inactive ~5.7 months; feature not yet implemented. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
60
Complexity:
25
Confidence:
80
Support Request:
0
|
needs triage | Feature request to add an enable-checks build attribute to the go plugin, allowing unit tests to run during the build phase without custom override scripts. Currently unlabelled and inactive for over four months. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
70
Complexity:
20
Confidence:
85
Support Request:
10
|
needs triage | Feature request to add an enable-checks build attribute to the go plugin, allowing unit tests to run during the build phase without custom override scripts. Currently unlabelled and inactive for 119 days. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1494 feat(go): Add `enable-check` build attribute and `go-testtags` property to run tests during build | craft-parts | open | Adds opt-in Go build-time tests and test-specific build tags, with docs and unit/integration coverage. Canonical CLA passes, but two reviewers requested changes and 26 comments remain unresolved. |