Open source alternative to Semrush and Ahrefs
TypeScript backlink-analysisgoogle-search-console-mcpkeyword-researchmcpseoseo-agentseo-auditseo-automationseo-skillsseo-toolssite-audit
Say a clean audit found no issues instead of asking for a re-run (#1070)
Ben Senescu6dcb3865caa8
diff --git a/src/client/features/audit/results/IssuesView.tsx b/src/client/features/audit/results/IssuesView.tsxindex eb77fbc8..8eeef7a6 100644--- a/src/client/features/audit/results/IssuesView.tsx+++ b/src/client/features/audit/results/IssuesView.tsx@@ -99,8 +99,8 @@ export function IssuesView({{issues.length === 0 ? (<EmptyStatevariant="plain"- title="No issues recorded for this audit."- description="Either the site is in great shape, or this audit ran before issue checks existed — run a new audit to get the full report."+ title="No issues found."+ description="Every crawled page passed the issue checks."/>) : (<div>diff --git a/src/server/mcp/tools/site-audit-tools.ts b/src/server/mcp/tools/site-audit-tools.tsindex d9016745..661189e1 100644--- a/src/server/mcp/tools/site-audit-tools.ts+++ b/src/server/mcp/tools/site-audit-tools.ts@@ -382,7 +382,9 @@ export const getAuditIssuesTool = {rows.length === 0? args.severity || args.issueType? `No issues found for audit ${audit.id} matching the given filters.`- : `No issues recorded for audit ${audit.id}. Note: audits run before issue checks existed have no issue data — re-run the audit with run_site_audit to get a real report.`+ : audit.status === "running"+ ? `Audit ${audit.id} is still running; issues are recorded when it finishes. Poll get_audit_status.`+ : `Audit ${audit.id} found no issues across ${audit.pagesCrawled} crawled page${audit.pagesCrawled === 1 ? "" : "s"}.`: [`Audit ${audit.id} (${audit.startUrl}): ${rows.length} issues across ${summary.length} issue type${summary.length === 1 ? "" : "s"}.`,...sections,