Conversation
Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
Signed-off-by: Javier Aliaga <javier@diagrid.io>
1769cee to
d7bd353
Compare
Signed-off-by: Javier Aliaga <javier@diagrid.io>
d7bd353 to
864f62c
Compare
Signed-off-by: Javier Aliaga <javier@diagrid.io>
| ref: upgrade-dockerfile | ||
| path: durabletask-sidecar | ||
|
|
||
| # TODO: Move the sidecar into a central image repository |
There was a problem hiding this comment.
Do we want this or are we happy this way?
There was a problem hiding this comment.
@javier-aliaga I get the idea.. but it looks like durabletask-go sidecar is not fully compatible with all the features in the java implementation right?
There was a problem hiding this comment.
exactly, there are things we do not support
Signed-off-by: Javier Aliaga <javier@diagrid.io>
| assertThrows(TimeoutException.class, () -> client.waitForInstanceStart(instanceId, Duration.ofSeconds(2))); | ||
| var instanceId = UUID.randomUUID().toString(); | ||
| Thread thread = new Thread(() -> { | ||
| client.scheduleNewOrchestrationInstance(orchestratorName, null, instanceId); |
There was a problem hiding this comment.
this call is blocking until it finishes
|
|
||
| DurableTaskClient client = new DurableTaskGrpcClientBuilder().build(); | ||
| try (worker; client) { | ||
| client.createTaskHub(true); |
There was a problem hiding this comment.
same reason as purgeInstance, it is not implemented
There was a problem hiding this comment.
the main problem with all this is that in our implementation we do no support all the features the library supports and I am not sure we want to
There was a problem hiding this comment.
but in the backend implementation what it does is initialize the persistence. https://github.com/dapr/durabletask-go/blob/1cae3eb4b56b1970ea0bfca29015c0e2add24781/backend/sqlite/sqlite.go#L99
|
|
||
| DurableTaskClient client = new DurableTaskGrpcClientBuilder().build(); | ||
| try (worker; client) { | ||
| client.createTaskHub(true); |
Signed-off-by: Javier Aliaga <javier@diagrid.io>
cicoyle
left a comment
There was a problem hiding this comment.
One comment then Im mostly good with this PR. Im ok disabling the tests we dont support for now, but can you open issues in the java-sdk and add the durabletask label so we dont forget to come back to it in the future?
|
I added an issue dapr/java-sdk#1438 |
Issue describing the changes in this PR
Move integration test to use durabletask-go as sidecar instead of the actual user one
resolves #issue_for_this_pr
Pull request checklist
CHANGELOG.mdAdditional information
Additional PR information