temporalio / temporalio/features

[Feature Request] Don't allow apis that generate commands to be invoked from side effects

Open
#177 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
32
Forks
28
Avg merge
1d 9h
Merged PRs (30d)
7

Description

Currently it's possible to for example invoke activities from inside workflow side effect. This leads to non-deterministic errors on internal wf replay.

Feature request is to no allow any apis that generate commands to be invoked from inside side effects.

Contributor guide

No contributing guide indexed for this repository

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 tracing how workflow side effects invoke activities and other APIs that generate commands. Determine which command-generating APIs must be rejected during side effects and how existing behavior and history-compatibility tests represent this case. Done means such invocations are consistently prevented and the replay failure described in the issue is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Feature
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.