openclaw - ✅(Solved) Fix Duplicate Feishu plugin registration logs in 2026.3.24 [1 pull requests, 1 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#54949Fetched 2026-04-08 01:34:12
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
cross-referenced ×1

After upgrading from 2026.3.23 to 2026.3.24, the Feishu plugin registration logs appear twice in openclaw logs --follow and openclaw status output.

Root Cause

After upgrading from 2026.3.23 to 2026.3.24, the Feishu plugin registration logs appear twice in openclaw logs --follow and openclaw status output.

Fix Action

Fix / Workaround

Steps to reproduce

  1. Upgrade to OpenClaw 2026.3.24
  2. Run openclaw logs --follow or openclaw status
  3. Observe duplicate plugin registration logs

PR fix notes

PR #55023: fix: prevent duplicate Feishu plugin tool registration

Description (problem / solution / changelog)

Fixes #54949

Feishu plugin tools were being registered twice on gateway startup in v2026.3.24.

Changed files

  • extensions/feishu/index.ts (modified, +4/-0)

Code Example

05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_doc: Registered feishu_doc, feishu_app_scopes
05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_chat: Registered feishu_chat tool
05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_wiki: Registered feishu_wiki tool
05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_drive: Registered feishu_drive tool
05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_bitable: Registered bitable tools
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_doc: Registered feishu_doc, feishu_app_scopes
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_chat: Registered feishu_chat tool
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_wiki: Registered feishu_wiki tool
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_drive: Registered feishu_drive tool
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_bitable: Registered bitable tools
RAW_BUFFERClick to expand / collapse

Duplicate Feishu plugin registration logs in 2026.3.24

Environment

  • OpenClaw version: 2026.3.24 (cff6dc9)
  • OS: Linux 6.6.117-45.1.oc9.x86_64 (OpenCloudOS)
  • Node: v24.14.0
  • Install method: pnpm global

Description

After upgrading from 2026.3.23 to 2026.3.24, the Feishu plugin registration logs appear twice in openclaw logs --follow and openclaw status output.

Steps to reproduce

  1. Upgrade to OpenClaw 2026.3.24
  2. Run openclaw logs --follow or openclaw status
  3. Observe duplicate plugin registration logs

Expected behavior

Each plugin should only log its registration once.

Actual behavior

Feishu plugin tools are logged twice:

05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_doc: Registered feishu_doc, feishu_app_scopes
05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_chat: Registered feishu_chat tool
05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_wiki: Registered feishu_wiki tool
05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_drive: Registered feishu_drive tool
05:52:44+00:00 info plugins {"subsystem":"plugins"} feishu_bitable: Registered bitable tools
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_doc: Registered feishu_doc, feishu_app_scopes
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_chat: Registered feishu_chat tool
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_wiki: Registered feishu_wiki tool
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_drive: Registered feishu_drive tool
05:52:46+00:00 info plugins {"subsystem":"plugins"} feishu_bitable: Registered bitable tools

Configuration

  • Only built-in Feishu plugin is enabled
  • No local Feishu plugin in ~/.openclaw/extensions/
  • openclaw config get plugins.entries.feishu shows only one entry
  • openclaw status --deep shows Feishu channel status as OK

Impact

  • Functionality is not affected
  • Feishu channel works correctly
  • Only log output is duplicated (cosmetic issue)

Additional context

This issue was not present in 2026.3.23. The duplicate logs appear consistently on every gateway restart.

extent analysis

Fix Plan

To fix the duplicate Feishu plugin registration logs, we need to modify the plugin registration logic to ensure that each plugin is only logged once.

Here are the steps:

  • Modify the plugins/index.js file to keep track of registered plugins.
  • Add a check before logging a plugin registration to ensure it hasn't been logged before.

Example code:

// plugins/index.js
const registeredPlugins = new Set();

// ...

function registerPlugin(plugin) {
  if (registeredPlugins.has(plugin.name)) {
    return;
  }
  registeredPlugins.add(plugin.name);
  // Log plugin registration
  console.log(`Registered ${plugin.name} plugin`);
}

Alternatively, if the issue is caused by the plugin being initialized twice, we can modify the initialization logic to ensure that each plugin is only initialized once.

Example code:

// plugins/index.js
const initializedPlugins = new Set();

// ...

function initPlugin(plugin) {
  if (initializedPlugins.has(plugin.name)) {
    return;
  }
  initializedPlugins.add(plugin.name);
  // Initialize plugin
  plugin.init();
}

Verification

To verify that the fix worked, restart the gateway and run openclaw logs --follow or openclaw status. The Feishu plugin registration logs should no longer be duplicated.

Extra Tips

  • Make sure to test the fix in a development environment before deploying it to production.
  • Consider adding a unique identifier to each log message to help identify duplicate logs.
  • If the issue persists, try debugging the plugin registration logic to identify the root cause of the duplication.

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

Each plugin should only log its registration once.

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 Duplicate Feishu plugin registration logs in 2026.3.24 [1 pull requests, 1 participants]