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

IWF-511: [iWF] Add a error field to the IwfEvent struct #544

Merged
merged 5 commits into from
Feb 12, 2025

Conversation

samuel27m
Copy link
Member

Description

Checklist

  • Code compiles correctly
  • Tests for the changes have been added
  • All tests passing
  • This PR change is backwards-compatible
  • This PR CONTAINS a (planned) breaking change (it is not backwards compatible)

@@ -89,6 +89,12 @@ func (t *cadenceClient) GetApplicationErrorDetails(err error, detailsPtr interfa
return fmt.Errorf("not an application error. Critical code bug")
}

func (t *cadenceClient) GetApplicationErrorTypeAndDetails(err error) (string, string) {
errType := t.GetApplicationErrorTypeIfIsApplicationError(err)
// TODO: Error Details will be added under IWF-511
Copy link
Contributor

Choose a reason for hiding this comment

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

isn't this PR for IWF-511? when will the details be added?

Copy link
Member Author

Choose a reason for hiding this comment

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

My bad 😄 That's not the correct number. Fixed now ✅

@mixydubs mixydubs self-requested a review February 11, 2025 11:45
Copy link
Contributor

@mixydubs mixydubs left a comment

Choose a reason for hiding this comment

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

This looks like a good way forward, but would defer to @lwolczynski for approval before merging

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 87.30159% with 8 lines in your changes missing coverage. Please review.

Project coverage is 66.08%. Comparing base (1f5dc17) to head (741909e).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
service/interpreter/activityImpl.go 78.37% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #544      +/-   ##
==========================================
+ Coverage   65.89%   66.08%   +0.19%     
==========================================
  Files          62       62              
  Lines        6872     6927      +55     
==========================================
+ Hits         4528     4578      +50     
- Misses       2065     2070       +5     
  Partials      279      279              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@samuel27m samuel27m merged commit 333e351 into main Feb 12, 2025
10 checks passed
@samuel27m samuel27m deleted the jira/scacador/IWF-511 branch February 12, 2025 15:46
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.

3 participants