Skip to content

Commit 4021d78

Browse files
committed
merge(v0.4.2): clips+tts 质量审 + 4 fix · 3 tts 正确性 bug 修 + clips 测试补
session: 0912b6e2-1f27-49c4-8c92-a0d6005cb314 12 ally 并发审查(clips D1-D6 + tts D1-D6) → 9 P0 + 38 P1 → 修 4(tts cache key/WS timeout/Volcengine uuid + clips hermetic tests) · 延 2 P0 ADR. - 11 文件 · 602+ / 41- - cargo test: 87 passed 0 failed(across 8 binaries) - cargo clippy --workspace 绿 延 v0.5+ ADR: - clips-D6-1 transcribe Python helper 冷启动(large-v3 OOM 风险) - clips-D6-2 sentences.json 内存倍增(Word 多次 clone) Co-Authored-By: Claude Opus 4.7
2 parents bd64ced + c2f3246 commit 4021d78

11 files changed

Lines changed: 602 additions & 41 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/nf-source/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ videocut-transcribe = { path = "../videocut-transcribe" }
1818
videocut-align = { path = "../videocut-align" }
1919
videocut-cut = { path = "../videocut-cut" }
2020

21+
[dev-dependencies]
22+
tempfile = "3.15"
23+
2124
[lints]
2225
workspace = true

crates/nf-source/src/cmd_cut.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
use anyhow::Result;
1+
use anyhow::{bail, Result};
22
use serde_json::to_string;
33
use videocut_core::CutReport;
4-
use videocut_cut::{CutOptions, cut_plan};
4+
use videocut_cut::{cut_plan, CutOptions};
55

66
use crate::cli::CutArgs;
77

@@ -24,6 +24,9 @@ pub fn run(args: CutArgs) -> Result<()> {
2424

2525
report.write_to_path(&report_path)?;
2626
print_summary(&report);
27+
if !report.failed.is_empty() {
28+
bail!("cut failed for {} clip(s)", report.failed.len());
29+
}
2730
Ok(())
2831
}
2932

0 commit comments

Comments
 (0)