Skip to content

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

What

Add update.Response to proxy

Why?

Without this change payloads under update.Response are skipped by the proxy. This can cause update results to not go through the proxy.

How did you test it?

New unit test added

@Quinn-With-Two-Ns Quinn-With-Two-Ns requested review from a team as code owners February 10, 2025 06:06
Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Can we open a separate issue to have a test that somehow makes sure every payload is visited even if it's not reachable from workflow service? I can think of a few ways to write it.

@Quinn-With-Two-Ns
Copy link
Contributor Author

@cretz temporalio/sdk-go#1809 done

@cretz
Copy link
Member

cretz commented Feb 10, 2025

Thanks, this LGTM, merge away

@Quinn-With-Two-Ns
Copy link
Contributor Author

@cretz Can you please re-review I also noticed we didn't handle any in the failure case

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit dad8b16 into master Feb 10, 2025
4 checks passed
@Quinn-With-Two-Ns Quinn-With-Two-Ns deleted the add-update-response-proxy branch February 10, 2025 17:59
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.

3 participants