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

Fix the connection leak problem of app callback gRPC client #6274

Merged
merged 7 commits into from May 3, 2023

Conversation

gaofeihang
Copy link
Contributor

Description

Issue reference

Fix #6273

Please reference the issue this PR will close: #[issue number]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

@gaofeihang gaofeihang requested review from a team as code owners April 21, 2023 09:44
Signed-off-by: gaofeihang <gaofeihang@gmail.com>
@artursouza
Copy link
Member

/ok-to-test

2 similar comments
@artursouza
Copy link
Member

/ok-to-test

@artursouza
Copy link
Member

/ok-to-test

@dapr-bot
Copy link
Collaborator

dapr-bot commented Apr 21, 2023

Dapr E2E test

🔗 Link to Action run

Commit ref: 9a2c82b

✅ Build succeeded for linux/amd64

  • Image tag: dapre2e6d2734ec58l
  • Test image tag: dapre2e6d2734ec58l

✅ Build succeeded for linux/arm64

  • Image tag: dapre2e6d2734ec58la
  • Test image tag: dapre2e6d2734ec58la

✅ Infrastructure deployed

Cluster Resource group name Azure region
Linux Dapr-E2E-dapre2e6d2734ec58l westus3
Windows Dapr-E2E-dapre2e6d2734ec58w westus3
Linux/arm64 Dapr-E2E-dapre2e6d2734ec58la eastus

⚠️ Tests skipped on linux/arm64

  • Image tag: dapre2e6d2734ec58la
  • Test image tag: dapre2e6d2734ec58la

✅ Tests succeeded on linux/amd64

  • Image tag: dapre2e6d2734ec58l
  • Test image tag: dapre2e6d2734ec58l

✅ Tests succeeded on windows/amd64

  • Image tag: dapre2e6d2734ec58w
  • Test image tag: dapre2e6d2734ec58w

@dapr-bot
Copy link
Collaborator

dapr-bot commented Apr 21, 2023

Dapr E2E test

🔗 Link to Action run

Commit ref: 9a2c82b

✅ Build succeeded for linux/amd64

  • Image tag: dapre2e9f2e376ab0l
  • Test image tag: dapre2e9f2e376ab0l

✅ Infrastructure deployed

Cluster Resource group name Azure region
Linux Dapr-E2E-dapre2e9f2e376ab0l westus3
Windows Dapr-E2E-dapre2e9f2e376ab0w westus3
Linux/arm64 Dapr-E2E-dapre2e9f2e376ab0la eastus

✅ Build succeeded for linux/arm64

  • Image tag: dapre2e9f2e376ab0la
  • Test image tag: dapre2e9f2e376ab0la

✅ Build succeeded for windows/amd64

  • Image tag: dapre2e9f2e376ab0w
  • Test image tag: dapre2e9f2e376ab0w

⚠️ Tests skipped on linux/arm64

  • Image tag: dapre2e9f2e376ab0la
  • Test image tag: dapre2e9f2e376ab0la

✅ Tests succeeded on linux/amd64

  • Image tag: dapre2e9f2e376ab0l
  • Test image tag: dapre2e9f2e376ab0l

✅ Tests succeeded on windows/amd64

  • Image tag: dapre2e9f2e376ab0w
  • Test image tag: dapre2e9f2e376ab0w

@dapr-bot
Copy link
Collaborator

dapr-bot commented Apr 21, 2023

Dapr E2E test

🔗 Link to Action run

Commit ref: 9a2c82b

✅ Build succeeded for linux/amd64

  • Image tag: dapre2efc9639e199l
  • Test image tag: dapre2efc9639e199l

✅ Infrastructure deployed

Cluster Resource group name Azure region
Linux Dapr-E2E-dapre2efc9639e199l westus3
Windows Dapr-E2E-dapre2efc9639e199w westus3
Linux/arm64 Dapr-E2E-dapre2efc9639e199la eastus

✅ Build succeeded for windows/amd64

  • Image tag: dapre2efc9639e199w
  • Test image tag: dapre2efc9639e199w

✅ Build succeeded for linux/arm64

  • Image tag: dapre2efc9639e199la
  • Test image tag: dapre2efc9639e199la

⚠️ Tests skipped on linux/arm64

  • Image tag: dapre2efc9639e199la
  • Test image tag: dapre2efc9639e199la

❌ Tests failed on linux/amd64

Please check the logs for details on the error.

✅ Tests succeeded on windows/amd64

  • Image tag: dapre2efc9639e199w
  • Test image tag: dapre2efc9639e199w

Copy link
Contributor

@ItalyPaleAle ItalyPaleAle left a comment

Choose a reason for hiding this comment

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

This makes sense, thanks for catching this

@daixiang0
Copy link
Member

/ok-to-test

@dapr-bot
Copy link
Collaborator

dapr-bot commented Apr 24, 2023

Dapr E2E test

🔗 Link to Action run

Commit ref: 9a2c82b

✅ Build succeeded for linux/amd64

  • Image tag: dapre2e4123a4109al
  • Test image tag: dapre2e4123a4109al

✅ Infrastructure deployed

Cluster Resource group name Azure region
Linux Dapr-E2E-dapre2e4123a4109al westus3
Windows Dapr-E2E-dapre2e4123a4109aw westus3
Linux/arm64 Dapr-E2E-dapre2e4123a4109ala eastus

✅ Build succeeded for linux/arm64

  • Image tag: dapre2e4123a4109ala
  • Test image tag: dapre2e4123a4109ala

✅ Build succeeded for windows/amd64

  • Image tag: dapre2e4123a4109aw
  • Test image tag: dapre2e4123a4109aw

⚠️ Tests skipped on linux/arm64

  • Image tag: dapre2e4123a4109ala
  • Test image tag: dapre2e4123a4109ala

❌ Tests failed on linux/amd64

Please check the logs for details on the error.

❌ Tests failed on windows/amd64

Please check the logs for details on the error.

@mukundansundar
Copy link
Contributor

/ok-to-test

1 similar comment
@mukundansundar
Copy link
Contributor

/ok-to-test

@dapr-bot
Copy link
Collaborator

dapr-bot commented Apr 24, 2023

Dapr E2E test

🔗 Link to Action run

Commit ref: 3860898

✅ Build succeeded for linux/amd64

  • Image tag: dapre2ee246edae69l
  • Test image tag: dapre2ee246edae69l

✅ Infrastructure deployed

Cluster Resource group name Azure region
Linux Dapr-E2E-dapre2ee246edae69l westus3
Windows Dapr-E2E-dapre2ee246edae69w westus3
Linux/arm64 Dapr-E2E-dapre2ee246edae69la eastus

✅ Build succeeded for linux/arm64

  • Image tag: dapre2ee246edae69la
  • Test image tag: dapre2ee246edae69la

✅ Build succeeded for windows/amd64

  • Image tag: dapre2ee246edae69w
  • Test image tag: dapre2ee246edae69w

⚠️ Tests skipped on linux/arm64

  • Image tag: dapre2ee246edae69la
  • Test image tag: dapre2ee246edae69la

✅ Tests succeeded on linux/amd64

  • Image tag: dapre2ee246edae69l
  • Test image tag: dapre2ee246edae69l

✅ Tests succeeded on windows/amd64

  • Image tag: dapre2ee246edae69w
  • Test image tag: dapre2ee246edae69w

@dapr-bot
Copy link
Collaborator

dapr-bot commented Apr 24, 2023

Dapr E2E test

🔗 Link to Action run

Commit ref: 3860898

✅ Build succeeded for linux/amd64

  • Image tag: dapre2e0c15b3752el
  • Test image tag: dapre2e0c15b3752el

✅ Infrastructure deployed

Cluster Resource group name Azure region
Linux Dapr-E2E-dapre2e0c15b3752el westus3
Windows Dapr-E2E-dapre2e0c15b3752ew westus3
Linux/arm64 Dapr-E2E-dapre2e0c15b3752ela eastus

✅ Build succeeded for linux/arm64

  • Image tag: dapre2e0c15b3752ela
  • Test image tag: dapre2e0c15b3752ela

✅ Build succeeded for windows/amd64

  • Image tag: dapre2e0c15b3752ew
  • Test image tag: dapre2e0c15b3752ew

⚠️ Tests skipped on linux/arm64

  • Image tag: dapre2e0c15b3752ela
  • Test image tag: dapre2e0c15b3752ela

✅ Tests succeeded on linux/amd64

  • Image tag: dapre2e0c15b3752el
  • Test image tag: dapre2e0c15b3752el

✅ Tests succeeded on windows/amd64

  • Image tag: dapre2e0c15b3752ew
  • Test image tag: dapre2e0c15b3752ew

@codecov
Copy link

codecov bot commented Apr 24, 2023

Codecov Report

Merging #6274 (16555ba) into master (1379bee) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master    #6274      +/-   ##
==========================================
- Coverage   64.45%   64.44%   -0.02%     
==========================================
  Files         189      189              
  Lines       18885    18891       +6     
==========================================
+ Hits        12173    12174       +1     
- Misses       5744     5751       +7     
+ Partials      968      966       -2     
Impacted Files Coverage Δ
pkg/grpc/grpc.go 5.94% <0.00%> (-0.06%) ⬇️
pkg/runtime/runtime.go 64.60% <75.00%> (+0.02%) ⬆️
pkg/runtime/bulk_subscriber.go 65.51% <100.00%> (+0.06%) ⬆️

... and 4 files with indirect coverage changes

@yaron2
Copy link
Member

yaron2 commented May 2, 2023

/ok-to-perf

1 similar comment
@yaron2
Copy link
Member

yaron2 commented May 2, 2023

/ok-to-perf

@dapr-bot
Copy link
Collaborator

dapr-bot commented May 2, 2023

Dapr perf test

🔗 Link to Action run

Commit ref: b001582

✅ Infrastructure deployed

  • Resource group name: Dapr-Perf-daprprfd20ed6d1f9
  • Azure region: westus3

✅ Build succeeded

  • Image tag: daprprfd20ed6d1f9
  • Test image tag: daprprfd20ed6d1f9

❌ Perf tests failed

Please check the logs for details on the error.

@dapr-bot
Copy link
Collaborator

dapr-bot commented May 2, 2023

Dapr perf test

🔗 Link to Action run

Commit ref: 46bcf53

✅ Build succeeded

  • Image tag: daprprf7a03ce3102
  • Test image tag: daprprf7a03ce3102

✅ Infrastructure deployed

  • Resource group name: Dapr-Perf-daprprf7a03ce3102
  • Azure region: westus3

❌ Perf tests failed

Please check the logs for details on the error.

@yaron2 yaron2 merged commit 4181de0 into dapr:master May 3, 2023
27 of 28 checks passed
@mukundansundar
Copy link
Contributor

related to #6301

@ItalyPaleAle ItalyPaleAle added this to the v1.11 milestone May 22, 2023
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.

Daprd does not release app callback gRPC client properly
8 participants