Skip to content

test: add a stream-service sample with a resource built from a ref - #62

Closed
moetemp wants to merge 3 commits into
moe/up/dotnet-resource-property-name-2from
moe/up/stream-service-sample
Closed

moetemp wants to merge 3 commits into
moe/up/dotnet-resource-property-name-2from
moe/up/stream-service-sample

Conversation

@moetemp

@moetemp moetemp commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

What changed?

This PR adds the stream-service sample for Python, TypeScript and .NET, with today's output. It is the shape that a stream API needs:

  • A stream resource built from a stream-ref record, with append-records, close, read-records and describe.
  • 64-bit offsets, a long-poll read with from-offset, next-offset and done, and payload and duration fields.
  • A create-stream operation that returns the resource.

Why?

Later fixes show their effect as a golden diff on this sample.

How did you test it?

The goldens only.

This PR is based on fork PR #66 (on #61). A stub fails the Python checks, and the stream field of the stream resource needs the .NET fix.

@moetemp moetemp changed the title [Upstream] test: add a stream-service sample with a resource built from a ref [UPSTREAM-2] test: add a stream-service sample with a resource built from a ref Oct 22, 2026
@moetemp moetemp changed the title [UPSTREAM-2] test: add a stream-service sample with a resource built from a ref [UPSTREAM-3] test: add a stream-service sample with a resource built from a ref Oct 23, 2026
@moetemp
moetemp changed the base branch from moe/up/resource-method-record-result to moe/up/dotnet-resource-property-name-2 October 23, 2026 01:32
@moetemp moetemp changed the title [UPSTREAM-3] test: add a stream-service sample with a resource built from a ref test: add a stream-service sample with a resource built from a ref Oct 23, 2026
@moetemp

moetemp commented Oct 23, 2026

Copy link
Copy Markdown
Owner Author

Opened upstream as temporalio#273.

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.

1 participant