Skip to content

[bug] Web admin doesn't show a refused automatic plugin update on the Plugins page #3237

Closed

Description

@zZebrahz

What happened

When an automatic plugin update is refused, for example because the new release doesn't match its catalog checksum, web admin's Plugins page never says so. Check for updates shows "Plugin update check started" and nothing after. The plugin keeps its old version, and nothing on its tile or page mentions the failed attempt.

The failure can be found only elsewhere. Scheduled Tasks > Check Plugin Updates lists the run as failed with "Task failed. Inspect administrator diagnostics for details.", and Logs has a WARN entry, "plugin auto-update operation failed", that names the plugin and the reason. The daily scheduled run fails the same way, with nothing on the Plugins page.

#2251 (for #2239) added the failed task status and the log entry, and noted that the plugin and reason don't reach the task page. This issue covers showing the failure where the admin manages plugins.

Steps to reproduce

  1. Add a repository whose catalog lists a newer release of an installed plugin, with a checksum that doesn't match its download. Leave the plugin on Update automatically.
  2. Open Admin > Integrations > Plugins and choose Check for updates.
  3. Look at the Plugins page, then the plugin's tile and page.

Expected behavior

Web admin tells the admin that the automatic update of that plugin was refused, and why, on the Plugins page or the plugin's page. For example, a notice on the plugin naming the version it couldn't install and the reason, or a result for Check for updates once the run ends. A manual Update to already shows the reason in a toast.

Silo version / commit

Build 1669 · 5ec82048.

Deployment

A local Docker test server running the published build 1669 image, with a test catalog.

Area

Plugins

Clients affected

  • Web UI

Relevant logs

No log needed: the server logs the refusal correctly. The gap is in what web admin shows.

Technical notes

  • web/src/hooks/queries/admin/plugins.ts: the Check for updates mutation shows toast.success("Plugin update check started") when the run is accepted and doesn't follow the run to its end.
  • The task API returns only the generic "Task failed. Inspect administrator diagnostics for details." for a failed run, and the installation API has no field for a refused update, so web admin has nothing to show yet. A fix likely needs the server to record the last refused update per installation (version and reason) and the admin API to return it.

Validation reference

#1223 AC2, #1225 C1 ("observe update/failure feedback"). Follows #2239 and #2251.

AI harness

Claude Code (in T3 Code)

AI tool(s)

GitHub CLI, git, shell, Docker, T3 browser preview

AI model(s)

claude-opus-5-5

AI involvement

Found and drafted by Claude Code (claude-opus-5-5) during an agent runtime test of build 1669 · 5ec82048 on a local test server, at the maintainer's direction. The maintainer asked for it to be filed as non-blocking. No human reproduced it.

Independent or adversarial review

None.

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 29, 2026
  2. added
    bug
    impact: polish
    priority: P2
    on Oct 29, 2026
  3. Rhainland commented on Nov 1, 2026

    @Rhainland
    Contributor

    Reproduced on origin/main at 63ef34b: with a local catalog listing a newer release of an installed plugin under a wrong SHA-256, Check for updates said only "Plugin update check started". The plugin stayed on its old version, and neither its tile nor its page mentioned the refused update; the reason was only in the server log.

    Cause: the update check logged the refusal and failed the task, but stored nothing on the plugin, and the installation API had no field for it, so web admin had nothing to show.

    Fix in #3357: the check now records the refused version and reason on the plugin, and web admin shows "Update to failed" on its tile and a notice with the reason on its page. Checked on a local build of the fix with the same catalog and steps: after Check for updates the tile reads "Update to 0.1.4 failed" without a reload, and the plugin page says the download didn't match the catalog's SHA-256 checksum. Correcting the checksum and checking again installed 0.1.4 and removed the notice. Tests cover recording, clearing and reason text in the update check, and storing and clearing the record in Postgres.

    AI disclosure: reproduced and fixed by Claude Code (claude-opus-5-5) at the maintainer's direction.

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

    bugimpact: polishpriority: P2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions