Skip to content

fix(plugins): remove test-only snapshot publisher - #189770

Merged
roboclaw-bot merged 1 commit into
mainfrom
main-ci/l182-deadcode
Oct 31, 2026
Merged

roboclaw-bot merged 1 commit into
mainfrom
main-ci/l182-deadcode

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

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:dependencies and pnpm 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 8088fcd1f416851087eafbe4d356689f749a449d and matches accepted commit d23ec75d4dab; 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

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
roboclaw-bot marked this pull request as ready for review October 31, 2026 21:18
@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 31, 2026 21:24
@roboclaw-bot
roboclaw-bot merged commit a6a2378 into main Oct 31, 2026
186 of 188 checks passed
@roboclaw-bot
roboclaw-bot deleted the main-ci/l182-deadcode branch October 31, 2026 21:28
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash auto-merge.

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant