run: add command package runner support#2689
Conversation
There was a problem hiding this comment.
Code Review
This pull request implements a command runner feature for the gop run command, allowing projects to define custom runners in their gop.mod files. The changes include logic for resolving project directories, building or installing runner binaries, and executing them. Review feedback suggests propagating errors from xgomod.Load instead of swallowing them and notes that the current implementation only supports the first project defined in a gop.mod file, which could lead to issues in multi-project configurations.
|
Overall: Clean separation across |
54f60c7 to
614cb07
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2689 +/- ##
=======================================
Coverage 94.12% 94.12%
=======================================
Files 32 32
Lines 10054 10054
=======================================
Hits 9463 9463
Misses 421 421
Partials 170 170 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
3ab2c34 to
93d69a7
Compare
|
@joeykchen Thanks for the trigger request. This repository currently enforces member-only triggers, and your account does not have repository membership access, so xgopilot cannot run for this request. To proceed, you can:
|
No description provided.