Repository navigation
fix(plugins): remove test-only snapshot publisher - #189770
Merged
Merged
Conversation
Use the staged snapshot API in its test consumers and child-process proof. Stage and publish already settle their own cleanup, so the production wrapper has no runtime caller. Co-authored-by: steipete <[email protected]>
roboclaw-bot
marked this pull request as ready for review
October 31, 2026 21:18
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Collaborator
Author
|
Merged via squash auto-merge.
|
This was referenced Oct 31, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 1, 2026
Use the staged snapshot API in its test consumers and child-process proof. Stage and publish already settle their own cleanup, so the production wrapper has no runtime caller. 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.
What Problem This Solves
Fixes the dependency checks failing after installed plugin snapshots gained a publisher with no production caller.
Found in scheduled full run 41238866951, head
8100edf85a07788d5ffc08c6496ed3238860c6ca, job check-dependencies / 124648551877. Introduced by 8e6129a813f8 (#189624).User Impact
No user-visible change or production behavior change. The existing staged publication owner and all cleanup guarantees remain.
Why This Change Was Made
Remove the test-only production wrapper and use the staged API directly in both existing test consumers, including the child-process proof.
Evidence
Two complete snapshot consumer files: 32 tests; both
pnpm deadcode:dependenciesandpnpm deadcode:exports. Production -11 lines; test migration preserves existing assertions.The accepted l182 repair has red-before/green-after focused proof, scoped TypeScript, typed lint, format, whitespace, and independent canonical Codex autoreview (P0–P2, scoped-clean, no remaining findings). The reviewed source snapshot was based on
8088fcd1f416851087eafbe4d356689f749a449dand matches accepted commitd23ec75d4dab; mechanical splitting preserves that delta. The complete accepted source delta is unchanged; source freshness and exact-head native review are checked before landing. Only the focused proof above is replayed here; PR CI supplies broader exact-head coverage. Local runtime is Linux/Node 26; CI runtime coverage remains separate.Simplification and test audit: the change uses existing owners, removes superseded machinery where applicable, and preserves the independent assertions.
Requested by @steipete
Work sessions
Discussion, implementation and verification