Repository navigation
fix(rules): count hreflang alternates as one og-image voter in asset-divergence - #953
Merged
Merged
Conversation
…divergence #937 Signed-off-by: Nik Cubrilovic <[email protected]>
|
Review of #953 (hreflang clusters as one og-image voter) The change looks correct and well tested. I found no blocking issues. CI was still pending when I looked, so I did not see typecheck or test results.
What I checked:
|
This was referenced Oct 20, 2026
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.
What
social/asset-divergencenow treats pages that are hreflang alternates of each other as ONE voter on the og-image axis. A collection plus its 15 locale variants sharing an entityog:imageno longer looks like a 16-page fallback by repetition.How
hreflangAlternates(no re-crawl). One-way claims do not merge. Pages with no og:image, or exempt types, still link clusters.siteQuerypaths; parity tests added for both, including a golden throughpage_features.collectionexemption: not added. The classifier has nocollectiontype (collection URLs classify ascategory), and category pages often fall back to the site default, which is what the rule should catch. Docs say so.Docs and CHANGELOG updated.
tangly check --strictpasses.Closes #937
skills: no change