Skip to content

feat(streaming): support JSON Azure Queue migration on 3.x - #10508

Merged
ReubenBond merged 15 commits into
dotnet:3.xfrom
ReubenBond:dmkorolev/3.x-stream-json
Aug 17, 2026
Merged

ReubenBond merged 15 commits into
dotnet:3.xfrom
ReubenBond:dmkorolev/3.x-stream-json

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

Summary

Continues and supersedes #9599 from a maintainer-owned fork because the original same-repository branch does not permit maintainer edits.

  • preserves @DeagleGross's Orleans 3.x Azure Queue JSON migration implementation and commit history
  • emits a compact, explicit versioned envelope with textual stream namespace/key fields instead of serializing Orleans' internal batch container and StreamId representation
  • retains reads of prior JSON shapes and binary serialization/deserialization fallback behavior
  • preserves polymorphic event metadata only where needed, using the configured serializer and its type policy
  • adds an exact deterministic wire fixture plus JSON, shared-reference, null-value, precision, and binary-fallback coverage

Wire format

{"version":1,"stream":{"namespace":"test-namespace","key":"00112233445566778899aabbccddeeff"},"events":["test-event"],"requestContext":{"key":"value"}}

The stream.key field contains the raw UTF-8 Orleans stream key. Orleans 3.x GUID streams use the 32-character N format so current Orleans can reconstruct the identical byte-based StreamId while retaining support for arbitrary modern UTF-8 keys.

Validation

dotnet test test\Extensions\Tester.AzureUtils.Migration\Tester.AzureUtils.Migration.csproj --no-restore --filter FullyQualifiedName~Tester.AzureUtils.Migration.Units.AzureQueueDataAdapterMigrationV1Tests

15 passed, 0 failed, 0 skipped.

Microsoft Reviewers: Open in CodeFlow

DeagleGross and others added 14 commits July 1, 2025 15:02
Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 2cd8574b-4108-4bf5-b49a-4294c21435e1
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 60685197-1cd6-4695-ad81-f2bf49a35752
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 60685197-1cd6-4695-ad81-f2bf49a35752
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 60685197-1cd6-4695-ad81-f2bf49a35752
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 60685197-1cd6-4695-ad81-f2bf49a35752
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 60685197-1cd6-4695-ad81-f2bf49a35752
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 60685197-1cd6-4695-ad81-f2bf49a35752
@ReubenBond
ReubenBond merged commit 1f2f4dc into dotnet:3.x Aug 17, 2026
1 check passed
@ReubenBond
ReubenBond deleted the dmkorolev/3.x-stream-json branch August 17, 2026 22:13
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants