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: add support for unix socket connection in sync service (#1518) #1560

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

alexandraoberaigner
Copy link
Contributor

This PR

adds support for unix sockets in sync service

Related Issues

Fixes #1518

How to test

start flagd with the new option -e /tmp/socketpath and try to connect with an in-process provider to the same socket path & request a flag

Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for polite-licorice-3db33c canceled.

Name Link
🔨 Latest commit 6dd5f86
🔍 Latest deploy log https://app.netlify.com/sites/polite-licorice-3db33c/deploys/67b4fafe910745000812827f

Copy link
Member

@aepfli aepfli left a comment

Choose a reason for hiding this comment

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

except the changes for the provider specification, this looks really good. we should not separate them within the provider specification, as only one mode is selected anyways

@alexandraoberaigner alexandraoberaigner force-pushed the feat/(sync)-support-for-unix-socket branch from 27a16f9 to e358f09 Compare February 13, 2025 12:27
Signed-off-by: Alexandra Oberaigner <[email protected]>
@alexandraoberaigner alexandraoberaigner force-pushed the feat/(sync)-support-for-unix-socket branch from c392849 to 4b238e5 Compare February 13, 2025 13:06
Signed-off-by: Alexandra Oberaigner <[email protected]>
@alexandraoberaigner alexandraoberaigner marked this pull request as ready for review February 13, 2025 13:34
@alexandraoberaigner alexandraoberaigner requested a review from a team as a code owner February 13, 2025 13:34
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Feb 13, 2025
Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

Looks great. I tried to find something to comment on, but couldn't. 🙏

@toddbaert
Copy link
Member

@alexandraoberaigner I pushed a change just to resolve a go.mod conflict coming from main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] (sync) Support for unixsocket is mentioned in the documentation
4 participants