mirror of
https://github.com/nomadkaraoke/karaoke-gen.git
synced 2026-12-03 16:48:05 +09:00
## Summary Fixes the deployment failure from PR #297 by making lyrics_transcriber a proper subpackage of karaoke_gen instead of a separate vendored library. ### Changes - Move `libs/lyrics_transcriber/` to `karaoke_gen/lyrics_transcriber/` - Update all imports from `from lyrics_transcriber.X` to `from karaoke_gen.lyrics_transcriber.X` - Simplify Dockerfile (no separate `libs/` COPY needed) - Update pyproject.toml to remove separate package entry - Update test mocks and logger names ### Why this is better - Cleaner project structure - one package containing everything - Simpler Dockerfile - just COPY karaoke_gen/ - No confusion about vendored vs internal code ## Test plan - [x] `poetry install` succeeds - [x] All imports work correctly - [x] All 2614 tests pass - [ ] Backend deployment succeeds @coderabbitai ignore Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Manual E2E Tests
Tests in this directory require manual setup before running. They are NOT included in CI or npm run test:e2e.
Why Manual?
These tests target components with separate dev servers that aren't auto-started by Playwright's webServer config.
Tests
lyrics-review-mobile.spec.ts
Tests the LyricsTranscriber frontend (Vite, port 5173), not the main karaoke-gen frontend (Next.js, port 3000).
To run:
# Terminal 1: Start LyricsTranscriber frontend dev server
cd lyrics_transcriber_temp/lyrics_transcriber/frontend
yarn dev # Starts on port 5173
# Terminal 2: Start LyricsTranscriber backend (for API)
# This serves the review API on port 8767
poetry run python -c "from karaoke_gen.lyrics_transcriber.review.server import ReviewServer; ..."
# Terminal 3: Run the test
cd frontend
npx playwright test e2e/manual/lyrics-review-mobile.spec.ts
Future
These tests should be consolidated when LyricsTranscriber is fully integrated into the main karaoke-gen frontend. See CLAUDE.md for project context.