temporalio / temporalio/sdk-typescript
Validate single version of packages
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 917
- Forks
- 224
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 43
Description
Is your feature request related to a problem? Please describe.
Users run into errors when they accidentally have multiple versions of our packages installed, for example this.
Describe the solution you'd like
Roey:
- we should add some validation for this, e.g. export the version from worker-interface.ts and check on the worker side
- We should also verify in the workflow context that only 1 version of @temporalio/workflow is imported
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 reading worker-interface.ts and the workflow context mentioned in the issue to understand where package versions are exposed and loaded. Trace how the worker and workflow code interact, then define validation for multiple package versions; done means accidental duplicate versions are detected in both described areas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100