Fix the use of go-use (Go Workspaces) when using dependencies that include `replace <dep> => <relative path` in the go.mod file
Metadata
Current evaluation
Fixes go-use failing on deps with relative `replace` directives in go.mod by resolving symlinks to absolute paths. Changes requested; author abandoned this approach and opened PR #1466 implementing the maintainer-endorsed 'comment out replace' fix instead.
Suggested action: close stale
Reason: The author explicitly stated 'I created a new PR #1466 which implements the comment out of those replace statements by the go-use plugin' after maintainer tigarmo recommended removing/commenting out the conflicting replace directives rather than the symlink-resolution approach this PR uses. This PR is therefore superseded by #1466 (still open), has been inactive for 192 days, and carries a changes_requested review with 3 unresolved comments, so it is no longer the path forward.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
18.0
Staleness:
82
Complexity:
60
Confidence:
78
|
close stale | Fixes go-use failing on deps with relative `replace` directives in go.mod by resolving symlinks to absolute paths. Changes requested; author abandoned this approach and opened PR #1466 implementing the maintainer-endorsed 'comment out replace' fix instead. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
85
Complexity:
45
Confidence:
90
|
close stale | Addresses Go workspace replace directive conflicts in the go-use plugin by resolving symlinks. Currently superseded by a newer PR implementing reviewer feedback. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
90
Complexity:
40
Confidence:
95
|
close stale | Addresses go-workspace replace directive conflicts in the go-use plugin. Superseded by PR #1466 after maintainer feedback suggested modifying go.mod directives instead of resolving symlinks. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
90
Complexity:
40
Confidence:
95
|
close stale | Fixes go-use failures with relative replace directives in dependency go.mod files. Maintainers suggested commenting out conflicting directives. Author adopted this approach and referenced a follow-up PR. Currently under discussion and awaiting review. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
craft-parts#1466
(confidence 85%)
Same author opened #1466 to implement the maintainer-endorsed 'comment out relative replace statements' solution, superseding this PR's symlink-resolution approach for the same go-use bug.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1466 feat: Comment out replace statements to relative paths in go.mod | craft-parts | open | Adds go-use plugin logic to strip relative-path replace statements from go.mod, with integration tests. Changes requested; maintainer notes *-use plugins are obsolete post-Madrid, deferring to tigarmo on whether to adapt to the newer Go plugin. |