Skip to content

Completable result code throwable#6348

Merged
jack-berg merged 3 commits intoopen-telemetry:mainfrom
jack-berg:completable-result-code-throwable
Aug 8, 2024
Merged

Completable result code throwable#6348
jack-berg merged 3 commits intoopen-telemetry:mainfrom
jack-berg:completable-result-code-throwable

Conversation

@jack-berg
Copy link
Copy Markdown
Member

Related to #6306.

Discussed in the 3/28/24 Java SIG. Also need to adjust the behavior of HttpExporter and GrpcExporter (and potentially the related sender implementations) to fail CompletableResultCodes exceptionally. Planning on doing this in a followup PR, since there are details to work out about what the structure is with the failure exception.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.17%. Comparing base (b53c48a) to head (d8e5307).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #6348   +/-   ##
=========================================
  Coverage     90.17%   90.17%           
- Complexity     6259     6269   +10     
=========================================
  Files           697      697           
  Lines         18871    18890   +19     
  Branches       1843     1844    +1     
=========================================
+ Hits          17016    17035   +19     
  Misses         1283     1283           
  Partials        572      572           

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

@jarrodrobins
Copy link
Copy Markdown
Contributor

Hi @jack-berg any updates on when this might be merged? I'd be happy to look into contributing with PRs to update the Http and Grpc exporters once this is merged (as discussed #6306 (comment)). Thanks.

@jack-berg
Copy link
Copy Markdown
Member Author

@jarrodrobins - I'm blocked on reviews / approvals from @open-telemetry/java-approvers. I review from you is helpful as well, but won't be able to merge without an approval from an approver.

Copy link
Copy Markdown
Contributor

@jkwatson jkwatson left a comment

Choose a reason for hiding this comment

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

I'm not in love with the "getFailureThrowable" name, but I can't think of anything better that would be as clear. (I was thinking about "getFailureReason", but that seems too general).

🚢

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.

4 participants