The interface declared Resolve(Source) (PluginResolver, error) but *Registry.Resolve in source.go:133 returns SourceResolver. Compile-time assertion `var _ PluginResolver = (*Registry)(nil)` at drift_sweeper.go:82 failed → broke main.go:341 router.Setup and main.go:350 StartPluginDriftSweeper. Doc comment at drift_sweeper.go:68-69 already stated the intended shape (returns the production SourceResolver from source.go, not another PluginResolver) — this aligns the type with the documented contract. PluginsHandler.WithSourceResolver is unaffected: router.go:545-565 intentionally `_ = pluginResolver`s it out per existing comment. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| drift_sweeper_test.go | ||
| drift_sweeper.go | ||
| github_test.go | ||
| github.go | ||
| local_test.go | ||
| local.go | ||
| source_test.go | ||
| source.go | ||
| supply_chain_test.go | ||
| supply_chain.go | ||