Skip to content

Remove DTS Autochunking - #839

Merged
sophiatev merged 4 commits into
mainfrom
stevosyan/remove-auto-chunking
Nov 5, 2026
Merged

sophiatev merged 4 commits into
mainfrom
stevosyan/remove-auto-chunking

Conversation

@sophiatev

Copy link
Copy Markdown
Contributor

Summary

DTS removed its autochunking support a while back so this PR removes it from this SDK as well.

Copilot AI balanced review requested due to automatic review settings November 5, 2026 19:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Removing public gRPC options breaks source and binary compatibility, while deleting the 5 MiB activity-output test leaves Blob externalization beyond the transport limit without end-to-end coverage.

2 open issues
What changed in this PR

Removes obsolete DTS autochunking configuration and related code, tests, and sample content from the Durable Task SDK, aligning it with the scheduler’s removal of that feature.

Changes:

  • Removes public chunk-size options and chunk metadata resets from payload-failure handling.
  • Deletes chunking-related tests and updates payload-failure tests to remove chunk-size dependencies.
  • Updates documentation and simplifies the large-payload sample.
File Description
test/​Worker/​Grpc.Tests/​GrpcDurableTaskWorkerOptionsTests.cs Deletes chunk-size option validation tests.
test/​Grpc.IntegrationTests/​LargePayloadTests.cs Removes the 5 MiB output externalization test.
test/​Grpc.IntegrationTests/​AutochunkTests.cs Deletes completion and chunking-related integration tests.
test/​Extensions/​AzureBlobPayloads.Tests/​OrchestratorPayloadFailureTests.cs Removes chunk-size configuration and chunk metadata assertions.
src/​Worker/​Grpc/​Internal/​InternalOptionsExtensions.cs Updates callback documentation to omit chunking.
src/​Worker/​Grpc/​GrpcDurableTaskWorkerOptions.cs Removes chunk-size constants and configuration property.
src/​InProcessTestHost/​README.md Removes guidance about SDK response chunking.
src/​Extensions/​AzureBlobPayloads/​Interceptors/​AzureBlobPayloadsSideCarInterceptor.cs Removes chunk metadata resets on permanent payload failures.
samples/​LargePayloadConsoleApp/​Program.cs Removes the multi-activity chunking scenario and revises comments.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 5, 2026 19:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Removing public chunking members breaks source and binary compatibility, while oversized inline actions can leave orchestrations pending instead of failing gracefully.

3 open issues

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 5, 2026 20:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Full-response validation runs before directly registered payload externalizers, causing a 5 MiB activity input to permanently fail the orchestration instead of being externalized.

1 open issue
3 resolved since last review

Review effort: Balanced

@sophiatev
sophiatev merged commit 8bae1c7 into main Nov 5, 2026
10 checks passed
@sophiatev
sophiatev deleted the stevosyan/remove-auto-chunking branch November 5, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants