fix: ASR fails to find cut.json when executor uses .tmp output path

- ASR script used output_path.replace('.asr.json', '.cut.json') to find CUT file
- Executor passes output path with .tmp suffix (xxx.asr.json.tmp)
- This produced wrong path: xxx.cut.json.tmp (doesn't exist)
- Fix: use --uuid to construct CUT path from output_dir instead
- Also added executor Full command logging for debugging

Fixed IMG_9449 (1).MOV ASR failure: status changed from failed → completed
This commit is contained in:
Accusys
2026-08-05 01:45:59 +08:00
parent 3d13a06bd9
commit 15967929ef
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -502,6 +502,7 @@ impl PythonExecutor {
cmd.process_group(0);
tracing::info!("[{}] Starting: {:?}", log_prefix, script_name);
tracing::info!("[{}] Full command: {:?}", log_prefix, cmd);
let mut child = cmd
.spawn()