temporalio / temporalio/sdk-typescript
[Feature Request] Include information about runtime in heartbeat
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 917
- Forks
- 224
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 43
Description
It'll be useful to understand what runtime environment a worker is operating in now that we support bun. We should include in the worker heartbeat some info about whether we're on node or bun, what version we're at, etc. If we can discern if we're inside a Vercel instance or similar, that would also be worth differentiating.
Sending this should be opt-out.
This will require an API PR to add the info to the worker heartbeat, and coordinating with server/obs teams to get it plumbed through.
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
Locate the worker heartbeat implementation and review the heartbeat API contract, then identify how runtime and hosting-environment details can be gathered for Node and Bun. Coordinate with the API and server/observability teams described in the issue. Done means the information is sent by default, supports opt-out, and is plumbed through the receiving systems.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bun, nodejs, typescript
- Domain
- api, backend, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100