Merged
Conversation
This reverts commit 34780a9.
YunchuWang
previously approved these changes
Apr 6, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts the previously-added “large payload support” feature (PR #272) across the Java SDK, removing the blob-backed payload externalization module and all related client/worker/runtime hooks.
Changes:
- Removes the
azure-blob-payloadsmodule and itsServiceLoader-based provider wiring. - Deletes large-payload APIs/helpers (e.g.,
PayloadStore,LargePayloadOptions) and removes payload interception/chunking logic fromclientandazurefunctions. - Removes unit + integration tests that validated large payload externalization behavior.
Reviewed changes
Copilot reviewed 27 out of 27 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
settings.gradle |
Removes :azure-blob-payloads from the Gradle multi-project build. |
client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcWorkerBuilder.java |
Reverts builder fields/methods for large payload externalization and response chunk sizing. |
client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcWorker.java |
Removes payload resolution/externalization, capability announcement, and orchestrator-response chunking behavior. |
client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcClientBuilder.java |
Removes client builder configuration for payload externalization. |
client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcClient.java |
Removes client-side payload externalization and metadata payload resolution logic. |
client/src/main/java/com/microsoft/durabletask/OrchestrationRunner.java |
Removes overloads that accepted a PayloadStore / LargePayloadOptions and strips request/response payload interception. |
azurefunctions/src/main/java/com/microsoft/durabletask/azurefunctions/internal/middleware/OrchestrationMiddleware.java |
Removes PayloadStoreProvider discovery and stops passing a payload store into OrchestrationRunner. |
client/src/main/java/com/microsoft/durabletask/LargePayloadOptions.java |
Deletes large payload threshold/max configuration type. |
client/src/main/java/com/microsoft/durabletask/PayloadHelper.java |
Deletes helper that externalized/resolved payloads based on thresholds. |
client/src/main/java/com/microsoft/durabletask/PayloadInterceptionHelper.java |
Deletes protobuf interception logic for resolving/externalizing payload fields. |
client/src/main/java/com/microsoft/durabletask/PayloadStore.java |
Deletes payload store abstraction interface. |
client/src/main/java/com/microsoft/durabletask/PayloadStoreProvider.java |
Deletes SPI for discovering PayloadStore implementations. |
client/src/main/java/com/microsoft/durabletask/PayloadTooLargeException.java |
Deletes exception used for max-payload enforcement and chunking errors. |
client/src/test/java/com/microsoft/durabletask/DurableTaskGrpcWorkerBuilderTest.java |
Removes tests for chunk size validation and payload-store builder configuration. |
client/src/test/java/com/microsoft/durabletask/LargePayloadIntegrationTests.java |
Removes end-to-end integration tests for large payloads + autochunk scenarios. |
client/src/test/java/com/microsoft/durabletask/LargePayloadOptionsTest.java |
Removes unit tests for large payload option validation/defaults. |
client/src/test/java/com/microsoft/durabletask/OrchestrationRunnerPayloadTest.java |
Removes runner tests covering payload resolution/externalization paths. |
client/src/test/java/com/microsoft/durabletask/PayloadHelperTest.java |
Removes unit tests for thresholding and token resolution logic. |
client/src/test/java/com/microsoft/durabletask/PayloadInterceptionHelperTest.java |
Removes unit tests for protobuf payload interception behavior. |
azure-blob-payloads/build.gradle |
Deletes the module build definition and Azure SDK dependencies. |
azure-blob-payloads/spotbugs-exclude.xml |
Removes SpotBugs exclusions for the deleted module. |
azure-blob-payloads/src/main/resources/META-INF/services/com.microsoft.durabletask.PayloadStoreProvider |
Removes ServiceLoader registration for the blob payload store provider. |
azure-blob-payloads/src/main/java/com/microsoft/durabletask/azureblobpayloads/AzureBlobPayloadsExtensions.java |
Deletes builder extension helpers for enabling blob payload externalization. |
azure-blob-payloads/src/main/java/com/microsoft/durabletask/azureblobpayloads/BlobPayloadStore.java |
Deletes Azure Blob Storage implementation of PayloadStore. |
azure-blob-payloads/src/main/java/com/microsoft/durabletask/azureblobpayloads/BlobPayloadStoreOptions.java |
Deletes blob store configuration options type. |
azure-blob-payloads/src/main/java/com/microsoft/durabletask/azureblobpayloads/BlobPayloadStoreProvider.java |
Deletes env-var driven provider that enabled blob payload externalization. |
azure-blob-payloads/src/test/java/com/microsoft/durabletask/azureblobpayloads/BlobPayloadStoreOptionsTest.java |
Deletes unit tests for blob store options validation/defaults. |
client/src/main/java/com/microsoft/durabletask/DurableTaskGrpcWorkerBuilder.java
Show resolved
Hide resolved
YunchuWang
approved these changes
Apr 7, 2026
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.
This reverts commit 34780a9. This feature will get added again once autochunking improvements are made.
Pull request checklist
CHANGELOG.mdAdditional information
Additional PR information