Repository navigation
Description
What happened
A plugin that the server doesn't keep running (a non-resident plugin, started on first use) shows a green Active status in web admin even when its process crashes on start. The admin sees the plugin as working while every call to it fails.
Steps to reproduce
- Install a non-resident plugin, such as a metadata provider, whose binary exits immediately on start.
- Enable it and trigger something that calls it.
- Open Admin > Plugins and the plugin's page.
Expected behavior
The status reflects that the plugin failed to start, with the last error available, as it already does for resident plugins ("Failed", "Restarting"). AC2 of #1223 requires failed plugins to degrade gracefully, and AC1 asks whether an installed plugin is usable.
Silo version / commit
Source review: main at 1c127801 (build 1273). Sandbox run: native build of main at 9d37930c.
Deployment
Not recorded. The sandbox run used a native macOS build with a fresh database.
Clients affected
- Web UI
Relevant logs
Not captured.
Technical notes
web/src/lib/pluginStatusIndicator.ts: ifruntime.residentis false and the plugin is enabled, the label is always "Active".runtime.stateandlast_errorare ignored.internal/apiv2/admin_plugin_installations.go:AdminPluginRuntimedocuments that non-resident plugins "report only running or stopped", so the server has no failed state or start error to send for them. A fix probably needs the server to record the last start failure for lazily started plugins, not only a web change.
Validation reference
Found during Silo 1.0 validation of [v1] Plugin management / marketplace #1223 (AC1, AC2). Affects #1225 C1. Reported in the sandbox results on #1224.
AI harness
Claude Code
AI tool(s)
GitHub CLI, git, shell
AI model(s)
claude-opus-5-5
AI involvement
Drafted with Claude Code at the maintainer's direction. The problem was first reported by an AI-run sandbox check (@Rhainland, Claude Code, claude-opus-5-5) and then confirmed by agent source review of 1c127801. No human reproduced it.
Independent or adversarial review
n/a
Confirmations
- I searched open and recently closed issues and pull requests, and this is not already reported
- I reproduced this myself on a real deployment
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
[-]A non-resident plugin that crashes on start still shows Active in web admin[/-][+][bug] A non-resident plugin that crashes on start still shows Active in web admin[/+]fix(plugins): show a non-resident plugin that cannot start as Failed (S…