You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
## placeholder
2
+
* Add automatic proto file download and commit hash tracking during build ([#207](https://github.com/microsoft/durabletask-java/pull/207))
2
3
* Fix infinite loop when use continueasnew after wait external event ([#183](https://github.com/microsoft/durabletask-java/pull/183))
3
4
* Fix the issue "Deserialize Exception got swallowed when use anyOf with external event." ([#185](https://github.com/microsoft/durabletask-java/pull/185))
This directory contains the protocol buffer definitions used by the Durable Task Framework Java SDK. The files in this directory are automatically downloaded and updated during the build process from the [microsoft/durabletask-protobuf](https://github.com/microsoft/durabletask-protobuf) repository.
4
+
5
+
## Directory Structure
6
+
7
+
-`protos/` - Contains the downloaded proto files
8
+
-`PROTO_SOURCE_COMMIT_HASH` - Contains the commit hash of the latest proto file version
9
+
10
+
## Auto-Update Process
11
+
12
+
The proto files are automatically downloaded and updated when running Gradle builds. This is handled by the `downloadProtoFiles` task in the `client/build.gradle` file. The task:
13
+
14
+
1. Downloads the latest version of `orchestrator_service.proto`
15
+
2. Saves the current commit hash for tracking purposes
16
+
3. Updates these files before proto compilation begins
17
+
18
+
## Manual Update
19
+
20
+
If you need to manually update the proto files, you can run:
0 commit comments