You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(execution,connectors): offload large function inputs; harden KB connector size limits
Addresses a class of 10 MB limit failures:
- executor/variables: offload over-budget function block-output context values to
durable large-value refs (lazy `sim.values.read`) so JS function blocks can merge
medium files without exceeding the 10 MB inter-block request-body cap.
- connectors: stream downloads via `readBodyWithLimit` (memory-safe), and surface
oversized files as visible `failed` KB documents instead of silently dropping them
— listing-time for github/s3/dropbox/onedrive/sharepoint, fetch-time for
gitlab/azure/google-drive via a shared `ConnectorFileTooLargeError`. Raise the
per-file cap from a hardcoded 10 MB to the canonical 100 MB KB document limit
(`CONNECTOR_MAX_FILE_BYTES`), except Google Drive's export path (Google's hard
10 MB export-API limit).
- sync-engine: `classifyExternalDoc` + bulk `skipDocuments` (failed rows with a
reason, excluded from retry), byte-bounded batch concurrency to cap peak worker
memory at the raised cap, and a `metadata.fileSize ?? size` fallback.
0 commit comments