Skip to content

feat: implement network node discovery (Issue #111) - #119

Open
jennifer-bowser wants to merge 17 commits into
issue-110-auth-token-mgmtfrom
issue-111-implement-network-node-discovery
Open

jennifer-bowser wants to merge 17 commits into
issue-110-auth-token-mgmtfrom
issue-111-implement-network-node-discovery

Conversation

@jennifer-bowser

Copy link
Copy Markdown
Contributor

closes #111

@jennifer-bowser jennifer-bowser self-assigned this Oct 26, 2026
@jennifer-bowser jennifer-bowser added the priority:medium Medium priority label Oct 26, 2026
@jennifer-bowser
jennifer-bowser changed the base branch from main to issue-110-auth-token-mgmt October 26, 2026 19:38
@jennifer-bowser jennifer-bowser added priority:high High priority and removed priority:medium Medium priority labels Oct 27, 2026
@jennifer-bowser
jennifer-bowser marked this pull request as ready for review October 27, 2026 20:24
@jennifer-bowser
jennifer-bowser requested a review from a team as a code owner October 27, 2026 20:24

@korikuzma korikuzma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a quick review from Codex. I haven’t reviewed the PR myself yet, but I can take a look later this week.

Please address node filtering, pagination, and empty-result caching, with regression tests and documentation for the new API.

Comment thread src/anyvlm/outbound/node_registry.py Outdated
Comment thread src/anyvlm/outbound/node_registry.py Outdated
Comment thread src/anyvlm/outbound/node_registry.py Outdated
Comment thread src/anyvlm/config.py Outdated
Comment thread src/anyvlm/outbound/node_registry.py Outdated
Comment thread src/anyvlm/auth/token_provider.py Outdated

@korikuzma korikuzma left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is still Codex reviewing. Kori will perform the human review tomorrow.

Please address the remaining base-URL issue before merging. I agree with moving the intended fixed URL out of Settings into a module constant; this would address the configuration-override concern. The URL normalization thread remains open pending the fix.

@korikuzma korikuzma left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Human review. Only small suggestion. Once the blocking Codex request is addressed, I think it should be ready to go

Comment thread src/anyvlm/outbound/node_registry.py Outdated

@korikuzma korikuzma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The earlier blocking concern is addressed. Please confirm whether the discovery endpoint accepts the newly added trailing slash with a valid bearer token.

VLM_NETWORK_ROOT_URL: str = "https://vlm-auth.us.auth0.com/"
VLM_NETWORK_AUDIENCE_URL: str = VLM_NETWORK_ROOT_URL + "api/v2/"
VLM_NETWORK_TOKEN_REQUEST_URL: str = VLM_NETWORK_ROOT_URL + "oauth/token/"
VLM_NETWORK_NODES_REQUEST_URL: str = VLM_NETWORK_ROOT_URL + "api/v2/clients/"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Codex finding: Clarification question (severity unassigned); Non-blocking: Verify the discovery endpoint’s trailing slash

Moving this URL into a constant also changes /api/v2/clients to /api/v2/clients/. On vlm-auth.us.auth0.com, unauthenticated GETs return 401 without the trailing slash and 404 with it. Does the new URL succeed with a valid bearer token? I haven’t verified authenticated behavior.

To preserve the previous endpoint, the replacement would be:

Suggested change
VLM_NETWORK_NODES_REQUEST_URL: str = VLM_NETWORK_ROOT_URL + "api/v2/clients/"
VLM_NETWORK_NODES_REQUEST_URL: str = VLM_NETWORK_ROOT_URL + "api/v2/clients"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

1e05144 appears to be the requested change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high High priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement VLM Network node discovery

3 participants