Skip to content

feat(audit): flag indexable pages with no structured data - #188

Open
ThomasMendy wants to merge 1 commit into
every-app:mainfrom
ThomasMendy:feat/missing-structured-data-issue
Open

feat(audit): flag indexable pages with no structured data#188
ThomasMendy wants to merge 1 commit into
every-app:mainfrom
ThomasMendy:feat/missing-structured-data-issue

Conversation

@ThomasMendy

Copy link
Copy Markdown

Site audits have no signal for structured data today, even though the crawler already records hasStructuredData on every page. A page that could be earning rich results — and that AI search engines otherwise have to interpret from prose alone — passes the audit silently.

This adds a missing-structured-data issue, reported for indexable HTML pages whose markup carries no JSON-LD, Microdata, or RDFa.

Severity: info. Missing markup is a missed opportunity rather than a defect, which matches how noindex-page and deep-page are treated.

Noindex pages are skipped. They cannot earn a rich result, so flagging them would only add noise to reports.

No new crawler work: the reporter reads a field page-analyzer already populates, so audits cost exactly what they did before.

Testing

Four tests cover the new reporter: markup absent, markup present, noindex, and non-HTML. The shared makePage fixture now defaults to hasStructuredData: true so it keeps representing a healthy page.

  • pnpm test:ci — 772 tests across 94 files, all passing
  • pnpm ci:check — prettier, knip, both tsc configs, oxlint type-aware: clean
  • pnpm vite build — clean

🤖 Generated with Claude Code

Site audits had no signal at all for structured data, even though the
crawler already records `hasStructuredData` per page. Pages that could
be earning rich results — and that AI search engines have to interpret
from prose alone — were silently passing the audit.

Adds a `missing-structured-data` info-level issue, reported for
indexable HTML pages whose markup carries no JSON-LD, Microdata, or
RDFa. Noindex pages are skipped: they cannot earn a rich result, so
flagging them would be noise.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

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