The following is more information about how to develop this project. Note that development commands require that make is installed on your local machine. If you're using Windows, you can install make using Chocolatey or use WSL.
pip3 install -r dev-requirements.txt
make gen-protoThis will download the orchestrator_service.proto from the microsoft/durabletask-protobuf repo and compile it using grpcio-tools. The version of the source proto file that was downloaded can be found in the file durabletask/internal/PROTO_SOURCE_COMMIT_HASH.
Unit tests can be run using the following command from the project root. Unit tests don't require a sidecar process to be running.
make test-unitThe E2E (end-to-end) tests require a sidecar process to be running. You can use the Durable Task test sidecar using the following docker command:
go install github.com/microsoft/durabletask-go@main
durabletask-go --port 4001To run the E2E tests, run the following command from the project root:
make test-e2e