Plugin status shows an error after reloading plugins that are already loaded

オープン
#2,059 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Wikid82 がすでに取り組んでいます。

2026年11月25日 から。

評価

この issue はまだ評価されていません。

説明

backend bug

What: POST /api/v1/admin/plugins/reload while a DNS provider plugin is already loaded sets that plugin's status in the plugin list to error: failed to register plugin: dns provider already registered, although the plugin stays registered and usable.

Where: backend/internal/services/plugin_loader.go, LoadPlugin (~line 183) registers the provider again without checking loadedPlugins for the same path. Same code on development.

Evidence: found by QA on the branch for #2058 (container check: load a plugin, call reload, read the plugin list).

Severity: low (misleading status only).

Suggested approach: skip a plugin whose path is already loaded, or unregister and re-register it, and keep the status as loaded. Add a test that reloads twice.

Found while working on #2058.

主要言語
Go
スター
17
フォーク
2
平均マージ
1時間 42分
マージ済み PR(30日)
173

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Wikid82/Charon のほかの issue

Wikid82/Charon の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。