sf-lwc-deploy-passes-dict-not-zip-preexisting-design-flaw
sf_lwc_deploy was always broken — it builds a metadata_package dict (package.xml manifest structure) and passes it directly to mdapi.deploy() which expects a zip file. The correct fix requires querying LWC bundle + resource files via Tooling API from source org, building a proper metadata zip (package.xml + lwc files), then deploying via mdapi.deploy(). This was never caught because the tool failed before the sandbox arg bug.
Related
- simple-salesforce-mdapi-deploy-expects-path-or-bytesio-not-b
- mdapi-deploy-blocking-requires-asyncio-to-thread
- simple-salesforce-mdapi-deploy-returns-tuple-not-dict
- sf-deploy-metadata-mcp-tool-bug-missing-sandbox-param
- simple-salesforce-deploy-sandbox-positional-arg-required
- sf-lwc-deploy-preexisting-design-flaw-dict-not-zip
- salesforce-metadata-api-zip-no-src-prefix
- salesforce-metadata-api-zip-root-paths-no-src-prefix
- salesforce-analytics-dashboard-create-api-expects-flat-json
- salesforce-quotation-car-park-excluded-from-av-computation
- qad-applied-offer-field-never-populated
- notebooklm-notebook-get-subsumes-source-list
- sf-lwc-deploy-required-full-rewrite-tooling-api-approach