Skip to content

shell: plugin resource actions receive no extension data #151

In review

Description

@imneov

What happened

Resource action callbacks receive an empty data object, even when their plugin registered data extensions. The inference-detail SLO button also inherits an uninstall denial, preventing a plugin from preserving independently editable SLOs.

What you expected instead

Actions receive their own plugin's data-extension results for the current resource, and SLO/uninstall policies remain independent. Pending or failed policy data must not enable writes or discard an already-open draft.

How to reproduce

  1. Register a resource data extension returning an editable SLO policy.
  2. Register an SLO action that depends on that result and an uninstall action that denies removal.
  3. Open the inference-service detail page.
  4. The SLO action sees {} and is blocked; an uninstall denial also disables SLO editing.

Versions

  • Console: source baseline f4c50c9 (installed-plugin SDK support).
  • Installed with: source-based regression tests; no live deployment.
  • Kubernetes / browser / Swiss: not required for the deterministic regression.

Evidence

  • web/src/extensions/registry.ts: action context originally sets data: {}.
  • web/src/modules/inferences/InferenceDetail.tsx: SLO originally reuses blockedWrite, which includes the uninstall policy.
  • Fix and regression coverage are in fix(web): preserve plugin resource action policies #149; first consumer is modelsphere/console-canary-plugin#11.

Anything else

The shared-Secret extension proposal #148 is deferred and is not part of this bug fix. Backend runtime authentication and the existing authProxy contract remain unchanged.

Activity

  1. added
    kind/bug
    area/shell
    needs-triage
    on Nov 24, 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

    area/shellkind/bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions