Skip to content

Conversation

djeer
Copy link

@djeer djeer commented Oct 9, 2025

What was changed

Added SideEffectWithOptions

Why?

We're using SideEffects a lot and from a user perspective it's very hard to navigate the workflow timeline when there are 10-20 side effects in a row. The only way to see what was called there is to check the payload and try to understand which method could return this payload. This PR allows to override "SideEffect" with a custom name, making our users very very happy.

Checklist

  1. Closes SideEffects markers are very difficult to navigate in the timeline #2076

  2. How was this tested:
    We ran in this fork for some time, it's quite minor change, and everything works perfect.

image
  1. Any docs updates needed?

Do we need to change it here? https://docs.temporal.io/develop/go/side-effects
Probably could be limited to this SDK scope.

@djeer djeer requested a review from a team as a code owner October 9, 2025 15:12
@CLAassistant
Copy link

CLAassistant commented Oct 9, 2025

CLA assistant check
All committers have signed the CLA.

@djeer djeer changed the title Add SideEffectOptions with Name parameter Allow overriding SideEffect name via options Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SideEffects markers are very difficult to navigate in the timeline

2 participants