
=== 2026-04-30 13:33:10 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260430-133310-5afaad --target-language zh --step1-only ===
[profile] ✅ Loaded profile '__runtime_batch-20260430-133310-5afaad' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260430-133310-5afaad.yaml
[step075] cache hit: song_pgc.mp3 → 783534b120cb

======================================================================
music-pipeline3000 v2 | 1 songs
======================================================================
Gemini concurrency: 2 | Suno concurrency: 2
Output: /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[13:33:11] 🏥 Health check...
[13:33:14] ✅ qishui: OK
[13:33:14] ✅ netease: OK
[13:33:14] ✅ qq: OK

[13:33:14] 🔍 [01_everything i wanted_20260430] Step 0: Fetching...
[13:33:18] ✅ [01_everything i wanted_20260430] Step 0: netease | 1573c
[13:33:18] ⬇️  [01_everything i wanted_20260430] Step 0.5: Download from netease...
[13:33:24] ✅ [01_everything i wanted_20260430] Step 0.5: 4773966 bytes | 245.3s
[13:33:24] 🔬 [01_everything i wanted_20260430] Step 0.75: Audio features...
[13:33:24] ✅ [01_everything i wanted_20260430] Step 0.75: BPM=120.01 Key=A major (41.6s)
[13:33:24] 🧠 [01_everything i wanted_20260430] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-04-30T05:33:24.145Z", "trace_id": "batch-20260430-133310-5afaad", "song_key": "01_everything i wanted_20260430", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad/01_everything i wanted_20260430/song_pgc.mp3", "has_features": true}}
[step1] cache hit: song_pgc.mp3 → b0dd7a0f9e9a (saving 1 Gemini call)
[13:33:24] 🌐 Step 1: target_language=zh (injecting override directive)
{"__trace__": true, "ts": "2026-04-30T05:33:24.182Z", "trace_id": "batch-20260430-133310-5afaad", "song_key": "01_everything i wanted_20260430", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 40.9, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-04-30T05:33:24.182Z", "trace_id": "batch-20260430-133310-5afaad", "song_key": "01_everything i wanted_20260430", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 0.037}
[13:33:24] ⚠️  [01_everything i wanted_20260430] Step 1.5: prompt 1129c > 1000c, compressing...
  📏 [01_everything i wanted_20260430] prompt 1129c → 830c (smart truncate)
[13:33:24] ✅ [01_everything i wanted_20260430] Step 1.5: prompt compressed 1129c → 830c
[13:33:25] 🎯 [01_everything i wanted_20260430] Mood rewritten with inspiration
[13:33:25] ✅ [01_everything i wanted_20260430] Step 1: 40.9s | prompt=860c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 10s (0.2min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260430-133310-5afaad → +0 新增, ~0 更新 | 总计 615 首
[exit 0]

=== 2026-04-30 13:33:25 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad --profile grammy --resume-mode each --skip-feishu --target-language zh ===
[phase2] batch=batch-20260430-133310-5afaad pending=1 groups=1
[phase2] group 1/1 -> 01_everything i wanted_20260430
[profile] ✅ Loaded profile 'grammy' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/grammy.yaml
[phase2] 🌐 01_everything i wanted_20260430: target_language=zh
[phase2] resume -> /usr/bin/python3 /srv/repos/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad --profile grammy --skip-feishu
[13:33:26] 🌐 [01_everything i wanted_20260430] Step 2: target_language=zh → lang_mode=ZH
[13:33:26] 🤖 [01_everything i wanted_20260430] Step 2 API: 35932 chars ≈ 8983 tokens → claude-sonnet-4-6
[13:34:15] ✅ [01_everything i wanted_20260430] Step 2 API: 《哑火》 | 49.4s | in=18865 out=2395 | ~$0.093
{"timestamp": "2026-04-30T13:33:25.827428+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad", "profile": "grammy", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad/01_everything i wanted_20260430"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad/01_everything i wanted_20260430", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad/01_everything i wanted_20260430/step2_json_b.json", "agent_summary": "API direct: 哑火", "returncode": 0, "stderr": "", "attempt": 1, "attempts": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad/01_everything i wanted_20260430", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad/01_everything i wanted_20260430/step2_json_b.json", "agent_summary": "API direct: 哑火", "returncode": 0, "stderr": "", "attempt": 1}]}]}], "resume": {"status": "success", "returncode": 0, "stdout_tail": "\n======================================================================\nmusic-pipeline3000 v2 | 1 songs\n======================================================================\nGemini concurrency: 2 | Suno concurrency: 3\nOutput: /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[13:34:16] 🏥 Health check...\n[13:34:18] ✅ qishui: OK\n[13:34:18] ✅ netease: OK\n[13:34:18] ✅ qq: OK\n\n  📝 [01_everything i wanted_20260430] lyrics stripped: 3925c → 3919c\n[13:34:18] 🎵 [01_everything i wanted_20260430] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[13:34:18] 🎨 [01_everything i wanted_20260430] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['8e83a817', 'b9f52222']\n  🎵 8e83a817... → submitted\n  🎵 b9f52222... → submitted\n  🎵 8e83a817... → queued\n  🎵 b9f52222... → queued\n  🎵 8e83a817... → streaming\n  🎵 b9f52222... → streaming\n  🎵 b9f52222... → complete\n  🎵 8e83a817... → complete\n[13:36:11]    🎧 [01_everything i wanted_20260430] Song 1: https://cdn1.suno.ai/8e83a817-5027-432a-a0fd-4f4a26b55486.mp3\n[13:36:11]    🎧 [01_everything i wanted_20260430] Song 2: https://cdn1.suno.ai/b9f52222-4df4-4020-b124-81510e7464cb.mp3\n[13:36:11] 🎛️ [01_everything i wanted_20260430] Step 3.5: 混音...\n[13:36:31]    🎚️ [01_everything i wanted_20260430] Song 1: pop | 低76/中23/高1%\n[13:36:47]    🎚️ [01_everything i wanted_20260430] Song 2: pop | 低78/中20/高1%\n[13:36:47] ✅ [01_everything i wanted_20260430] Step 3.5: 35.9s | 2 songs mixed\n[13:36:47] ⚠️  [01_everything i wanted_20260430] Step 4: http_403 (non-fatal)\n\n======================================================================\nSUMMARY | 149s (2.5min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260430-133310-5afaad → +1 新增, ~0 更新 | 总计 616 首\n", "stderr_tail": "[profile] ✅ Loaded profile 'grammy' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/grammy.yaml\n", "summary": {"timestamp": "2026-04-30T13:36:47.286850+08:00", "wall_clock": 148.8, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-04-30 13:36:48 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/Ooals9qGQhr8vmtODDncVriPnyb
[Feishu] 📐 Expanded master sheet from 556 to 657 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 557-557)
[MasterDB] ✅ 批次 batch-20260430-133310-5afaad → +1 新增, ~0 更新 | 总计 557 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/Ooals9qGQhr8
[13:36:56] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [哑火] topic head sent (message_id=om_x100b501ae94618a4b4b340f42a97b67)
[Feishu IM] ✅ [哑火] 哑火_V1_raw.mp3 replied
[Feishu IM] ✅ [哑火] 哑火_V1_mixed.mp3 replied
[Feishu IM] ✅ [哑火] 哑火_V2_raw.mp3 replied
[Feishu IM] ✅ [哑火] 哑火_V2_mixed.mp3 replied
[Feishu] ✅ Already on file server: /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260430-133310-5afaad
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260430-133310-5afaad

📊 https://ccnu62373cgc.feishu.cn/sheets/Ooals9qGQhr8vmtODDncVriPnyb
[exit 0]
