CrawlProof fix: ⚠️ Sitemap contains future dates for lastmod. - #38
Merged
ralyodio merged 1 commit intoJun 9, 2026
Merged
Conversation
vu1nz Security Review0 finding(s) in PR #? No security issues found. |
ralyodio
deleted the
crawlproof/fix/sitemap.future-dates-2026-06-09T07-36-07
branch
June 9, 2026 07:41
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.
CrawlProof automated fix for the following audit finding:
Check:
sitemap.future_dates(priority 3)What changed:
app/sitemap.tsWhy:
Removed
lastModified: now(build-timenew Date()) from all static sitemap entries inapp/sitemap.ts. Because the sitemap is statically generated/cached by Next.js (ISR withrevalidate = 3600),new Date()was being frozen at build time — in this case producing the future date2026-06-08T12:50:42.311Z. ThelastModifiedfield is optional in the sitemap spec; omitting it for static pages is correct and honest. Dynamic audit report entries retain their reallastModifiedtimestamps from the database.Generated by Claude Sonnet 4.6 in agentic mode (11 tool iterations). Review the diff before merging — automated edits are not infallible. Disagree with the change? Close the PR and apply the fix manually using the audit recommendations on your CrawlProof project page.
Docs: https://crawlproof.com/docs/aeo-score