Conversation
- add GitHub Actions jobs for frontend and backend verification - configure Ruff formatting and pytest coverage baseline - document local development check commands
There was a problem hiding this comment.
Code Review
This pull request introduces development check documentation in the README files, adds a pyproject.toml configuration for Ruff and pytest, introduces a requirements-dev.txt file, and applies code formatting across the codebase. Feedback from the review highlights critical issues in the FastAPI routes, specifically potential temporary file leaks in api/routes/edit.py and event loop blocking caused by synchronous I/O operations in both api/routes/edit.py and api/routes/export.py. The reviewer recommends running these synchronous operations in a separate thread using asyncio.to_thread and restructuring the cleanup logic to ensure temporary files are always deleted.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
- run image edit and export work through asyncio.to_thread - always clean edit temp files on intermediate failures - cover async route offloading and cleanup behavior
Summary
mainanddev.Validation
ruff check api src tests main.pyruff format --check api src tests main.pypython -m pytest --cov=api --cov=src --cov-report=term-missingnpm cinpm run lintnpm run testnpm run buildNotes
npm auditis not included as a blocking CI step yet because the existing dependency tree currently reports known vulnerabilities that should be handled in a separate dependency-upgrade pass.