Plugin interfaces interact poorly with multiple IPFS nodes
Open
kind/bug
- Dominant language
- Go
- Stars
- 17.1k
- Forks
- 3.2k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 11
Description
Specifically:
* Passing the config & repo on `Init` is probably _not_ the right way to go as init needs to be called globally.
* `PluginDaemon.Start()` should return an `io.Closer` handle so multiple daemons can run in a single process.
Contributor guide
Research direction
Start by tracing the plugin Init path and PluginDaemon.Start() interface in the Kubo source. Review how config and repo are passed and how daemon lifetime is managed. Done means the plugin interfaces support global initialization and multiple daemons in one process, with the intended close behavior defined and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100