refactor(plugins): remove non-functional experimental manifest option (#5821)

The `experimental.threads` manifest option never actually worked, so drop
it from the schema, the generated types, the loader and the docs.
This commit is contained in:
Deluan Quintão 2026-07-19 18:52:30 -04:00 • committed by GitHub
commit bf79d2f3a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1 additions and 141 deletions

View file

@ -13,8 +13,6 @@ import (
"github.com/navidrome/navidrome/plugins/host"
"github.com/navidrome/navidrome/scheduler"
"github.com/tetratelabs/wazero"
"github.com/tetratelabs/wazero/api"
"github.com/tetratelabs/wazero/experimental"
"golang.org/x/sync/errgroup"
)
@ -377,12 +375,6 @@ func (m *Manager) loadPluginWithConfig(p *model.Plugin) error {
WithCompilationCache(m.cache).
WithCloseOnContextDone(true)
// Enable experimental threads if requested in manifest
if pkg.Manifest.HasExperimentalThreads() {
runtimeConfig = runtimeConfig.WithCoreFeatures(api.CoreFeaturesV2 | experimental.CoreFeaturesThreads)
log.Debug(ctx, "Enabling experimental threads support")
}
extismConfig := extism.PluginConfig{
EnableWasi: true,
RuntimeConfig: runtimeConfig,