chore: refactor testplugins to be native go#274
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThe pull request refactors the plugin registry dependency throughout the codebase. It replaces the concrete Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
c317a8b to
3bbf4e3
Compare
|
@coderabbitai summary |
✅ Actions performedSummary regeneration triggered. |
3bbf4e3 to
ecdaaf7
Compare
ecdaaf7 to
ea8fcff
Compare
|
|
||
| svcRegistry, err := cmkpluginregistry.New(t.Context(), cfg, cmkpluginregistry.WithBuiltInPlugins(ps)) | ||
| assert.NoError(t, err) | ||
| cfg.Plugins = nil |
| svcRegistry, err := cmkpluginregistry.New(t.Context(), &cfg, cmkpluginregistry.WithBuiltInPlugins(ps)) | ||
| require.NoError(t, err) | ||
| svcRegistry := testutils.NewTestPlugins() | ||
| var err error |
There was a problem hiding this comment.
Can delete this var err
Summary by CodeRabbit
Also removes the need to build any plugin binary before running tests.