You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(cli): remove the dead legacy sitemap walk in apps/cli/src/crawl #688
Summary.apps/cli/src/crawl/sitemaps.ts is an older copy of the sitemap walk. No production code imports it (apps/cli/src/crawl/index.ts re-exports it, and nothing imports that); only apps/cli/tests/graph/processors/discovery/discover-sitemaps.test.ts and apps/cli/tests/crawler/fetch-deadline.test.ts do. The real walk is packages/crawler/src/sitemaps.ts. The copy still reads bodies with response.text() and lacks the gzip, size-limit and catch-all handling from #662 / #670 (PR #686), so anyone who finds it by searching for a sitemap error string edits the wrong file.
Acceptance Criteria
apps/cli/src/crawl/sitemaps.ts and the unused apps/cli/src/crawl/index.ts re-export are removed, or the CLI imports the crawler package's walk instead.
The two CLI test files either move to the crawler package's walk or are deleted where packages/crawler/tests already covers the same behaviour.
Done by #782 (#756): apps/cli/src/crawl/sitemaps.ts, robots.ts and the index.ts re-export are deleted. The CLI's sitemap tests moved to packages/crawler/tests (sitemap parsing, the fetch deadline), or were dropped where a crawler test covers the same case. git grep "Unknown sitemap format" on main now finds only packages/crawler and its tests.
Activity
nc9 commentedon Oct 15, 2026
Done by #782 (#756):
apps/cli/src/crawl/sitemaps.ts,robots.tsand theindex.tsre-export are deleted. The CLI's sitemap tests moved topackages/crawler/tests(sitemap parsing, the fetch deadline), or were dropped where a crawler test covers the same case.git grep "Unknown sitemap format"on main now finds onlypackages/crawlerand its tests.