Skip to content

[bug] Refused plugin installs and updates return 500 with no reason #2242

Closed

Description

@zZebrahz

What happened

When a plugin install or update is refused because of the package, the v2 admin API answers 500 "An unexpected error occurred", and web admin shows only "Plugin install could not be confirmed. Refresh installations before submitting again." A checksum mismatch, a missing download, an unsupported platform and an unreachable catalog all look the same, so the admin can't tell whether to retry, wait, or stop.

Steps to reproduce

  1. Add a test catalog whose entry lists a SHA-256 that doesn't match its binary.
  2. On Admin > Plugins, click Install on that plugin.
  3. Note the toast and the API response.

Expected behavior

The admin sees why the install was refused. A bad package gets a final answer with its reason, and an unreachable host gets a retryable one. AC2 of #1223 requires checksum verification, and a refused plugin should degrade gracefully with feedback the admin can act on.

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 and a local test catalog.

Clients affected

  • Web UI

Relevant logs

Not captured.

Technical notes

  • internal/plugins/installer.go: a checksum mismatch returns a plain fmt.Errorf("binary checksum mismatch: …"). No error type maps it to a 4xx, so the v2 handler answers 500.
  • web/src/hooks/queries/admin/plugins.ts: the install mutation falls back to "Plugin install could not be confirmed…" when the response has no reason.

Validation reference

Found during Silo 1.0 validation of [v1] Plugin management / marketplace #1223 (AC1, AC2). Affects #1224 C1 and #1225 C1.

Fix proposed in #2225 (open).

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 found by an AI-run sandbox check (@Rhainland, Claude Code, claude-opus-5-5) on a native build of 9d37930c, and the cause was 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 [-]Refused plugin installs and updates return 500 with no reason[/-] [+][bug] Refused plugin installs and updates return 500 with no reason[/+] on Oct 12, 2026
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