Skip to content

Commit 432ce4a

Browse files
shixishclaude
andcommitted
fix(test): keep live crawl job name within the 30-char API limit
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 13cd90d commit 432ce4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_live.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _purge_leaked_crawls(db) -> None:
8686

8787
def test_live_crawl_start_poll_download(db):
8888
_purge_leaked_crawls(db)
89-
name = f"{CRAWL_PREFIX}py-{uuid.uuid4().hex[:8]}-{int(time.time())}"
89+
name = f"{CRAWL_PREFIX}{uuid.uuid4().hex[:8]}-{int(time.time())}" # 28 chars; API limit is 30
9090
try:
9191
for _ in db.crawl("https://example.com", job_name=name, hops=0, max_to_crawl=5, max_to_process=5):
9292
pass

0 commit comments

Comments
 (0)