Dmitry Spikhalsky
Dmitry Spikhalsky
## Actual Behavior java-sdk builds in buildkite started to fail often on flaky `TerminatedWorkflowQueryTest#testShouldReturnQueryResultAfterWorkflowTimeout` ## Stacktrace from a locally reproduced failure: ``` io.temporal.client.WorkflowQueryException: workflowId='fa83465b-18c6-424c-a959-0259996b2876', runId='72baee4f-8b00-4914-aace-db0d505606ed', workflowType='testActivity'} at io.temporal.internal.sync.WorkflowStubImpl.query(WorkflowStubImpl.java:349) at io.temporal.testing.TestWorkflowEnvironmentInternal$TimeLockingInterceptor$TimeLockingWorkflowStub.query(TestWorkflowEnvironmentInternal.java:369)...
Cold JVM is very vulnerable to JavaSDK Potential Deadlock fiting. Below there is a stacktrace with PotentialDeadlockException fires on workflow-root thread which doesn't have any user code at all and...
## Actual behavior https://github.com/Spikhalskiy/java-sdk/commit/40c0d626e0ea4778a956e388d33754e67bde23a8#diff-7cfba47d2337ff3ee746b09a4d916e5e839f9b8bff45a26e588727667437c160R94 ``` @Test public void executeAndGetResultFromStub() throws InterruptedException, ExecutionException { TestNoArgsWorkflowProc stubP = testWorkflowRule.newWorkflowStubTimeoutOptions(TestNoArgsWorkflowProc.class); WorkflowStub workflowStub = WorkflowStub.fromTyped(stubP); CompletableFuture executeCF = WorkflowClient.execute(stubP::proc); // This test hangs (times...
`describeWorkflowExecution` is an API that is used regularly for a large range of checks by the users, Temporal SDK should expose it as a part of the official WorkflowStub API....
## Expected Behavior ``` @WorkflowInterface public interface ReportingWorkflow extends TemporalWorkflow { @WorkflowMethod ReportQueriesResponse runReport(ReportQueries reportQueries); } public interface TemporalWorkflow extends TemporalRunnable { @QueryMethod T getResults(); } ``` Temporal JavaSDK should...
Workflow metadata resolution code registers an overridden method from parent class as a second query
## Expected Behavior Such a workflow interfaces hierarchy: ``` @WorkflowInterface public interface ReportingWorkflow extends TemporalWorkflow { @WorkflowMethod ReportQueriesResponse runReport(ReportQueries reportQueries); @QueryMethod @Override ReportQueriesResponse getResults(); } public interface TemporalWorkflow extends TemporalRunnable...
# Description User experience improvements # Core Objectives Some parts of the JDK APIs are not easy to use, require workarounds, and seemingly unneeded additional artificial efforts from users to...
As we have `WorkflowStub#fromTyped`, we should have `ActivityStub#fromTyped`. Untyped activity stubs have significantly limited usage in comparison with WorkflowStub, but there is no reason why there shouldn't be a unified...
## Expected Behavior Workflow code should be able to catch `CancellationFailure`, handle or ignore it and be able to finish executing successfully. Test https://github.com/Spikhalskiy/java-sdk/commit/eada50399b6d24c77d4b6e37cd500907594a189a#diff-a2baafb2fd6213bafb49077bd60c8efeedc6c15df86437e9c8e2ef87ce23625cR58 expected to pass ## Actual Behavior...
**Is your feature request related to a problem? Please describe.** PollWorkflowTaskQueueResponse has the information about the WorkflowTask and contains some pieces of information that may be needed for reporting/logging. Specifically,...