Skip to content
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

[Wf-Diagnostics] Refactor to provide clean diagnostics result #6617

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

sankari165
Copy link
Member

@sankari165 sankari165 commented Jan 14, 2025

What changed?
Trigger activities by name
Remove unused variables
Refactor and cleanup

Why?
Diagnostics result will be more readable

How did you test it?
unit tests

Potential risks

Release notes

Documentation Changes

Copy link
Contributor

@3vilhamster 3vilhamster left a comment

Choose a reason for hiding this comment

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

Added a nit, but it is not a blocking issue.


err := workflow.ExecuteActivity(activityCtx, w.identifyIssues, identifyIssuesParams{
err := workflow.ExecuteActivity(activityCtx, identifyIssuesActivity, identifyIssuesParams{
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: This is equivalent since if the activity is registered by name, it will be called by name even if you use coderef.

@sankari165 sankari165 merged commit 2d539d2 into cadence-workflow:master Jan 14, 2025
22 checks passed
@sankari165 sankari165 deleted the CDNC-10295-refactor branch January 14, 2025 14:06
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