temporalio / temporalio/sdk-java

Test service time skipping broken in a child workflow

Open
#1,540 3 comments 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

Expected Behavior

Workflow.sleep in a child workflow uses time skipping with a test service.

Actual Behavior

When a parent calls continue-as-new time skipping in a child is not happening.

Steps to Reproduce the Problem

See https://github.com/temporalio/sdk-java/pull/1539 for reproduction.

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 reproduction in pull request #1539 and trace how the test service handles Workflow.sleep in child workflows when the parent continues as new. Confirm the failure with a focused test, then verify that child-workflow time skipping works in this scenario without regressing existing time-skipping tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.