Second Brain

Home

❯

_archive

❯

cleanup 2026 04 17 conversation flush bulk

❯

knowledge

❯

critical

❯

simple salesforce mdapi sync calls need asyncio to thread

simple-salesforce-mdapi-sync-calls-need-asyncio-to-thread

Apr 09, 20261 min read

  • domain/salesforce
  • mcp/tools
  • ops/deployment

simple-salesforce-mdapi-sync-calls-need-asyncio-to-thread

All conn.mdapi.* calls in simple-salesforce are synchronous and block the event loop when called from async functions. Every mdapi call must be wrapped in asyncio.to_thread(). 23 violations were found across metadata/operations.py, security/operations.py, integration/operations.py, and utilities/operations.py — a systemic pattern requiring full-file audits.

Related

  • mdapi-deploy-blocking-requires-asyncio-to-thread
  • salesforce-mcp-mdapi-calls-must-be-async-wrapped
  • simple-salesforce-all-mdapi-calls-are-synchronous-must-wrap
  • mdapi-sync-calls-require-asyncio-to-thread-wrapping
  • salesforce
  • mdapi-sync-calls-in-async-functions-require-asyncio-to-threa
  • salesforce-quotation-mandatory-discounts-not-flowing-to-av
  • simple-salesforce-mdapi-sync-must-wrap-asyncio-to-thread
  • salesforce-mcp-23-mdapi-calls-missing-asyncio-to-thread
  • mdapi-sync-calls-in-async-context-require-asyncio-to-thread
  • salesforce-mcp-23-sync-mdapi-calls-in-async-context-law3-vio
  • salesforce-mcp-server-api-v66-spring-26-latest
  • all-mdapi-sync-calls-must-wrap-asyncio-to-thread
  • sfdc-mdapi-async-wrapping-law3-requirement

Graph View

  • simple-salesforce-mdapi-sync-calls-need-asyncio-to-thread
  • Related

Backlinks

  • all-mdapi-sync-calls-must-wrap-asyncio-to-thread
  • mdapi-sync-calls-in-async-context-require-asyncio-to-thread
  • mdapi-sync-calls-in-async-functions-require-asyncio-to-threa
  • salesforce-mcp-23-sync-mdapi-calls-in-async-context-law3-vio
  • sfdc-mdapi-async-wrapping-law3-requirement
  • simple-salesforce-mdapi-sync-must-wrap-asyncio-to-thread
  • mdapi-deploy-blocking-requires-asyncio-to-thread
  • mdapi-sync-calls-require-asyncio-to-thread-wrapping
  • salesforce-mcp-23-mdapi-calls-missing-asyncio-to-thread
  • salesforce-mcp-mdapi-calls-must-be-async-wrapped
  • salesforce-quotation-mandatory-discounts-not-flowing-to-av
  • simple-salesforce-all-mdapi-calls-are-synchronous-must-wrap
  • salesforce-mcp-server-api-v66-spring-26-latest

Created with Quartz v4.5.2 © 2026

  • CIOS
  • Mission Control