Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/assets/js/project-refresh.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const ENDPOINT = 'https://the-interdependency-mcp.onrender.com/api/repository-refresh';
const ENDPOINT = 'https://the-interdependency-mcp-live.onrender.com/api/repository-refresh';

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Point every MCP surface at the replacement service

When the old Render binding stops following main as described by this change, only repository refreshes reach the replacement: src/assets/js/webmcp.js:36 still performs its live health check against the stale service, and src/webmcp/index.njk:12-13 still advertises the stale /mcp and /health URLs to remote clients. Update these remaining consumers to the -live hostname as part of the migration so users do not continue receiving an outdated registry from the service this commit is replacing.

Useful? React with 👍 / 👎.


function escapeText(value) {
const span = document.createElement('span');
Expand Down
7 changes: 7 additions & 0 deletions tests/project-docs.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@
assert.match(pkg.scripts['refresh:data'], /refresh:github.*refresh:project-docs.*refresh:msdmd/);
assert.equal(pkg.scripts['refresh:project-docs'], 'node scripts/fetch-project-docs.mjs');
});


test('project refresh targets the live Render auto-deploy service', async () => {
const source = await readFile('src/assets/js/project-refresh.js', 'utf8');
assert.match(source, /https:\/\/the-interdependency-mcp-live\.onrender\.com\/api\/repository-refresh/);
assert.doesNotMatch(source, /https:\/\/the-interdependency-mcp\.onrender\.com\/api\/repository-refresh/);
});
Loading