# Story 4.4: Post-Deployment Verification - Quick Start ## Command Usage Verify that deployed URLs are live and returning 200 OK status: ```bash uv run python main.py verify-deployment --batch-id ``` ## Options | Option | Short | Description | Default | |--------|-------|-------------|---------| | `--batch-id` | `-b` | Project/batch ID to verify | Required | | `--sample` | `-s` | Number of random URLs to check | All | | `--timeout` | `-t` | Request timeout in seconds | 10 | ## Examples ### Check all URLs in a batch ```bash uv run python main.py verify-deployment --batch-id 10 ``` ### Check random sample of 5 URLs ```bash uv run python main.py verify-deployment --batch-id 10 --sample 5 ``` ### Use custom timeout ```bash uv run python main.py verify-deployment --batch-id 10 --timeout 30 ``` ## Output The command will: 1. Show batch information 2. Display each URL check result with ✓ (success) or ✗ (failed) 3. Provide a summary of results 4. List failed URLs with error details ## Exit Codes - `0`: All URLs returned 200 OK - `1`: One or more URLs failed or error occurred ## Notes - Only checks articles with `deployed_url` set and status='deployed' - Follows redirects automatically - No authentication required (read-only operation) - Can be run multiple times safely