
=== 2026-05-13 18:04:20 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260513-180420-a32ffd --step1-only ===
[profile] ✅ Loaded profile '__runtime_batch-20260513-180420-a32ffd' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260513-180420-a32ffd.yaml
[step075] cache hit: song_pgc.mp3 → 04dbb56d2feb

======================================================================
music-pipeline3000 v2 | 2 songs
======================================================================
Gemini concurrency: 2 | Suno concurrency: 2
Output: /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[18:04:21] 🏥 Health check...
[18:04:23] ✅ qishui: OK
[18:04:23] ✅ netease: OK
[18:04:23] ✅ qq: OK

[18:04:23] 🔍 [01_Joy In The Morning (Original Mix)_20260513] Step 0: Fetching...
[18:04:23] 🔍 [02_Many Places_20260513] Step 0: Fetching...
[18:04:25] ✅ [02_Many Places_20260513] Step 0: netease | 7c lyrics
[18:04:25] ⬇️  [02_Many Places_20260513] Step 0.5: Download from netease...
[18:04:26] 🔄 [01_Joy In The Morning (Original Mix)_20260513] Step 0: retry 1/2 in 5s (no lyrics yet)...
[18:04:34] 🔄 [01_Joy In The Morning (Original Mix)_20260513] Step 0: retry 2/2 in 10s (no lyrics yet)...
[18:04:34] ✅ [02_Many Places_20260513] Step 0.5: 6743489 bytes | 348.8s
[18:04:34] 🔬 [02_Many Places_20260513] Step 0.75: Audio features...
[18:04:34] ✅ [02_Many Places_20260513] Step 0.75: BPM=151.04 Key=D major (57.2s)
[18:04:34] 🧠 [02_Many Places_20260513] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-13T10:04:34.260Z", "trace_id": "batch-20260513-180420-a32ffd", "song_key": "02_Many Places_20260513", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/02_Many Places_20260513/song_pgc.mp3", "has_features": true}}
[step1] 🎹 Instrumental mode — empty lyrics fallback
[step075] cache hit: song_pgc.mp3 → 6a71ddc35658
[18:04:46] ⚠️  [01_Joy In The Morning (Original Mix)_20260513] Step 0: No lyrics found — proceeding without (Gemini will generate from audio)
[18:04:46] ✅ [01_Joy In The Morning (Original Mix)_20260513] Step 0: netease | 0c lyrics
[18:04:46] ⬇️  [01_Joy In The Morning (Original Mix)_20260513] Step 0.5: Download from netease...
[18:04:53] ✅ [01_Joy In The Morning (Original Mix)_20260513] Step 0.5: 7145426 bytes | 368.1s
[18:04:53] 🔬 [01_Joy In The Morning (Original Mix)_20260513] Step 0.75: Audio features...
[18:04:53] ✅ [01_Joy In The Morning (Original Mix)_20260513] Step 0.75: BPM=120.0 Key=D minor (39.6s)
[18:04:53] 🧠 [01_Joy In The Morning (Original Mix)_20260513] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-13T10:04:53.937Z", "trace_id": "batch-20260513-180420-a32ffd", "song_key": "01_Joy In The Morning (Original Mix)_20260513", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/01_Joy In The Morning (Original Mix)_20260513/song_pgc.mp3", "has_features": true}}
[step1] 🎹 Instrumental mode — empty lyrics fallback
  📊 Gemini official: 47s | prompt_tokens=12783 completion=1090
{"__trace__": true, "ts": "2026-05-13T10:05:21.147Z", "trace_id": "batch-20260513-180420-a32ffd", "song_key": "02_Many Places_20260513", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 46.8, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-13T10:05:21.148Z", "trace_id": "batch-20260513-180420-a32ffd", "song_key": "02_Many Places_20260513", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 46.887}
[18:05:21] ⚠️  [02_Many Places_20260513] Step 1.5: prompt 1591c > 1000c, compressing...
  📏 [02_Many Places_20260513] prompt 1591c → 933c (smart truncate)
[18:05:21] ✅ [02_Many Places_20260513] Step 1.5: prompt compressed 1591c → 933c
[18:05:21] ✅ [02_Many Places_20260513] Step 1: 46.8s | prompt=933c | prompt_ok=True lyrics_ok=True
  📊 Gemini official: 37s | prompt_tokens=13399 completion=1106
{"__trace__": true, "ts": "2026-05-13T10:05:31.177Z", "trace_id": "batch-20260513-180420-a32ffd", "song_key": "01_Joy In The Morning (Original Mix)_20260513", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 37.2, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-13T10:05:31.178Z", "trace_id": "batch-20260513-180420-a32ffd", "song_key": "01_Joy In The Morning (Original Mix)_20260513", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 37.24}
[18:05:31] ⚠️  [01_Joy In The Morning (Original Mix)_20260513] Step 1.5: prompt 1664c > 1000c, compressing...
  📏 [01_Joy In The Morning (Original Mix)_20260513] prompt 1664c → 927c (smart truncate)
[18:05:31] ✅ [01_Joy In The Morning (Original Mix)_20260513] Step 1.5: prompt compressed 1664c → 927c
[18:05:31] ✅ [01_Joy In The Morning (Original Mix)_20260513] Step 1: 37.2s | prompt=927c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 68s (1.1min)
======================================================================
✅ Done: 2 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260513-180420-a32ffd → +0 新增, ~0 更新 | 总计 752 首
[exit 0]

=== 2026-05-13 18:05:31 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd --profile __runtime_batch-20260513-180420-a32ffd --resume-mode each --skip-feishu ===
[phase2] batch=batch-20260513-180420-a32ffd pending=2 groups=1
[phase2] group 1/1 -> 01_Joy In The Morning (Original Mix)_20260513, 02_Many Places_20260513
[profile] ✅ Loaded profile '__runtime_batch-20260513-180420-a32ffd' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260513-180420-a32ffd.yaml
[phase2] 🌐 01_Joy In The Morning (Original Mix)_20260513: target_language=auto
[profile] ✅ Loaded profile '__runtime_batch-20260513-180420-a32ffd' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260513-180420-a32ffd.yaml
[phase2] 🌐 02_Many Places_20260513: target_language=auto
[phase2] resume -> /usr/bin/python3 /srv/repos/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd --profile __runtime_batch-20260513-180420-a32ffd --skip-feishu
[18:05:32] 🌐 [01_Joy In The Morning (Original Mix)_20260513] Step 2: target_language=auto → lang_mode=AUTO | single-turn
[18:05:32] 🤖 [01_Joy In The Morning (Original Mix)_20260513] Step 2 Turn 2: 34015 chars ≈ 8503 tokens → claude-sonnet-4-6
[18:05:32] 🌐 [02_Many Places_20260513] Step 2: target_language=auto → lang_mode=AUTO | single-turn
[18:05:32] 🤖 [02_Many Places_20260513] Step 2 Turn 2: 33842 chars ≈ 8460 tokens → claude-sonnet-4-6
[18:06:01] ✅ [02_Many Places_20260513] Step 2 API: 《咬合线》 engine=? | 29.3s | in=19371 out=1999 | ~$0.088
[18:06:02] ✅ [01_Joy In The Morning (Original Mix)_20260513] Step 2 API: 《潮水留痕》 engine=? | 30.1s | in=19371 out=2040 | ~$0.089
{"timestamp": "2026-05-13T18:05:31.957387+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd", "profile": "__runtime_batch-20260513-180420-a32ffd", "concurrency": 3, "resume_mode": "each", "pending_song_count": 2, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/01_Joy In The Morning (Original Mix)_20260513", "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/02_Many Places_20260513"], "success_count": 2, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/01_Joy In The Morning (Original Mix)_20260513", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/01_Joy In The Morning (Original Mix)_20260513/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-20260513-180420-a32ffd/01_Joy In The Morning (Original Mix)_20260513", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/01_Joy In The Morning (Original Mix)_20260513/step2_json_b.json", "agent_summary": "API direct: 潮水留痕", "returncode": 0, "stderr": "", "attempt": 1}]}, {"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/02_Many Places_20260513", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/02_Many Places_20260513/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-20260513-180420-a32ffd/02_Many Places_20260513", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd/02_Many Places_20260513/step2_json_b.json", "agent_summary": "API direct: 咬合线", "returncode": 0, "stderr": "", "attempt": 1}]}]}], "resume": {"status": "success", "returncode": 0, "stdout_tail": "\n======================================================================\nmusic-pipeline3000 v2 | 2 songs\n======================================================================\nGemini concurrency: 2 | Suno concurrency: 3\nOutput: /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[18:06:03] 🏥 Health check...\n[18:06:05] ✅ qishui: OK\n[18:06:05] ✅ netease: OK\n[18:06:05] ✅ qq: OK\n\n  📝 [01_Joy In The Morning (Original Mix)_20260513] lyrics stripped: 2411c → 2405c\n[18:06:05] ♪ [01_Joy In The Morning (Original Mix)_20260513] Step 3: 原曲无有效歌词，自动切换纯音乐模式\n[18:06:05] ♪ [01_Joy In The Morning (Original Mix)_20260513] Step 3: 纯音乐 pure-prompt 模式\n[18:06:05] 🎵 [01_Joy In The Morning (Original Mix)_20260513] Step 3: Suno generation (weirdness=50, style_influence=50 · 纯音乐)...\n[18:06:05] 🎨 [01_Joy In The Morning (Original Mix)_20260513] Step 4: SeeDream cover (parallel)...\n  📝 [02_Many Places_20260513] lyrics stripped: 2264c → 2258c\n[18:06:05] ♪ [02_Many Places_20260513] Step 3: 原曲无有效歌词，自动切换纯音乐模式\n[18:06:05] ♪ [02_Many Places_20260513] Step 3: 纯音乐 pure-prompt 模式\n[18:06:05] 🎵 [02_Many Places_20260513] Step 3: Suno generation (weirdness=50, style_influence=50 · 纯音乐)...\n[18:06:05] 🎨 [02_Many Places_20260513] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['c055cd2c', '440d28ab']\n  ✅ submitted: ['2eace349', 'd40f0dd4']\n  🎵 c055cd2c... → submitted\n  🎵 440d28ab... → submitted\n  🎵 2eace349... → submitted\n  🎵 d40f0dd4... → submitted\n  🎵 c055cd2c... → queued\n  🎵 440d28ab... → queued\n  🎵 2eace349... → queued\n  🎵 d40f0dd4... → queued\n  🎵 c055cd2c... → streaming\n  🎵 440d28ab... → streaming\n  🎵 2eace349... → streaming\n  🎵 d40f0dd4... → streaming\n  🎵 440d28ab... → complete\n  🎵 c055cd2c... → complete\n[18:07:36]    🎧 [02_Many Places_20260513] Song 1: https://cdn1.suno.ai/c055cd2c-4c25-44b1-b3da-eed189ed25f2.mp3\n[18:07:36]    🎧 [02_Many Places_20260513] Song 2: https://cdn1.suno.ai/440d28ab-54e5-4355-9ad9-1bfb5ad7df4f.mp3\n[18:07:36] 🎛️ [02_Many Places_20260513] Step 3.5: 混音...\n[18:07:52]    🎚️ [02_Many Places_20260513] Song 1: edm | 低81/中18/高0%\n[18:08:03]    🎚️ [02_Many Places_20260513] Song 2: rnb | 低84/中16/高0%\n[18:08:03] ✅ [02_Many Places_20260513] Step 3.5: 27.0s | 2 songs mixed\n[18:08:03] ⚠️  [02_Many Places_20260513] Step 4: http_403 (non-fatal)\n  🎵 2eace349... → complete\n  🎵 d40f0dd4... → complete\n[18:09:38]    🎧 [01_Joy In The Morning (Original Mix)_20260513] Song 1: https://cdn1.suno.ai/2eace349-6923-46f7-9d97-36eb8607617e.mp3\n[18:09:38]    🎧 [01_Joy In The Morning (Original Mix)_20260513] Song 2: https://cdn1.suno.ai/d40f0dd4-fcb8-4239-aee2-543ac2b89ea5.mp3\n[18:09:38] 🎛️ [01_Joy In The Morning (Original Mix)_20260513] Step 3.5: 混音...\n[18:09:56]    🎚️ [01_Joy In The Morning (Original Mix)_20260513] Song 1: edm | 低89/中9/高2%\n[18:10:17]    🎚️ [01_Joy In The Morning (Original Mix)_20260513] Song 2: edm | 低92/中6/高2%\n[18:10:17] ✅ [01_Joy In The Morning (Original Mix)_20260513] Step 3.5: 38.2s | 2 songs mixed\n[18:10:17] ⚠️  [01_Joy In The Morning (Original Mix)_20260513] Step 4: http_403 (non-fatal)\n\n======================================================================\nSUMMARY | 251s (4.2min)\n======================================================================\n✅ Done: 2 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260513-180420-a32ffd → +2 新增, ~0 更新 | 总计 754 首\n", "stderr_tail": "[profile] ✅ Loaded profile '__runtime_batch-20260513-180420-a32ffd' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260513-180420-a32ffd.yaml\n", "summary": {"timestamp": "2026-05-13T18:10:17.089850+08:00", "wall_clock": 251.4, "total": 2, "success": 2, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-05-13 18:10:18 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd ===
[Feishu] ✅ Exported 2 songs to: https://ccnu62373cgc.feishu.cn/sheets/QSsVs8VBkhReKWt5F8WcMyvInOd
[Feishu] 📐 Expanded master sheet from 689 to 791 rows
[Feishu] ✅ Appended 2 new songs to master sheet (rows 690-691)
[MasterDB] ✅ 批次 batch-20260513-180420-a32ffd → +2 新增, ~0 更新 | 总计 691 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/QSsVs8VBkhRe
[18:10:27] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [潮水留痕] topic head sent (message_id=om_x100b6f70aff464b4b122ab9e5fa041a)
[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 IM] ✅ [咬合线] topic head sent (message_id=om_x100b6f70ac833088b48afc515171f6b)
[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-20260513-180420-a32ffd
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260513-180420-a32ffd
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260513-180420-a32ffd

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