Kept the existing background tasks as fallback and shared core grade-processing logic between the worker and the new HTTP push handler.
- What worked
- Existing task structure made it easy to extract shared logic and preserve retry and idempotency behavior across both execution paths.