temporalio / temporalio/sdk-java

Add unit test covering scenario of Server outage during Worker sending workflow task execution result

Open
#1,266 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
433
Forks
249
Avg merge
5d 6h
Merged PRs (30d)
26

Description

Is your feature request related to a problem? Please describe.
https://github.com/temporalio/sdk-java/pull/1265 fixed a bug that happens if Temporal Server is down when workers are reporting the results to the Server. But right now there is no ability to test the scenario of such an outage.

Describe the solution you'd like
Temporal SDK should add support for such tests to Test Server. Also, a unit test for this bug and fix should be implemented.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR 1265 and the Temporal Test Server support used by the Java SDK tests. Add a way to simulate a Server outage while a Worker reports a workflow task result, then add a regression test demonstrating the fixed behavior and verify the test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.