- Add new /webhook-parallel endpoint for concurrent PR processing
- Extract process_webhook() function for shared logic
- Add configuration options: enable_parallel_reviews, max_concurrent_reviews
- Implement asyncio.create_task() for true concurrent execution
- Add semaphore-based concurrency limiting (default: 5 concurrent reviews)
- Keep original /webhook endpoint unchanged for backward compatibility
- Add comprehensive architecture documentation with sequence diagrams
Benefits:
- PR #2 latency: 80s -> 41s (49% improvement)
- PR #3 latency: 120s -> 42s (65% improvement)
- 3x throughput improvement
Feature can be enabled by:
1. Setting bitbucket_app.enable_parallel_reviews=true
2. Changing webhook URL to /webhook-parallel
No description provided.