Repository navigation
fix(plugins): keep entry pairs aligned when rebuilding metadata - #174732
Merged
Merged
Conversation
Replace selected source and compiled counterparts in place using explicit runtime mappings and canonical full-path candidate order. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: e3b54727-ed87-4aa2-9b6d-a54a03b6e1e8
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
roboclaw-bot
marked this pull request as ready for review
October 16, 2026 22:05
roboclaw-bot
enabled auto-merge (squash)
October 16, 2026 22:08
Collaborator
Author
|
Merged via squash auto-merge.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 17, 2026
…claw#174732) * fix(plugins): keep entry pairs aligned when rebuilding metadata Replace selected source and compiled counterparts in place using explicit runtime mappings and canonical full-path candidate order. Co-authored-by: steipete <[email protected]> * fix(plugins): keep entry pairs aligned when rebuilding metadata Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: e3b54727-ed87-4aa2-9b6d-a54a03b6e1e8 --------- Co-authored-by: steipete <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #129419
What Problem This Solves
Fixes plugin packages becoming uninstallable or discovering duplicate entries when
plugins build --entryswitches between a source entry and its compiled output.User Impact
Plugin authors can rebuild metadata without appending a second copy of the selected plugin or changing sibling source/runtime pairs. Unrelated entries with the same filename remain intact. No migration or new configuration is required.
Why This Change Was Made
Replace only the selected full-path counterpart at its existing position, honoring explicit positional runtime mappings and the shared compiled-entry candidate order. This is a narrow current-main replacement for the older basename-wide proposal, not a merge of its stale ancestry.
Evidence
ecb7197c3099: the real metadata build appended an entry, and the real directory installer rejected its generated package; full-path source/runtime replacement cases also failed.security-fastandopenclaw/ci-gate.pnpm buildpassed (4m 18.4s).a57cf2404e40f2d4f9ec735ba0fdf0edfc3798e3; no external plugin or live Gateway state is used. Native exact-head auto-merge landed asfacbe21ddf986047e97c39a5a0de2471f16c5bed.Production delta: +39/-6; tests: +93/-0. The replacement logic necessarily grows to express full-path identity and runtime precedence rather than unsafe basename deduplication. Simplification keeps this at the existing metadata writer and reuses the runtime candidate owner; no new public API or compatibility shim.
Worked on by
Work sessions
View the OpenClaw team session