Repository navigation
Conversation
Signed-off-by: Nik Cubrilovic <[email protected]>
|
Reviewed the diff: a one-line
|
This was referenced Oct 22, 2026
nc9
added a commit
that referenced
this pull request
Oct 22, 2026
…nt, skip reasons, link phrases (#1034) Batch of six reviewed PRs landed through one branch and one CI run: - #1032 Bun 1.4.4 pin (CA blocklist for the eight compromised eMudhra intermediates, NSS 3.131.1 roots) - #1030 nested CSS evidence for the style reader (repro from #1014 by @dbdefault) - #1025 page-intrinsic skips use a not-applicable reason so priors resolve - #1019 generic link phrases in ten more languages for link-text and anchor-text - #1021 content/word-count skips noindex pages - #1023 retirement of abandoned crawls uses the crawl lease Plus a test fix for the residency probe on Bun 1.4.4 linux-x64. Closes #840 Closes #946 Closes #1011 Closes #1013 Refs #841 Signed-off-by: Nik Cubrilovic <[email protected]>
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #841 (partial: the noindex half). Not
Closes: the contact and legal half cannot be built on public main yet, see below.What this PR does
content/word-countdeclaresskipOnNoindex, so the runner skips it on a page kept out of search (robots meta orX-Robots-Tag), recordingSkipped: page is set to noindex via <source>. Same guard as the other index-presentation rules: only on a site whose homepage is indexable, so a staging or preview host still gets thin-content findings. The skipped check carriesfoldKey: "noindex"like the others, so a report can say why the page was not judged.noindex-skip.test.tsnow listscontent/word-countin the gated set (skip naming the meta tag and header, indexable page runs, noindex homepage keeps running) and the explicit skip-list test expects four rules.content/word-countpage and the "Pages kept out of search" section ofrules/index.mdx(nine rules became ten). CHANGELOG bullet.Decisions per rule (also to be recorded on the issue)
content/word-count: skips noindex (this PR). Page-type relaxation (contact, legal) deferred.core/meta-description(short),core/meta-title(short),core/h1: already skip noindex since Index rules should skip noindex pages, and core/robots-meta should report X-Robots-Tag: noindex #457; unchanged.content/thin-vs-site-norm: unchanged. It is a site rule that compares each page type's word count with the site's own norm via the streamingsiteQuery; leaving noindex pages out of those groups needs a streaming-query change, worth its own issue.content/keyword-stuffing,content/reading-level: unchanged. They judge the text itself, not a search snippet or a length floor, and a noindex page can still be stuffed or unreadable for visitors.eeat/*author and date rules: unchanged, pending a trusted page type.Why the contact and legal half is not here
The model-sourced
ParsedPage.classification.pageTypeandschema/expected-typethe issue describes are not on public main (only the held Treetop branch has them). The publicParsedPage.pageTypeis derived from schema and URL patterns, which is exactly the "rules-fallback" label the issue says must never relax a verdict, so I did not use it. Once the classification lands in public,word-countcan read it through a small helper (model source and confidence at or above 0.9 only) and countskippedByType.Not done: the before and after on three real audits (the contact and legal effect needs the classifier). The noindex effect is covered by the runner tests.
Tests:
noindex-skip.test.ts,template-verdict-page-independence.test.ts,content-without-js.test.ts,thin-vs-site-norm.test.ts,capped-rescore.test.ts,apps/cli/tests/rules/loader.test.tsall pass; tsgo packages/rules clean;tangly check --strictpasses. Agent skill: no change needed.