Skip to content

[Bug]: validate/test hide extension activation errors behind "Operation failed" #714

Closed

Description

@jimhoyd

Problem or use case

When extension activation fails, urlcode validate --host-file host.mjs (0.6.1) prints only:

{"event":"error","message":"Operation failed; check project files, module dependencies and command options"}

The real error in our case was MCP server hosted: tool urlcode_yaml_validate inputSchema: maxLength must be an integer from 0 to 8192. It only showed up when we called createRuntime(app, {extensions}) in-process. --debug-errors is refused outside serve, so the CLI offers no way to see it. The mcp extension's activation errors are operator-authored config errors, not secrets, so hiding them doesn't protect anything.

Proposed behavior and alternatives

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions