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

chore: Fix Lambda timeout with Tracing 1.5.1 using async methods #660

Conversation

hjgraca
Copy link
Contributor

@hjgraca hjgraca commented Oct 4, 2024

Please provide the issue number

Issue number: #659

Summary

Changes

Revert change that removed IMethodAspectHandler, AspectInjector does not work properly with Async methods and the Around decorator would never exit on Async methods.
Needs UniversalWrapperAspect from Common

User experience

Please share what the user experience looks like before and after this change

Checklist

Please leave checklist items unchecked if they do not apply to your change.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

… parsing because aspect injector does not support it by default
@boring-cyborg boring-cyborg bot added area/tracing Core tracing utility tests labels Oct 4, 2024
@auto-assign auto-assign bot requested review from amirkaws and sliedig October 4, 2024 08:06
@pull-request-size pull-request-size bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 4, 2024
@github-actions github-actions bot added the internal Maintenance changes label Oct 4, 2024
Copy link

codecov bot commented Oct 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.37%. Comparing base (4ab0fea) to head (ba92787).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #660      +/-   ##
===========================================
+ Coverage    72.99%   73.37%   +0.38%     
===========================================
  Files          196      196              
  Lines         8013     8027      +14     
  Branches       856      857       +1     
===========================================
+ Hits          5849     5890      +41     
+ Misses        1877     1850      -27     
  Partials       287      287              
Flag Coverage Δ
unittests 73.37% <100.00%> (+0.38%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link

sonarcloud bot commented Oct 4, 2024

@hjgraca hjgraca merged commit a979415 into aws-powertools:develop Oct 5, 2024
8 checks passed
@hjgraca hjgraca deleted the fix(tracing)-revert-imethodaspecthander-removal branch October 5, 2024 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/tracing Core tracing utility internal Maintenance changes size/L Denotes a PR that changes 100-499 lines, ignoring generated files. tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants