| Day | Task | Start Date | Completion Date | Reference Material |
|---|---|---|---|---|
| 2 | Project - OCR Latency & Edge Cases: • Reduce latency from 45s to 18.8s by bypassing local OCR when Gemini is active • Fix math discrepancies in C# logic and implement “Auto-interpolation” for missing tax data • Implement “Read-then-Destroy” for Ghost Bug (404) and fix OcrReviewModal display | 23/03/2026 | 23/03/2026 | |
| 3 | Project - Batch Processing & Optimization: • Rewrite upload flow for concurrent uploads using Promise.all() and semaphores • Implement Smart Polling with 15s initial delay and 5s intervals • Refactor Worker Service to prevent “greediness” and local RAM pressure | 24/03/2026 | 24/03/2026 | |
| 4 | Project - Scaling & AI Resilience: • Reconfigure CloudWatch alarms for precise SQS-based Auto Scaling • Resolve Gemini 429 rate limit issues and fix OOM failures during local AI fallback • Upgrade ECS Fargate tasks to 2 vCPU / 8 GB RAM and perform zero-downtime rollout | 25/03/2026 | 25/03/2026 | |
| 5 | Project - Batch Upload Reliability: • Fix net::ERR_CONNECTION_REFUSED by tuning uploadSemaphore limits • Refactor polling logic to be independent per invoice (removing blocking loops) • Sync Worker timeouts (300s) with SQS Visibility Timeout for heavy AI tasks | 26/03/2026 | 26/03/2026 | |
| 6 | Project - Pipeline Performance: • Transition all frontend polling to parallel execution via Promise.all() • Increase upload bandwidth utilization (max: 5 concurrent streams) • Implement resumePollingForInvoice recovery mechanism for browser refreshes | 27/03/2026 | 27/03/2026 | |
| 7 | Project - Infrastructure & Local AI: • Configure Step Scaling Policies for ECS Fargate based on SQS queue depth • Debug and fix LayoutLMv3 model loading paths within Docker containers • Verify AI Fallback resilience during simulated 429 quota exhaustion | 28/03/2026 | 28/03/2026 |