Skip to content

fix(crawl): keep wait polling in seconds#143

Merged
mogery merged 1 commit into
mainfrom
mogery/fix-crawl-wait-poll-interval
Jun 25, 2026
Merged

fix(crawl): keep wait polling in seconds#143
mogery merged 1 commit into
mainfrom
mogery/fix-crawl-wait-poll-interval

Conversation

@mogery

@mogery mogery commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Keep firecrawl crawl --wait SDK waiter options in seconds instead of milliseconds.
  • Keep --wait --progress millisecond conversion local to its custom polling loop.
  • Bump firecrawl-cli to 1.19.19.

Why

The bundled firecrawl SDK multiplies pollInterval and timeout by 1000 internally when waiting for crawl completion. The CLI was already multiplying those values before calling app.crawl, so --poll-interval 5 became roughly 83 minutes between status checks in non-progress wait mode.

Fixes firecrawl/firecrawl#3373

Test plan

  • pnpm exec vitest run src/__tests__/commands/crawl.test.ts
  • pnpm run build
  • pnpm test
  • pnpm run format:check

@mogery mogery merged commit 08777ea into main Jun 25, 2026
7 checks passed
@mogery mogery deleted the mogery/fix-crawl-wait-poll-interval branch June 25, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

firecrawl crawl --wait (without --progress) silently hangs ~83 minutes per poll due to double ms/sec conversion

1 participant