Skip to content

Custom tool loading crashes on transient dependency install failures #13784

Closed

Description

@sauerdaniel

Problem

  1. Config.waitForDependencies() runs bun install once and silently swallows failures. On Windows, transient file locks can cause this to fail.
  2. ToolRegistry.getCustom() directly imports each tool module without isolation — one broken custom tool crashes loading for all custom tools.

Expected behavior

  • Transient dependency install failures should be retried before giving up
  • A broken custom tool module should not prevent other tools from loading

Environment

  • Primarily affects Windows (file lock contention during bun install)
  • Also affects any environment where a custom tool module has a syntax/runtime error

Activity

  1. github-actions commented on Feb 16, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of or related to existing issues. Please check:

    Please verify if these are the same root cause or different issues before proceeding.

  2. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions