Skip to content

Conversation

@AkihiroSuda
Copy link
Member

Prior to this commit, pkg/guestagent/sockets opened and closed a netlink connection on each invocation of sockets.List().

@AkihiroSuda AkihiroSuda added this to the v2.0.0 milestone Oct 1, 2025
Prior to this commit, `pkg/guestagent/sockets` opened and closed a netlink
connection on each invocation of `sockets.List()`.

Signed-off-by: Akihiro Suda <[email protected]>
@AkihiroSuda AkihiroSuda force-pushed the guestagent-reuse-netlink-conn branch from 5807253 to a83ea45 Compare October 1, 2025 04:59
@AkihiroSuda AkihiroSuda requested review from a team and jandubois October 1, 2025 06:49
@AkihiroSuda
Copy link
Member Author

@lima-vm/committers Let's merge this to unblock the alpha2 release 🙏

Copy link
Member

@jandubois jandubois left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

My only concern is if this new approach is less robust. Previously a transient failure only affected a single request. Now it can be permanent if clearing the failure state requires closing and reopening the socket.

However, I have no idea how likely a failure is at all, so maybe this is misplaced. The improved efficiency is obviously desirable.

@jandubois
Copy link
Member

Let's merge this to unblock the alpha2 release

I'm not sure why this was blocking the release; it seems purely like an optimization that should not be user visible. But I guess getting some more testing done before the release will be worthwhile.

@jandubois jandubois merged commit d1ce4a2 into lima-vm:master Oct 3, 2025
114 of 117 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants