Repository navigation
refactor(media): finish orphan facade removal - #125121
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes notedThis PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin or a member of
Security review is still recommended before merge when the dependency graph change is intentional. |
|
Codex review: needs maintainer review before merge. Reviewed August 17, 2026, 2:50 AM ET / 06:50 UTC. ClawSweeper reviewWhat this changesThis PR removes unused media facade packages and SDK exports, then removes their stale build, package, QA-staging, lockfile, label, test, and documentation references. Merge readinessNo blocking correctness findings. This is a coherent follow-up to the merged media-facade cleanup: it makes package, build, activation, QA, and documentation inventories agree with the already-private media runtime ownership. Priority: P3 Review scores
Verification
How this fits togetherBundled media support code is built into package artifacts, selectively activated by the Plugin SDK, and staged for QA before canonical media runtime code executes. This change removes facade paths that no longer participate in that flow. flowchart LR
A[Media facade sources] --> B[Build and package inventory]
B --> C[Plugin SDK activation]
C --> D[Canonical media runtimes]
B --> E[QA plugin staging]
E --> D
Before merge
Agent review detailsSecurityNone. PR surfaceSource -100, Tests -12, Docs -1, Config -25, Other -8. Total -146 across 21 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Retain only the image-generation runtime sidecar, with package exports generated from the canonical public/private SDK inventory and media execution owned by the core runtime modules. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR removes internal facade and package artifacts, not a reported user-facing failure. Is this the best way to solve the issue? Yes. Deleting the stale facade roots is the cleanest solution because current runtime callers already use canonical media modules and the SDK inventory marks the removed video surface private-local. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 29b105beda3c. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Land-ready review is complete on
|
|
Merged via squash.
|
Related: #122874
What Problem This Solves
The earlier media-facade cleanup left three zero-consumer roots behind. Packaging, activation, and QA staging still treated those orphan facades as runtime surfaces even though canonical media execution had already moved into core runtime modules.
Why This Change Was Made
Finish the removal pattern from
abe0cd691dfby deleting the unused private video-generation SDK root, the image-generation API barrel, and the obsolete media-understanding facade package. Remove their build, package, activation, QA, label, lockfile, type-path, and documentation pins while retaining the load-bearingimage-generation-core/runtime-api.jssidecar and the public media-understanding SDK contract.User Impact
No user-visible behavior changes. Installed packages and QA staging no longer carry unused media facade artifacts.
Evidence
node scripts/run-vitest.mjs test/scripts/bundled-plugin-build-entries.test.ts src/plugin-sdk/facade-runtime.test.ts test/openclaw-npm-postpublish-verify.test.ts test/release-check.test.ts extensions/qa-lab/src/gateway-child.test.ts— 251 tests passed across 3 shards.pnpm buildfollowed bypnpm check:changed— passed on Blacksmith Testbox (wrapper exit 0): https://github.com/openclaw/openclaw/actions/runs/31999962518node scripts/check-docs-mdx.mjs docs README.md— passed across 774 files..agents/skills/autoreview/scripts/autoreview --mode uncommitted --stream-engine-output— clean, no accepted/actionable findings.AI-assisted: yes.