temporalio / temporalio/sdk-typescript
[Feature Request] Provide WorkflowInfo.initiator?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 917
- Forks
- 224
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 43
Description
If this is helpful to users, we could expose startWorkflow.continueInitiator as WorkflowInfo.more.initiator: Initiator. Currently we're not, but I'm opening this issue to see if there are any user requests / use cases for it.
export enum Initiator {
Unspecified = 0,
ContinueAsNew = 1,
Retry = 2,
Cron = 3,
}
One possible use case is determining whether the current Execution was initiated due to retry vs continue as new.
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 by tracing the TypeScript definitions and entry points for WorkflowInfo.more and startWorkflow.continueInitiator. Confirm whether exposing Initiator is supported by the current API shape, then identify concrete user requests or use cases before defining what completion means; the issue currently has no agreed acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100