mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-11-20 13:07:57 +09:00
#1243 and #1246 both added a 409 guard to `start_review` and merged minutes apart. #1243's test expects its own message, but #1246's guard now runs first, so main's Backend Unit Tests fail (3 cases) and no deploy can finish. Keeps #1246's guard, because #1243's would refuse statuses that have a valid transition to `in_review`. The race handler is unchanged. The test still checks 409, no transition, and no enum text in the message. `backend/tests/test_jobs_api.py` passes locally. No local CodeRabbit review on this small unblocking fix, so the bot may review it. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012RYLVTvqXyL4QyA2EjzQMG <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Review requests for jobs that cannot enter review continue to receive a conflict response. Eligible jobs can proceed into review, with review-start actions recorded only when a job transitions from awaiting review. * Updated the conflict-response test to check that internal status naming is not exposed. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>