
Design and implement the core task management system for deep-design. This includes creating a robust data model for tasks and categories, building out the REST API endpoints with FastAPI, and connecting the React frontend to the backend services.
The task covers the full lifecycle: from defining SQLAlchemy models and running Alembic migrations, to writing unit and integration tests that maintain 100% code coverage. Special attention should be given to input validation, error handling, and ensuring all endpoints return consistent response schemas.
Acceptance criteria: all 37 existing tests pass, Pylint score remains 10.00/10, and the new feature is fully covered by tests.
Checked with the team — Alembic migration should run before the FastAPI startup hook, not after. Update the entrypoint script accordingly.
SQLAlchemy relationship between Task and Category should use lazy="selectin" to avoid N+1 query issues in the list endpoint.
Frontend service API client needs a retry wrapper for transient 503s from the backend during Docker cold-start. Use axios-retry with 3 attempts.
Actions
No comments yet. Be the first!