temporalio / temporalio/sdk-java

Test server does not decrement time skipping lock for outstanding activities on workflow completion

Open
#1,138 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Steps to Reproduce the Problem

https://github.com/temporalio/sdk-typescript/blob/0f4c391e897d833fadae54fe3b2dc9afdee47720/packages/test/src/test-testenvironment.ts#L87

Expected Behavior

Calling sleep in the second activity should complete immediately

Actual Behavior

The second activity sleeps in normal time

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 with the linked packages/test/src/test-testenvironment.ts reference at line 87, then locate the corresponding Java test-server time-skipping and workflow-completion path. Reproduce the scenario and verify that sleep in the second activity completes immediately after workflow completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.