temporalio / temporalio/sdk-java
Refactor ReplayWorkflowContext out of WorkflowThread
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 433
- Forks
- 249
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 26
Description
There should be some sort of a generic interceptor that is invoked upon thread initialization instead of the hardcoded dependencies like:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/main/java/com/uber/cadence/internal/sync/WorkflowThreadImpl.java around line 80, then trace how ReplayWorkflowContext and other hardcoded dependencies are used during thread initialization. Define the generic interceptor boundary and verify that initialization no longer depends on those hardcoded dependencies while preserving existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100