temporalio / temporalio/sdk-rust

[Bug] LA Fixes to port from Java

Open
#449 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
523
Forks
161
Avg merge
1d 7h
Merged PRs (30d)
67

Description

Just capturing notes, handful of things to fix that we learned about while refactoring Java.

  • https://github.com/temporalio/sdk-core/issues/446
  • Local retry threshold tied to WFT timeout - 3x or whatever, for default.
  • Use retry state so I'm accepting of changes to retry policy or timeout adjustments w/o causing nondeterminism error.
  • Cancel of LA if WFT already failed for some other reason - don't orphan LAs

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 reading the linked sdk-core issue 446 and the Java refactoring changes that produced these notes. Trace local activity retry thresholds, retry-state handling, and cancellation when the workflow task has already failed. Done means the listed cases are addressed without nondeterminism errors or orphaned local activities, with relevant tests added or updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.