temporalio / temporalio/sdk-php

[Feature Request] Provide "workflow local"

Open
#545 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
421
Forks
64
Avg merge
1d 1h
Merged PRs (30d)
11

Description

Describe the solution you'd like

Users need a static workflow-local var that is scoped only to the current workflow when accessed via code. Do this however best in PHP to match how one might create a thread local or "async" local. See https://github.com/temporalio/features/issues/571.

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 reviewing the requested workflow-local behavior and the linked Temporal feature request 571. Define how a static value is scoped to the current workflow when accessed from PHP code, and consider the behavior needed to verify that workflow isolation is preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.