Repository navigation
fix(mcp,contract): no default API URL or Orb broker now that api.loopover.ai is retired - #10380
Merged
Merged
Conversation
…over.ai is retired The hosted API and Orb broker at https://api.loopover.ai were retired on 2026-11-30, but the packages still fell back to them, so an unconfigured install called a host with no DNS and failed with a network error that named nothing. - @loopover/contract: resolveLoopoverApiUrl returns null when nothing is configured, with MISSING_LOOPOVER_API_URL_MESSAGE for callers to report; the retired host joins the legacy URLs a saved config is ignored for. orbBrokerBaseUrl throws MISSING_ORB_BROKER_URL_MESSAGE when ORB_BROKER_URL is unset. The generated client config uses the self-hosted placeholder https://reviews.example.com. - @loopover/mcp: no default API URL; apiFetch refuses with the message (code missing_api_url), the gateway reports it as its advisory without a request, config reports the source as "unset", and loopover-verify requires --base-url. - The miner's token resolution and the self-host preflight follow: no URL means no session call, and brokered mode without ORB_BROKER_URL is a boot problem rather than a failure on every mint. - Docs: the MCP setup page, READMEs and .env.example say what to set; the READMEs note that the next release carries this and the version on npm still falls back to the retired host. The validator doc drops the nightly self-verification it no longer runs.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10380 +/- ##
==========================================
+ Coverage 92.09% 95.68% +3.59%
==========================================
Files 913 828 -85
Lines 111637 63975 -47662
Branches 27310 22324 -4986
==========================================
- Hits 102810 61214 -41596
+ Misses 7527 1473 -6054
+ Partials 1300 1288 -12
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…; give the gateway proxy test an API URL
Bundle ReportChanges will increase total bundle size by 1.06kB (0.03%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: loopover-uiAssets Changed:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LoopOver's hosted API and Orb broker (
https://api.loopover.ai) were retired on 2026-11-30, but@loopover/mcpand@loopover/contractstill fell back to them. An unconfigured install would call a host that has no DNS and fail with a network error that doesn't name the cause.What changes
@loopover/contractresolveLoopoverApiUrlreturnsnullwhen nothing is configured. Callers reportMISSING_LOOPOVER_API_URL_MESSAGE, which namesLOOPOVER_API_URLand the placeholder.apiUrlthat names the retired host is ignored, the same way older defaults already were.orbBrokerBaseUrlthrowsMISSING_ORB_BROKER_URL_MESSAGEwhenORB_BROKER_URLis unset.https://reviews.example.com.@loopover/mcpapiFetchrefuses with the message (codemissing_api_url) before making any request.configreports the source asunset, andstatus/doctorprint(not set).loopover-verifyrequires--base-url.ORB_BROKER_URLat boot, instead of failing on every token mint..env.example,docker-compose.yml, the root, mcp and contract READMEs and the MCP setup page say what to set.Tests
createTestEnvgains anORB_BROKER_URLfixture.Not changed
governor-pause-cli,self-review-context,egress-allowlist,orb-export's collector).server.json's registry remote andcheck-server-manifest.The former are outside the mcp and contract packages, and the latter is a registry listing for whoever publishes next.