Retire legacy remote listeners after verifying MCP feature coverage
CI / verify (push) Canceled after 0s
CI / verify (push) Canceled after 0s
This commit is contained in:
1 parent
93e0196dbe
commit
53706c44ea
12 files changed
+50
-829
No files matched your search
@@ -172,7 +172,8 @@ function createCollectors(deps) {
|
||||
function listErrors(args) {
|
||||
const a = args || {};
|
||||
const cfg = loadConfig();
|
||||
const { errors, byCategory } = _historyErrors(cfg.history, a);
|
||||
const history = typeof loadHistory === 'function' ? loadHistory() : cfg.history;
|
||||
const { errors, byCategory } = _historyErrors(history, a);
|
||||
const limit = Math.min(Math.max(Number(a.limit) || 100, 1), 1000);
|
||||
const window = Number.isFinite(a.sinceMs) ? `since ${new Date(a.sinceMs).toISOString()}` : 'all history';
|
||||
return { window, total: errors.length, byCategory, errors: errors.slice(-limit) };
|
||||
@@ -244,7 +245,7 @@ function createCollectors(deps) {
|
||||
const hosters = cfg.hosters && typeof cfg.hosters === 'object' ? Object.keys(cfg.hosters).filter(h => Array.isArray(cfg.hosters[h]) && cfg.hosters[h].length > 0) : [];
|
||||
return {
|
||||
reachabilityKnown: false,
|
||||
hint: 'Live hoster probing (run_health_check) is disabled in this build. Configured hosters with at least one account are listed.',
|
||||
hint: 'Configured hosters with at least one account are listed. Use an explicit account check for live reachability.',
|
||||
configuredHosters: hosters
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user