fix(subsync): harden manual requests, error output, and track reload

- validate reference files (absolute regular file, size cap) before reading
- redact stream tokens and truncate tool output in failure messages
- keep title and lang when re-adding the synced track
- ignore an external audio track's ff-index when mapping the video's audio
- report discarded stale auto results, bound manual offsets, yield between alignments
- update stale subsync docs, fix markdown formatting, discover subtitle tests by lane
This commit is contained in:
sudacode committed 2026-11-28 03:15:35 -08:00
1 parent a303d6be27
commit 24b25287bd
15 files changed
+306 -84

No files matched your search

+5
View File
@@ -31,6 +31,11 @@ export const testLanes: Record<string, TestLane> = {
include: ['.test.ts'],
exclude: ['launcher/smoke.e2e.test.ts'],
},
subtitle: {
roots: ['src/subsync'],
include: ['.test.ts'],
extraFiles: ['src/core/services/subsync.test.ts', 'src/renderer/modals/subsync.test.ts'],
},
scripts: {
roots: ['scripts'],
include: ['.test.ts'],