Skip to content

[bug] A non-resident plugin that crashes on start still shows Active in web admin #2240

Closed

Description

@zZebrahz

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

  1. Install a non-resident plugin, such as a metadata provider, whose binary exits immediately on start.
  2. Enable it and trigger something that calls it.
  3. 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: if runtime.resident is false and the plugin is enabled, the label is always "Active". runtime.state and last_error are ignored.
  • internal/apiv2/admin_plugin_installations.go: AdminPluginRuntime documents 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

Activity

  1. added theissue type on Oct 10, 2026
  2. changed the title [-]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[/+] on Oct 12, 2026
  3. added a commit that references this issue on Oct 16, 2026
    46f9e0d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions