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

runtime: support unix domain socket #788

Merged
merged 3 commits into from Oct 27, 2021
Merged

runtime: support unix domain socket #788

merged 3 commits into from Oct 27, 2021

Conversation

daixiang0
Copy link
Member

@daixiang0 daixiang0 commented Aug 23, 2021

Description

Ref dapr/dapr#2864

Since go-sdk still does not support it, no e2e tests added.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #785

Checklist

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

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@daixiang0 daixiang0 requested review from a team as code owners August 23, 2021 07:31
@codecov
Copy link

codecov bot commented Aug 25, 2021

Codecov Report

Merging #788 (0ef564b) into master (892bc96) will increase coverage by 0.97%.
The diff coverage is 52.38%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #788      +/-   ##
==========================================
+ Coverage   20.85%   21.82%   +0.97%     
==========================================
  Files          29       29              
  Lines        1482     1535      +53     
==========================================
+ Hits          309      335      +26     
- Misses       1136     1159      +23     
- Partials       37       41       +4     
Impacted Files Coverage Δ
pkg/metadata/metadata.go 2.17% <0.00%> (-1.53%) ⬇️
pkg/standalone/client.go 0.00% <ø> (ø)
pkg/standalone/dashboard.go 77.77% <0.00%> (ø)
pkg/standalone/list.go 8.33% <0.00%> (-0.11%) ⬇️
pkg/standalone/run.go 59.50% <50.00%> (-0.67%) ⬇️
pkg/standalone/testutils.go 72.41% <68.75%> (-4.51%) ⬇️
pkg/standalone/invoke.go 78.57% <100.00%> (+5.84%) ⬆️
pkg/standalone/publish.go 87.09% <100.00%> (+4.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 892bc96...0ef564b. Read the comment docs.

@daixiang0
Copy link
Member Author

ping @mkosieradzki @artursouza

cmd/invoke.go Outdated Show resolved Hide resolved
@yaron2
Copy link
Member

yaron2 commented Sep 24, 2021

@daixiang0 please fix the failing tests.

@mukundansundar can you please review?

@daixiang0
Copy link
Member Author

daixiang0 commented Sep 27, 2021

doc pr: dapr/docs#1730

@daixiang0
Copy link
Member Author

@mukundansundar @yaron2 all tests pass, please review.

Copy link
Member

@artursouza artursouza left a comment

Choose a reason for hiding this comment

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

Just a small change to fail on Windows instead of fallback.

cmd/invoke.go Outdated Show resolved Hide resolved
cmd/publish.go Outdated Show resolved Hide resolved
cmd/run.go Show resolved Hide resolved
@mukundansundar
Copy link
Collaborator

@msfussell Could you review this PR?

@yaron2
Copy link
Member

yaron2 commented Oct 21, 2021

@daixiang0 please update the README with an example for how to use the new parameter.

@daixiang0
Copy link
Member Author

@yaron2 done.

Signed-off-by: Long <long.dai@intel.com>
Signed-off-by: Long <long.dai@intel.com>
Signed-off-by: Long <long.dai@intel.com>
@daixiang0
Copy link
Member Author

@yaron2 @mukundansundar could we merge it?

Copy link
Member

@yaron2 yaron2 left a comment

Choose a reason for hiding this comment

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

lgtm

@yaron2 yaron2 merged commit 4d75238 into dapr:master Oct 27, 2021
@yaron2
Copy link
Member

yaron2 commented Oct 27, 2021

Great PR @daixiang0

@daixiang0 daixiang0 deleted the uds branch October 28, 2021 05:48
@mukundansundar mukundansundar added this to the v1.5 milestone Nov 5, 2021
anhldbk pushed a commit to anhldbk/dapr-cli that referenced this pull request Dec 22, 2021
* runtime: support unix domain socket

Signed-off-by: Long <long.dai@intel.com>

* feedback

Signed-off-by: Long <long.dai@intel.com>

* update example

Signed-off-by: Long <long.dai@intel.com>
anhldbk pushed a commit to anhldbk/dapr-cli that referenced this pull request Dec 22, 2021
* runtime: support unix domain socket

Signed-off-by: Long <long.dai@intel.com>

* feedback

Signed-off-by: Long <long.dai@intel.com>

* update example

Signed-off-by: Long <long.dai@intel.com>
Signed-off-by: Andy Le <anhldbk@gmail.com>
anhldbk pushed a commit to anhldbk/dapr-cli that referenced this pull request Dec 22, 2021
* runtime: support unix domain socket

Signed-off-by: Long <long.dai@intel.com>

* feedback

Signed-off-by: Long <long.dai@intel.com>

* update example

Signed-off-by: Long <long.dai@intel.com>
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.

Support domain socket
4 participants