run_full_comparison orchestrator
Queue ALL pages for background comparison by importance
Overview
Queue every page in a cloning job for comparison. A global background worker processes pages one at a time, ordered by backlink importance (most important first). The queue is database-backed, so it survives server restarts. Pages already queued are deduplicated automatically.
How It Works
- Marks eligible pages as 'pending' in the database queue.
- A global background worker claims pages one at a time using database locking (FOR UPDATE SKIP LOCKED).
- Pages are processed in order of backlink rank (highest first).
- Each page is compared using Zyte JS rendering + DataForSEO enrichment.
- Failed pages are retried up to 3 times before being marked as errors.
- Issues are synced to the database for stateful tracking.
- Queue state persists across server restarts — stuck pages are automatically recovered.
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
job_id |
string |
required | Cloning job ID from discover_all_pages |
mode |
string |
optional | 'new' (default) compares only uncompared pages. 'all' reruns every page including previously compared ones. |
What You Get Back
- Per-page match scores and status
- Complete fix report sorted by severity
- Pages below threshold highlighted
- Overall cloning readiness score
Example Use Case
After discovering 200 pages and building your React clone, run this to compare every page at once. It finds 47 SEO issues, 12 missing images, and 3 broken WooCommerce features — all in one report with exact fixes for each. After fixing them, use mode 'all' to rerun and verify your fixes landed.
Tips
Use default mode ('new') for initial comparisons — it skips pages already done.
Use mode 'all' after making fixes to rerun all pages and verify improvements.
Failed pages are retried up to 3 times automatically before being marked as errors.
Your plan's page limit applies here — Free plan compares up to 10 pages, Pro up to 500.
