Skip to content

Commit

Permalink
Add support for history streaming (#370)
Browse files Browse the repository at this point in the history
Also: replaced submodule with protobuf download script
  • Loading branch information
cgillum authored Jan 30, 2025
1 parent e9b42f9 commit 5676d0c
Show file tree
Hide file tree
Showing 12 changed files with 859 additions and 51 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
### Microsoft.DurableTask.Worker

- Add new `IDurableTaskWorkerBuilder AddDurableTaskWorker(IServiceCollection, string?)` API
- Add support for work item history streaming

### Microsoft.DurableTask.Grpc

- Replace submodule for proto files with download script for easier maintenance
- Update to latest proto files

## v1.5.0

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,7 @@ There are also several features that aren't yet available:

## Obtaining the Protobuf definitions

This project utilizes git submodules to obtain Protobuf definitions from [durabletask-protobuf](https://github.com/microsoft/durabletask-protobuf). You will need to obtain these to build the project.

To get the definitions, run `git submodule update --init --recursive`
This project utilizes protobuf definitions from [durabletask-protobuf](https://github.com/microsoft/durabletask-protobuf), which are copied (vendored) into this repository under the `src/Grpc` directory. See the corresponding [README.md](./src/Grpc/README.md) for more information about how to update the protobuf definitions.

## Contributing

Expand Down
1 change: 0 additions & 1 deletion azure-pipelines-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ variables:

steps:
- checkout: self
submodules: true

- task: UseDotNet@2
displayName: 'Install .NET 6 SDK (ESRP)' # This is needed for ESRP.
Expand Down
1 change: 0 additions & 1 deletion eng/proto
Submodule proto deleted from 443b33
1 change: 0 additions & 1 deletion eng/templates/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:

steps:
- checkout: self
submodules: true

- task: UseDotNet@2
displayName: 'Install .NET 6 SDK (ESRP)' # This is needed for ESRP.
Expand Down
4 changes: 2 additions & 2 deletions src/Grpc/Grpc.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
Expand All @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup>
<Protobuf Include="$(EngRoot)proto/protos/orchestrator_service.proto" GrpcServices="both" Link="proto/orchestrator_service.proto" />
<Protobuf Include="**/*.proto" GrpcServices="Both" Access="Public" />
</ItemGroup>

</Project>
Binary file modified src/Grpc/README.md
Binary file not shown.
Loading

0 comments on commit 5676d0c

Please sign in to comment.