Skip to content

Restructure workflows for replication simulation #6936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

fimanishi
Copy link
Member

What changed?
Changed the folder/file structure for workflows in replication simulation

Why?
The previous structure assumed only one workflow. This structure gives us more flexibility and better organization.

How did you test it?
The changes are supposed to maintain the same behavior. Tested locally successfully.

Potential risks

Release notes

Documentation Changes

@@ -78,7 +73,7 @@ func TestWorkflow(ctx workflow.Context, input types.WorkflowInput) (types.Workfl
return types.WorkflowOutput{Count: count}, nil
}

func TestActivity(ctx context.Context, input string) (string, error) {
func FormatStringActivity(ctx context.Context, input string) (string, error) {
logger := activity.GetLogger(ctx)
logger.Info("testActivity started")
Copy link
Member

Choose a reason for hiding this comment

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

nit: update log with new name of activity

@fimanishi fimanishi marked this pull request as ready for review May 19, 2025 23:41
@fimanishi fimanishi merged commit 4b03f07 into cadence-workflow:master May 20, 2025
24 checks passed
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.

2 participants