Skip to content
New issue

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

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

Already on GitHub? # to your account

Add failure_reason to nexus_task_execution_failed #2274

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

Quinn-With-Two-Ns
Copy link
Contributor

Add failure_reason to nexus_task_execution_failed based on the Go SDK PR temporalio/sdk-go#1671

closes #2273

@cretz
Copy link
Member

cretz commented Oct 16, 2024

Would like to get confirm the expected enumerates on the other PR before merging this one.

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

@cretz good to merge now that Go is merged?

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.

LGTM. I have been told by @bergundy that it's handler_error_<TYPE> where TYPE is SCREAMING_SNAKE_CASE, so I assume the same here.

import org.junit.Rule;
import org.junit.Test;

public class OperationFailMetricTest {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@cretz these tests should hopefully assert parity between the Go and Java SDK

@Quinn-With-Two-Ns Quinn-With-Two-Ns merged commit 27d998a into temporalio:master Oct 24, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Nexus failure_reason metric tag
2 participants