molecule-core/workspace-server/internal/plugins
Molecule AI Core-BE fce46904ca
Some checks failed
sop-tier-check / tier-check (pull_request) Failing after 1s
Secret scan / Scan diff for credential-shaped strings (pull_request) Failing after 2s
audit-force-merge / audit (pull_request) Has been skipped
fix(internal#248): correct PluginResolver.Resolve return type to SourceResolver
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>
2026-05-10 12:48:31 +00:00
..
drift_sweeper_test.go feat(plugins): plugin drift detector + queue + admin apply endpoint (#123) 2026-05-10 00:39:50 +00:00
drift_sweeper.go fix(internal#248): correct PluginResolver.Resolve return type to SourceResolver 2026-05-10 12:48:31 +00:00
github_test.go chore: open-source restructure — rename dirs, remove internal files, scrub secrets 2026-04-18 00:24:44 -07:00
github.go feat(plugins): plugin drift detector + queue + admin apply endpoint (#123) 2026-05-10 00:39:50 +00:00
local_test.go [core-be-agent] 2026-05-09 22:21:35 +00:00
local.go chore: open-source restructure — rename dirs, remove internal files, scrub secrets 2026-04-18 00:24:44 -07:00
source_test.go chore: open-source restructure — rename dirs, remove internal files, scrub secrets 2026-04-18 00:24:44 -07:00
source.go chore: open-source restructure — rename dirs, remove internal files, scrub secrets 2026-04-18 00:24:44 -07:00
supply_chain_test.go chore: open-source restructure — rename dirs, remove internal files, scrub secrets 2026-04-18 00:24:44 -07:00
supply_chain.go chore: open-source restructure — rename dirs, remove internal files, scrub secrets 2026-04-18 00:24:44 -07:00