Skip to content

🐛 Unavailable external plugins lead to adapter crashloop #27

@evaline-ju

Description

@evaline-ju

Describe the bug

Currently if an external plugin is provided in the plugin config but not available/reachable, this will cause the plugin manager and thus the plugin adapter to crash.

Steps To Reproduce

  1. Update the plugin config to utilize an external plugin such as
plugins:
  - name: NemoCheck
    kind: external
    hooks: ["tool_pre_invoke", "tool_post_invoke"]
    mode: enforce
    mcp:
      proto: STREAMABLEHTTP
      url: http://nemocheck-plugin-service:8000/mcp
  1. Make the plugin service unavailable (delete service or just not deploy it yet)
  2. See a log such as the following in the crashing adapter
RuntimeError: Plugin initialization failed: NemoCheck - External plugin 'NemoCheck' connection failed after 3 attempts: http://nemocheck-plugin-service:8000/mcp is not reachable. Please ensure the MCP server is running.

Expected Behavior

Provide a warning for unavailable external plugins but do not crash the adapter based on unavailability

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions