-
-
Notifications
You must be signed in to change notification settings - Fork 79.2k
[Bug]: Plugin metadata cache hits flood diagnostics scan spans #86790
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.bugSomething isn't workingSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Plugin metadata cache hits still emit plugins.metadata.scan diagnostics spans, flooding the timeline on hot paths even when the cached snapshot is reused.
Steps to reproduce
Expected behavior
Cache hits should return the memoized plugin metadata snapshot without emitting full scan diagnostics spans; real scans should continue to emit plugins.metadata.scan.
Actual behavior
Profile and timeline evidence showed plugins.metadata.scan count=25478 and repeated cache-hit scan spans associated with plugin metadata hot paths.
OpenClaw version
Current main source checkout before the linked fix branch; exact release build is NOT_ENOUGH_INFO.
Operating system
NOT_ENOUGH_INFO
Install method
Source checkout / development workflow.
Model
NOT_ENOUGH_INFO
Provider / routing chain
NOT_ENOUGH_INFO
Additional provider/model setup details
Not model-specific; this is a gateway/session/plugin hot-path performance issue.
Logs, screenshots, and evidence
Impact and severity
Affected: plugin metadata lookup, gateway control-plane metadata paths, and diagnostics timeline size. Severity: Medium. Frequency: every metadata cache hit in the captured run. Consequence: noisy diagnostics and avoidable per-hit span overhead.
Additional information
Public issue extracted from local redacted performance evidence under
/mnt/c/OpenClaw/bugs/BUG-043-plugin-metadata-scan-cache-hits-flood-the-diagnostics-timeline-and-still-clone-snapshots. Private session labels, transcript paths, setup names, and raw local paths were not included.