crawl replay: remove isSeed=true from initialPages query (#2509)

- matches initial query for collections
- fixes 'Show Non-Seed Pages' not appearing for crawl replay
This commit is contained in:
Ilya Kreymer 2025-03-20 15:03:41 -07:00 committed by GitHub
parent cb14ac3a00
commit 4c0ddd0fe3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ class BaseCrawlOps:
if res.get("version", 1) == 2:
res["initialPages"], _ = await self.page_ops.list_pages(
crawl_ids=[crawlid], is_seed=True, page_size=25
crawl_ids=[crawlid], page_size=25
)
oid = res.get("oid")

View File

@ -184,7 +184,7 @@ def test_wait_for_complete(admin_auth_headers, default_org_id):
assert len(data["resources"]) == 1
assert data["resources"][0]["path"]
assert len(data["initialPages"]) == 1
assert len(data["initialPages"]) == 4
assert data["pagesQueryUrl"].endswith(
f"/orgs/{default_org_id}/crawls/{admin_crawl_id}/pagesSearch"
)