temporal
temporal copied to clipboard
Add isCloseEventOnly filter in history service
What changed?
Add logic in history service return the last event when HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT is specified in GetWorkflowExecutionHistory call.
Why?
We had moved this logic to frontend service in the change https://github.com/temporalio/temporal/pull/7179. But this will cause an issue when frontend service is downgraded to an earlier version. Adding this logic in history until the next release. Will remove this after the next release.
How did you test it?
New unit test.
Potential risks
Documentation
Is hotfix candidate?
No
This PR was marked as stale. Please update or close it.