Issue 842
The posts sitemap stops at a fixed number of posts
Back to our planOpen
cmstech-debtpriority: lowscope-creep
Summary
Once the site has more published posts than a fixed cap, the extra ones are silently missing from the posts sitemap.
Details
listPostSlugs in src/modules/news/data/queries.ts reads posts with a fixed limit and paging off, so anything past the limit is dropped without a warning. Found while writing the news note (#785).
Acceptance criteria
- Not done: Every published post appears in the sitemap, however many there are (read in pages, or fail loudly instead of truncating).
- Not done: A test covers more posts than one read returns.
- Not done: The news note's Known gaps line is removed.
Generated by Claude Code, opens in a new tab