1.3 KiB
1.3 KiB
Story 4.4: Post-Deployment Verification - Quick Start
Command Usage
Verify that deployed URLs are live and returning 200 OK status:
uv run python main.py verify-deployment --batch-id <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
uv run python main.py verify-deployment --batch-id 10
Check random sample of 5 URLs
uv run python main.py verify-deployment --batch-id 10 --sample 5
Use custom timeout
uv run python main.py verify-deployment --batch-id 10 --timeout 30
Output
The command will:
- Show batch information
- Display each URL check result with ✓ (success) or ✗ (failed)
- Provide a summary of results
- List failed URLs with error details
Exit Codes
0: All URLs returned 200 OK1: One or more URLs failed or error occurred
Notes
- Only checks articles with
deployed_urlset and status='deployed' - Follows redirects automatically
- No authentication required (read-only operation)
- Can be run multiple times safely