Skip to content

Compare with main: duplicate share-image tags still fail - #1349

Merged
LukasWallrich merged 1 commit into
rebrand-doorsfrom
doors/compare-duplicate-tags
Dec 3, 2026
Merged

LukasWallrich merged 1 commit into
rebrand-doorsfrom
doors/compare-duplicate-tags

Conversation

@LukasWallrich

@LukasWallrich LukasWallrich commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Follow-up to #1348, from a Cubic comment there. The exemption for the new share images now requires exactly one image and one alt text per og: and twitter: key, so a page with duplicate tags fails the comparison. New tests cover it; all 70 in test_rebrand_checks.py pass.

🤖 Generated with Claude Code


Summary by cubic

Tightens the default share-image exemption in the rebrand comparison so pages with duplicate share-image tags are no longer silently exempted.

  • The exemption now applies only when each og: and twitter: key has exactly one image and one alt; otherwise the tags are left for the ordinary comparison, which flags the difference.
  • Added test cases with a duplicate og:image, a duplicate twitter:image, and a duplicate og:image:alt.

Written for commit 38f1013. Summary will update on new commits.

View guided diff Turn on auto-fix

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasWallrich
LukasWallrich requested a review from a team as a code owner December 3, 2026 09:52

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

View guided diff | Turn on auto-fix | Re-trigger cubic

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

✅ Spell Check Passed

No spelling issues found when checking 2 changed file(s)! 🎉

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

👍 All content rules passed (WebP images/references and canonical doi.org links).

@LukasWallrich
LukasWallrich merged commit af840d7 into rebrand-doors Dec 3, 2026
14 checks passed
@LukasWallrich
LukasWallrich deleted the doors/compare-duplicate-tags branch December 3, 2026 09:57
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