Skip to content

fix(seo): use blog update dates in sitemap - #1477

Merged
tannerlinsley merged 1 commit into
mainfrom
taren/sitemap-blog-modified-date
Nov 1, 2026
Merged

tannerlinsley merged 1 commit into
mainfrom
taren/sitemap-blog-modified-date

Conversation

@tannerlinsley

Copy link
Copy Markdown
Member

The sitemap still advertises publication dates for blog posts that have a later explicit update date. Use the existing schema-validated updated date when present, and keep the publication date as the fallback.

Related to #1153. This does not invent modification dates for docs or other pages.

AI review notes:
Compared source frontmatter with the production sitemap and found 14 published entries with later update dates that the sitemap ignored. For example, the supply-chain postmortem records an update on May 15 but its sitemap lastmod still says May 11.

A function-level fixture extracted the actual sitemap functions: the old source fails the updated-date expectation and the new source passes both updated-date and publication-date fallback cases. This is not a full application test. Normal commit hooks passed formatting, TypeScript, lint, unit, chat, and desktop checks. Exact deployed XML verification is pending.

@changeset-bot

changeset-bot Bot commented Nov 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 142708f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai

coderabbitai Bot commented Nov 1, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 seconds.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e5dfe616-fd52-45c3-9bc0-78cdd219b560
Commits

Reviewing files that changed from the base of the PR and between cac1afb and 142708f.

Files selected for processing: 1
  • src/utils/sitemap.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
tanstack-com 142708f Commit Preview URL

Branch Preview URL
Nov 01 2026, 06:07 AM

@tannerlinsley

Copy link
Copy Markdown
Member Author

The deployed sitemap now uses the source dates correctly.

AI review notes: Compared all 84 blog entries in the exact 142708f preview XML with their source frontmatter. All match: 14 entries use their later update date and 70 retain the publication-date fallback. This verifies the preview, not production; application CI is still running.

@tannerlinsley
tannerlinsley merged commit d135335 into main Nov 1, 2026
8 checks passed
@tannerlinsley
tannerlinsley deleted the taren/sitemap-blog-modified-date branch November 1, 2026 06:13
@tannerlinsley

Copy link
Copy Markdown
Member Author

The corrected blog dates are live now.

AI review notes: Merge d135335 has a successful Workers deployment. All 84 blog lastmod values in the fresh production sitemap match their source dates, including the 14 later update dates and 70 publication-date fallbacks.

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