openclaw - ✅(Solved) Fix [Bug]: Duplicate missing plugin warnings for yuanbao (plugins.entries and plugins.allow) [1 pull requests, 2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#84192Fetched 2026-05-20 03:42:56
View on GitHub
Comments
2
Participants
2
Timeline
9
Reactions
1
Author
Timeline (top)
labeled ×4commented ×2cross-referenced ×2closed ×1

Fix Action

Fixed

PR fix notes

PR #84227: fix(config): dedupe missing official plugin warnings

Description (problem / solution / changelog)

Summary

  • Deduplicate repeated official external plugin install-hint warnings by normalized plugin id.
  • Keep the first actionable config path, while preserving generic stale-plugin warnings, removed-plugin warnings, blocked-plugin warnings, and memory-slot-specific wording.
  • Add regression coverage for yuanbao appearing in both plugins.entries and plugins.allow.

Fixes #84192.

Verification

  • node scripts/run-vitest.mjs src/config/config.plugin-validation.test.ts -t "deduplicates|official external memory slot"
  • node scripts/run-vitest.mjs src/config/plugin-auto-enable.channels.test.ts
  • node node_modules/@typescript/native-preview/bin/tsgo.js --noEmit --pretty false -p tsconfig.json
  • git diff --check -- src/config/validation.ts src/config/config.plugin-validation.test.ts
  • /mnt/c/src/claws-hapi/.agents/skills/autoreview/scripts/autoreview --parallel-tests "node scripts/run-vitest.mjs src/config/config.plugin-validation.test.ts -t \"deduplicates|official external memory slot\" && node scripts/run-vitest.mjs src/config/plugin-auto-enable.channels.test.ts"

Note: node scripts/run-vitest.mjs src/config/config.plugin-validation.test.ts currently fails in this WSL/Node 24 worktree on six fixture-loader cases unrelated to this patch (does not auto-allow config-loaded overrides..., plugin config diagnostics, voice-call schema diagnostics, and plugin heartbeat targets). The changed regression subset and adjacent plugin auto-enable file pass.

Real behavior proof

Behavior addressed: A missing official external plugin referenced in both plugins.entries.<id> and plugins.allow now emits one install-hint warning instead of duplicate warnings for the same missing plugin id. Real environment tested: WSL-local OpenClaw source checkout on PR head 2e69db0a. Exact steps or command run after this patch: Created a temporary openclaw.json containing both plugins.entries.yuanbao.enabled=true and plugins.allow=["yuanbao"], then ran OPENCLAW_HOME=<tmp>/home OPENCLAW_STATE_DIR=<tmp>/state OPENCLAW_CONFIG_PATH=<tmp>/state/openclaw.json node --import tsx src/entry.ts doctor --non-interactive --yes --no-workspace-suggestions. Evidence after fix: The real doctor config preflight emitted one missing-plugin install hint for yuanbao:

head: 2e69db0a
config: plugins.entries.yuanbao + plugins.allow[0]=yuanbao
yuanbao_install_warning_count: 1
warning_line: │  - plugins.entries.yuanbao: plugin not installed: yuanbao — install the  │

Observed result after fix: The runtime doctor path reported only the first actionable warning path, plugins.entries.yuanbao, for the duplicated yuanbao config surfaces. It did not emit a second generic install-hint warning for plugins.allow. What was not tested: A live Windows/Bun startup using the reporter's exact default config path; this proof exercises the same runtime doctor config preflight path that reports config warnings before doctor repairs run.

Changed files

  • src/config/config.plugin-validation.test.ts (modified, +30/-3)
  • src/config/validation.ts (modified, +9/-1)
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

Environment

  • OpenClaw version: 2026.2.17
  • Operating system: Windows 11 24H2
  • Installation method: bun global install openclaw
  • Bun version: 1.3.12

Steps to reproduce

  1. Install or upgrade OpenClaw to version 2026.2.17
  2. Use the default configuration file without any custom plugin configurations
  3. Run openclaw start to start the service
  4. Observe the console output

Expected behavior

  • Missing plugin warnings should only appear for plugins that are explicitly enabled or configured by the user
  • A single missing plugin should only generate one warning message

Actual behavior

The console outputs two identical warnings for the same missing 'yuanbao' plugin:

<img width="966" height="454" alt="Image" src="https://github.com/user-attachments/assets/2fc98e35-235d-436e-8ef8-0e45e56c9a42" />

Steps to reproduce

  1. Install OpenClaw version 5.18 via bun global install
  2. Start OpenClaw with default configuration (no custom plugin entries added)
  3. Check the console output for configuration warnings

Expected behavior

Configuration warnings should only appear for plugins that the user has explicitly enabled or configured in their config file. Each missing plugin should generate exactly one warning message.

Actual behavior

The console outputs two identical configuration warnings for the missing 'yuanbao' plugin, even though it was not configured by the user:

  • plugins.entries.yuanbao: plugin not installed: yuanbao — install the official external plugin with: openclaw plugins install [email protected]
  • plugins.allow: plugin not installed: yuanbao — install the official external plugin with: openclaw plugins install [email protected]

Core OpenClaw functionality continues to work normally.

OpenClaw version

5.18

Operating system

Windows Server 2022 Standard

Install method

No response

Model

custom-zhenze-huhehaote-cmecloud-cn/minimax-m2.5

Provider / routing chain

Custom Provider

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Configuration warnings should only appear for plugins that the user has explicitly enabled or configured in their config file. Each missing plugin should generate exactly one warning message.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - ✅(Solved) Fix [Bug]: Duplicate missing plugin warnings for yuanbao (plugins.entries and plugins.allow) [1 pull requests, 2 comments, 2 participants]