Repository navigation
feat: offload large payloads via external storage - #1699
Closed
jmaeagle99 wants to merge 3 commits into
Closed
jmaeagle99 wants to merge 3 commits into
jmaeagle99 wants to merge 3 commits into
Conversation
jmaeagle99
force-pushed
the
extstore-integration
branch
from
October 26, 2026 20:21
97dd5a2 to
ce8b9cd
Compare
jmaeagle99
force-pushed
the
extstore-integration
branch
from
October 26, 2026 21:44
ce8b9cd to
d1fa668
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was changed
External storage now works end to end in the Rust SDK, behind the
experimentalfeature. Configure a driver withDataConverter::with_external_storage, and any payload at or above the size threshold is handed to the driver and replaced in history by a small reference. References are swapped back for their payloads before anything reads them.StorageDriverError, which any error converts into with?. The SDK reportsExternalStorageError, which every client error type now carries as its own variant. Configuration problems areExternalStorageConfigError. To publish the runtime error beside the driver contracts,temporalio_common::data_convertersis now a module of its own that re-exports everything it did before.experimental, with its current limitations listed onExternalStorage.Why?
Enable evaluation of external storage feature in the Rust SDK. Configuration lands together with the worker and client paths.
Out of scope
These are deliberately left for follow-up changes and are listed as limitations in the docs:
None.Checklist
Integration tests with an in-memory driver: a workflow passes a large value through an activity and returns it, and the raw history is checked for references in place of the workflow input, the activity input and the result; an update sends and returns a large value through the client and worker; and a driver that fails to store surfaces as the client's
ExternalStorageerror. Unit tests cover the runner's error reporting and its behavior with no storage configured. The existing data converter, update, query, schedule, async activity and standalone activity integration suites pass, along withcargo lint,cargo test-lintandcargo +nightly fmt.