Skip to content

feat(agent): expose Addr and Port functions for listening agent - #275

Open
AdamMagued wants to merge 1 commit into
google:masterfrom
AdamMagued:feat/issue-253-agent-addr-and-port
Open

AdamMagued wants to merge 1 commit into
google:masterfrom
AdamMagued:feat/issue-253-agent-addr-and-port

Conversation

@AdamMagued

Copy link
Copy Markdown

Resolves #253.

Summary

  • Added thread-safe returning the agent's active listening address (or nil when closed)
  • Added thread-safe returning the TCP port used by the agent
  • Added unit tests in verifying address and port retrieval when listening on random port and appropriate nil/error state after

Verified 100% passing tests in container sandbox.

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@google-cla

google-cla Bot commented Oct 14, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@AdamMagued
AdamMagued force-pushed the feat/issue-253-agent-addr-and-port branch from 0a2fd37 to d0e25ce Compare October 14, 2026 07:49
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.

Add method to get port used

1 participant