-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
[Bug]: Plugin metadata hot paths repeat installed manifest filesystem probes #86791
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.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: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.Thin issue quality; more reproduction proof or environment detail is needed.maintainerMaintainer-authored PRMaintainer-authored PR
Description
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.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: 🦪 silver shellfishThin issue quality; more reproduction proof or environment detail is needed.Thin issue quality; more reproduction proof or environment detail is needed.maintainerMaintainer-authored PRMaintainer-authored PR
Type
Fields
Priority
None yet
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
Gateway plugin metadata hot paths repeatedly resolve and stat stable installed manifest/package metadata when fingerprinting the same installed plugin index object.
Steps to reproduce
Expected behavior
Repeated fingerprint requests for the same process-local InstalledPluginIndex object should reuse the computed fingerprint and avoid restatting manifest/package files.
Actual behavior
Profile evidence showed lstat/realpathSync/stat chains under resolveInstalledManifestRegistryIndexFingerprint, buildInstalledManifestRegistryIndexKey, resolvePackageJsonPath, and plugin metadata snapshot lookup.
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 discovery/manifest registry and gateway plugin metadata control-plane lookups. Severity: Medium. Frequency: repeated hot metadata calls in the captured profile. Consequence: avoidable synchronous filesystem probes on stable process metadata.
Additional information
Public issue extracted from local redacted performance evidence under
/mnt/c/OpenClaw/bugs/BUG-044-gateway-hot-paths-still-perform-repeated-synchronous-filesystem-probes-for-stable-metadata. Private session labels, transcript paths, setup names, and raw local paths were not included.