Skip to content

feat(rules): declare checks for 40 rules (eeat, schema), eighth tranche of #2218 #2348 - #2403

Merged
nc9 merged 5 commits into
mainfrom
feat/declare-checks-tranche-8
Nov 29, 2026
Merged

nc9 merged 5 commits into
mainfrom
feat/declare-checks-tranche-8

Conversation

@longshore-nc9

@longshore-nc9 longshore-nc9 Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Closes #2348. Eighth tranche of #2218.

What changed

  • 15 eeat/ and 25 schema/ rules declare meta.checks (problem, clean with clears, skipped), taken from the names each run() emits. The entity-* rules also declare a skipped check, since requireMap emits one when no entity map was built.
  • All 40 removed from rule-checks-undeclared.json; schema/website-search removed from rule-clean-run-empty.json. No baseline gained an entry.
  • schema/website-search now emits a skipped website-schema check on inner pages with no WebSite schema (it returned an empty list).
  • schema/product now emits an info product-reviews check when a Product has no review or aggregateRating. Before, the declared clean product-reviews pass had no problem check to clear.
  • Golden pins: schema/website-search 1 to 500 in canonical-rule-totals.json, finding-messages snapshot regenerated. perRuleTally length and health score unchanged.
  • Generated docs blocks on the 40 rule pages (rule-checks.ts --write). Two changelog.d/ entries.

Commands run

  • bun scripts/rule-checks.ts --check in docs/ and make validate in docs/: pass (78 tests)
  • bun run scripts/test-suites.ts --run rules: 12970 pass, 0 fail (before the final test-file edits; the touched tests were re-run)
  • rule-check-declarations, both clean-run tests, new schema-declared-checks-2348.test.ts, the canonical golden and finding-messages tests: pass
  • bun run typecheck in packages/rules, scripts/test-suites.ts --check, scripts/changelog.ts check, oxfmt --check on changed files: pass

The new test fails with the two behaviour changes reverted.

Size: 82 files, about 1,000 changed lines, mostly generated docs and declarations.

Docs: 40 rule pages (generated check tables). Skill: none.

@longshore-nc9
longshore-nc9 Bot marked this pull request as ready for review November 28, 2026 20:56
@longshore-nc9
longshore-nc9 Bot force-pushed the feat/declare-checks-tranche-8 branch from c36b808 to fdac5c6 Compare November 28, 2026 20:56
@nc9
nc9 merged commit 60fa94e into main Nov 29, 2026
14 checks passed
@nc9
nc9 deleted the feat/declare-checks-tranche-8 branch November 29, 2026 00:05
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.

rules: declare checks for eeat and schema rules (40 rules)

1 participant