dhiaayachi / temporal

Temporal service
https://docs.temporal.io
MIT License
0 stars 0 forks source link

Expose current worker identity for started pending activity #423

Open dhiaayachi opened 2 weeks ago

dhiaayachi commented 2 weeks ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like Expose more info from server internal pending activty info (StartedIdentity). For long running task, it's nice to know which worker picked current task.

Describe alternatives you've considered No.

Additional context same cadence feature request

dhiaayachi commented 1 day ago

Thank you for the feature request! This is a great idea that would be very useful for long-running tasks.

Currently, Temporal doesn't expose the StartedIdentity for pending activities. A possible workaround would be to use a custom activity that logs the worker identity at the beginning of its execution.

We are always looking for ways to improve Temporal and your feedback is valuable. We'll consider this feature request for future releases.

dhiaayachi commented 1 day ago

Thank you for your feature request!

This is a great suggestion. Currently, Temporal does not expose this level of information directly.

For long-running tasks, it's helpful to know which worker is handling the current task. This can be achieved by:

We appreciate your feedback and will consider adding this feature in future releases.