Skip to content

Plugin dev-loop build problems are mislabeled as frontend failures and stick after a successful host rebuild #1725

Closed

Description

@ymichael

Two related defects in plugin dev-build status handling (apps/server/src/services/plugins/plugin-runtime.ts, setDevBuildProblem, line ~480):

  1. Mislabeling: every dev-loop build failure is labeled frontend bundle build failed:, including host build failures — the dev-loop log line right above it correctly says "host build failed". Same line exists on pre-Agent providers as a first-class plugin surface (provider bridge protocol) #1640 main (plugin-runtime.ts:431 there).
  2. Stickiness: the problem is never cleared by a later successful host build via the enable/load path (managed-plugin-artifacts), so a transient dev build failure stays in the plugin's status until a source file changes again.

Evidence (final gate run 2, /tmp/final-gate-2.md, pre-existing observations 1–2, reproduced on origin/main):

  • Re-enabled provider-codex; its host.js was rebuilt successfully (fresh mtime), and bb plugin list still showed the stale failure.

Fix shape: label the problem with the failing target (host vs frontend), and clear devBuildProblems on any successful build of that target regardless of which path built it.

Surfaced during #1640 final validation; pre-existing (verified on origin/main).

AGENT GENERATED: by Claude Fable 5

Activity

  1. self-assigned this
    on Aug 17, 2026
  2. added a commit that references this issue on Aug 17, 2026
    74aeb17
  3. added a commit that references this issue on Aug 17, 2026
    155a53a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions