-
Notifications
You must be signed in to change notification settings - Fork 756
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
Remove generating observability-symbols.jar #42002
Remove generating observability-symbols.jar #42002
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #42002 +/- ##
============================================
+ Coverage 76.62% 76.67% +0.04%
- Complexity 52803 53003 +200
============================================
Files 2880 2881 +1
Lines 199139 199870 +731
Branches 25882 26016 +134
============================================
+ Hits 152590 153243 +653
- Misses 38116 38165 +49
- Partials 8433 8462 +29 ☔ View full report in Codecov by Sentry. |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
@@ -133,12 +131,6 @@ private JBallerinaBackend(PackageCompilation packageCompilation, JvmTarget jdkVe | |||
this.compilerContext = projectEnvContext.getService(CompilerContext.class); | |||
this.interopValidator = InteropValidator.getInstance(compilerContext); | |||
this.jvmCodeGenerator = CodeGenerator.getInstance(compilerContext); | |||
// TODO: Move to a compiler extension once Compiler revamp is complete | |||
if (packageContext.compilationOptions().observabilityIncluded()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need observabilityIncluded method in packageContext compiler options? Can we remove that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@warunalakshitha We need it to enable tracing and metrics.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes related to compiler classes LGTM.
Purpose
Remove generating
<module-name>-observability-symbols.jar
when observability is enabled since the jar is not used anymore and OOM issues occur as well.Fixes #42001
Approach
Samples
Remarks
Check List