Skip to content

fix(opencode): surface missing server plugin entrypoints - #53057

Open
kvnloo wants to merge 2 commits into
anomalyco:devfrom
kvnloo:factory/plugin-missing-strengthen-48699
Open

kvnloo wants to merge 2 commits into
anomalyco:devfrom
kvnloo:factory/plugin-missing-strengthen-48699

Conversation

@kvnloo

@kvnloo kvnloo commented Oct 4, 2026 •

Copy link
Copy Markdown

Issue for this PR

Closes #48577

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The server plugin loader currently leaves "report.missing" empty, so a configured plugin with no server entrypoint can disappear without a useful error.

Route that case through the existing "publishPluginError" path. TUI plugin handling is unchanged.

Based on #48699 by @RaviTharuma, with related work in #44372 by @AllanSantos-DV.

How did you verify your code works?

"cd packages/opencode && bun test test/plugin/missing-entrypoint.test.ts"

The tests cover missing server entrypoints, the existing TUI path, and the production "report.missing" wiring.

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Oct 4, 2026
@github-actions

github-actions Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 72 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title Factory/plugin missing strengthen 48699 doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions

github-actions Bot commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@kvnloo kvnloo changed the title Factory/plugin missing strengthen 48699 fix(opencode): surface missing server plugin entrypoints Oct 4, 2026

This branch has not been deployed

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

Labels

needs:compliance This means the issue will auto-close after 2 hours.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin configured by a non-existent directory path is dropped with zero diagnostics

1 participant