Skip to content

feat(search): support an explicit custom API endpoint - #24

Open
roberts-pumpurs wants to merge 2 commits into
mainfrom
rob/mlflow-local-search
Open

roberts-pumpurs wants to merge 2 commits into
mainfrom
rob/mlflow-local-search

Conversation

@roberts-pumpurs

@roberts-pumpurs roberts-pumpurs commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Play search cannot reach an owned local registry because it always calls the hosted search Worker.

Before

play-search rejects a local registry URL. Agents cannot discover real fixtures in an ephemeral Supabase stack.

After

Run the same command with PLAY_SEARCH_ENDPOINT set to an explicit API endpoint. Play sends the request there and checks the response against the configured registry URL, including after token refresh.

HTTPS endpoints and literal HTTP loopback endpoints are allowed. Redirects are refused. Local registries use test Play URLs throughout selection, inspection, execution, and publication. Local website cards remain unsupported rather than reading production.

The default production and staging endpoints stay unchanged.

Validation

Installed this checkout through rote install play in a private home. Published two real weather versions to an owned Supabase stack, inspected and ran version 0.0.1, and searched through the installed native command. Native Play accepted the local API response and preserved version 0.0.2. Missing model credentials remained an explicit incomplete result.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

This branch has not been deployed

No deployments
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.

1 participant