Skip to content

Add unix domain socket for telemetry server #128

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gpgabriel
Copy link

No description provided.

@gpgabriel gpgabriel force-pushed the unix-domain-sockets branch from 8c9c1c3 to bfd5bcb Compare August 13, 2025 09:40
Copy link
Collaborator

@nox nox left a comment

Choose a reason for hiding this comment

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

The changes seem reasonable to me but note that this includes breaking changes in public API so that requires a major foundations release.

@gpgabriel gpgabriel force-pushed the unix-domain-sockets branch 4 times, most recently from f9f3203 to 690a22f Compare August 15, 2025 16:35
@gpgabriel gpgabriel force-pushed the unix-domain-sockets branch 5 times, most recently from bc1350b to abdb38b Compare August 18, 2025 10:05
if let Err(e) = std::fs::remove_file(path) {
log::warn!("failed to remove existing Unix socket file"; "path" => %path.display(), "error" => e);
}
}

Choose a reason for hiding this comment

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

Do we really want to silently delete existing sockets? I have a gut feeling that this could hide subtle problems

Copy link
Author

Choose a reason for hiding this comment

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

It would be easy to get into a bad state during a crash and a restart because we can't reuse old sockets.

@gpgabriel gpgabriel force-pushed the unix-domain-sockets branch from abdb38b to 161ea12 Compare August 19, 2025 15:16
@gpgabriel gpgabriel force-pushed the unix-domain-sockets branch from 161ea12 to 4f53c41 Compare August 20, 2025 12:20
@gpgabriel gpgabriel force-pushed the unix-domain-sockets branch from 4f53c41 to 4b14aab Compare August 20, 2025 13:16
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.

4 participants