temporalio / temporalio/features

Access to workflow/activity instance created by Temporal from workflow/activity context where applicable

Open
#572 1 comment 1 reaction 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

Describe the solution you'd like

For instances created by Temporal, they should be accessible from the context. Users want to access the actual class instance of a workflow from, say, an interceptor. This needs to be made available from the workflow context as the "instance". Note this is not applicable to Go and TypeScript. And for Java, PHP, Ruby, and .NET (DI only), the activity instance should be made available from the activity context (since they create the instance and control its lifetime).

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 reviewing the linked issues for the Java, Python, .NET, Ruby, and PHP SDKs, since this feature spans multiple repositories and excludes Go and TypeScript. Done means applicable workflow or activity contexts expose the Temporal-created instance while preserving the stated language-specific exclusions and activity lifetime constraints.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, java, php, python, ruby
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.