You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add methods on Worker to get registered workflows and activities (#1342)
Introduce the following methods to the WorkflowRegistry and ActivityRegistry interfaces:
GetRegisteredWorkflows
GetWorkflowAlias
GetWorkflowFn
GetRegisteredActivities
GetActivityAlias
GetActivityFn
The logic already exists in the internal implementation of the registry but not exposed to the public API.
Also implement these methods for WorkflowReplayer and WorkflowShadower.
Update unit tests so that they now call the top level methods.
Why?
To expose on Uber internal debug page
How did you test it?
Unit tests
Tested on staging environment
Potential risks
Worst case: these methods return unexpected result
0 commit comments