Repository navigation
Commit f99356f
committed
Fix: Refuse to confirm golang redirects when workspace selection is Unknown
When the workspace graph is Unknown, we cannot prove what version the
workspace actually builds. An existing socket replace directive might be
from an apply pin, vendor pin, or written under GOWORK=off, none of which
prove the workspace uses that version.
This fix ensures that Unknown workspace selection always refuses to write
and confirm redirects, regardless of whether a same-version prior replace
exists, preventing false confirmation of potentially inert pins.1 parent fd0c850 commit f99356f
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9575 | 9575 | | |
9576 | 9576 | | |
9577 | 9577 | | |
9578 | | - | |
| 9578 | + | |
| 9579 | + | |
9579 | 9580 | | |
9580 | 9581 | | |
9581 | 9582 | | |
| |||
0 commit comments