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> |
||
|---|---|---|
| .. | ||
| cmd | ||
| internal | ||
| migrations | ||
| pkg/provisionhook | ||
| .air.toml | ||
| .ci-force | ||
| .gitignore | ||
| .golangci.yaml | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| Dockerfile.tenant | ||
| entrypoint-tenant.sh | ||
| go.mod | ||
| go.sum | ||