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

Update implementation to resolve lang spec deviation misuse #1706

Merged

Conversation

dilanSachi
Copy link
Contributor

@dilanSachi dilanSachi commented Jul 12, 2023

Purpose

Related issue - ballerina-platform/ballerina-library#4584
Also fixes - ballerina-platform/ballerina-library#4649
We have moved the interceptor array creation to a separate function instead of the init function and called it from native side when setting up the interceptors.

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility

@dilanSachi dilanSachi added the Skip GraalVM Check This will skip the GraalVM compatibility check label Jul 12, 2023
@dilanSachi dilanSachi marked this pull request as ready for review July 12, 2023 06:26
@dilanSachi dilanSachi removed the Skip GraalVM Check This will skip the GraalVM compatibility check label Jul 12, 2023
@codecov
Copy link

codecov bot commented Jul 12, 2023

Codecov Report

Patch coverage: 75.55% and project coverage change: -0.05 ⚠️

Comparison is base (f3f81d4) 81.61% compared to head (565c2d0) 81.56%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1706      +/-   ##
============================================
- Coverage     81.61%   81.56%   -0.05%     
  Complexity      577      577              
============================================
  Files           393      393              
  Lines         21395    21423      +28     
  Branches       4790     4796       +6     
============================================
+ Hits          17461    17474      +13     
- Misses         2936     2946      +10     
- Partials        998     1003       +5     
Impacted Files Coverage Δ
...in/java/io/ballerina/stdlib/http/api/HttpUtil.java 76.45% <62.96%> (-0.43%) ⬇️
ballerina/http_service_endpoint.bal 88.31% <88.88%> (+0.31%) ⬆️
ballerina/resiliency_failover_client.bal 83.12% <100.00%> (ø)
ballerina/resiliency_load_balance_client.bal 82.68% <100.00%> (ø)
...java/io/ballerina/stdlib/http/api/HttpService.java 90.22% <100.00%> (+0.14%) ⬆️

... and 6 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dilanSachi dilanSachi added the Skip GraalVM Check This will skip the GraalVM compatibility check label Jul 12, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jul 12, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 1 Bug
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@dilanSachi dilanSachi removed the Skip GraalVM Check This will skip the GraalVM compatibility check label Jul 12, 2023
Copy link
Contributor

@TharmiganK TharmiganK left a comment

Choose a reason for hiding this comment

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

LGTM

@dilanSachi dilanSachi merged commit d16a019 into ballerina-platform:master Jul 12, 2023
8 of 10 checks passed
@dilanSachi dilanSachi deleted the fix-lang-spec-deviation branch July 12, 2023 10:44
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.

2 participants