clipwright/tests
juancarlos.cavero 0d9e04f333 fix(reframe): harden PR #70's manual reframing after review
- Meter the re-render: /api/clip/reframe now reserves/commits/releases
  minutes exactly like a source-path /rerender — it is the same GPU work,
  and it was free and uncapped.
- Re-apply captions by default (reapply_captions param to opt out): every
  default clip ships with burned captions, and the reframe silently
  returned caption-less files.
- Read metadata.json INSIDE the per-job lock (same _reframe_locked shape
  as /rerender): the read-outside/write-inside window let a concurrent
  rerender's recipe get clobbered by a stale write.
- Interplay with whole-clip framing: recipe.framing keeps forcing its
  layout on the scenes the user did not hand-position (apply_crop_overrides
  runs after force_strategy, so per-scene wins where named), and the
  recipe is preserved through the reframe instead of being rebuilt bare.
- /rerender clears stale crop_overrides: scene indices only mean anything
  against the cut they were made for, and the trim render does not apply
  them — leaving them made /scenes reopen showing overrides that would
  land on the wrong shots.
- /scenes: entitlement-gated (it cuts, scene-detects and encodes on every
  open), serialized per job (stable output names tore under concurrent
  opens), 400 on horizontal jobs, real aspect for square jobs, temp_
  prefix on preview/thumbnails (kept out of the self-host S3 backup),
  faststart + timeout on the preview encode.
- Tests for all of it plus the apply_crop_overrides math the PR described
  but did not include (12 new, suite at 502).
2026-08-19 12:09:02 +02:00
..
conftest.py feat(agents): the pipeline as a platform — API keys, MCP server, webhooks 2026-08-03 22:33:16 +02:00
test_active_speaker.py feat(reframe): optional layouts, and a Gemini-picked layout per video 2026-07-31 13:28:45 +02:00
test_alert_classify.py fix(gemini): distinguir bloqueo de contenido de fallo transitorio 2026-07-24 00:37:14 +02:00
test_api_keys.py feat(agents): the pipeline as a platform — API keys, MCP server, webhooks 2026-08-03 22:33:16 +02:00
test_billing_states.py fix(billing): stop stranding customers whose payment failed 2026-07-25 15:14:15 +02:00
test_camera_inset.py feat(reframe): layout for a screen with the camera composited into a corner 2026-07-31 13:28:45 +02:00
test_clip_selection.py feat(generate): manual clip count and duration controls (discussion #65) 2026-08-18 19:21:42 +02:00
test_edit_builder.py feat: karaoke subtitles, deterministic Auto-Edit v2, emoji hooks, retries (PR #50 block 1) 2026-07-17 21:26:04 +02:00
test_email_policy.py fix(auth): harden MX verification after code review 2026-08-13 10:07:20 +02:00
test_ffmpeg_utils.py feat(clips): borrar la metadata heredada del source en los clips finales 2026-07-23 01:34:59 +02:00
test_filename_limits.py fix(files): bound filenames by bytes, not characters 2026-07-26 20:59:04 +02:00
test_gemini_retry.py fix(gemini): distinguir bloqueo de contenido de fallo transitorio 2026-07-24 00:37:14 +02:00
test_generation_controls.py feat(generate): manual clip count and duration controls (discussion #65) 2026-08-18 19:21:42 +02:00
test_hooks.py feat: karaoke subtitles, deterministic Auto-Edit v2, emoji hooks, retries (PR #50 block 1) 2026-07-17 21:26:04 +02:00
test_job_error_text.py test(ci): saltar los tests que importan main/app en el CI mínimo 2026-07-23 11:40:05 +02:00
test_layout_picker.py feat(layout): shadow mode, decide and log without touching the render 2026-08-01 01:58:19 +02:00
test_log_view.py feat(cloud): user-friendly job logs + transcription progress; hide auto profile id in header 2026-07-18 02:20:31 +02:00
test_mcp_endpoint.py fix(test): pin a dummy Gemini key so the webhook SSRF test runs the SSRF branch in CI 2026-08-04 00:09:03 +02:00
test_mcp_protocol.py feat(mcp): list_clips renders as an MCP App clip picker in UI-capable clients 2026-08-05 23:59:02 +02:00
test_mcp_ui.py feat(mcp): list_clips renders as an MCP App clip picker in UI-capable clients 2026-08-05 23:59:02 +02:00
test_metering_free_plan.py feat(abuse): abrir free a email normal + bloquear dominios desechables 2026-07-21 00:45:54 +02:00
test_panel_layout.py fix(panel): a 2x2 grid for three people, not three bands 2026-07-31 14:24:46 +02:00
test_punch_in.py feat(reframe): optional layouts, and a Gemini-picked layout per video 2026-07-31 13:28:45 +02:00
test_recut.py fix(editor): harden the recut engine 2026-08-18 15:26:44 +02:00
test_reframe_endpoint.py fix(reframe): harden PR #70's manual reframing after review 2026-08-19 12:09:02 +02:00
test_reframe_v2.py feat(clips): four quality fixes found by auditing real user output 2026-07-26 20:59:04 +02:00
test_rerender_endpoint.py feat(editor): manual framing override (auto / full frame / track subject) 2026-08-19 01:06:48 +02:00
test_screencast_layout.py feat(reframe): optional layouts, and a Gemini-picked layout per video 2026-07-31 13:28:45 +02:00
test_speaker_tracker.py fix(reframe): ignore lone target jumps so the camera stops swinging 2026-07-26 20:59:04 +02:00
test_split_layout.py feat(reframe): optional layouts, and a Gemini-picked layout per video 2026-07-31 13:28:45 +02:00
test_subtitle_metering.py fix(subtitles): stop charging quota for burning captions 2026-07-25 17:16:59 +02:00
test_subtitles.py fix(captions): keep apostrophes out of the burned subtitle path 2026-07-29 15:04:50 +02:00
test_transcribe_backends.py fix(transcribe): manejar vídeos sin audio + alerta de fallos honesta 2026-07-21 21:13:59 +02:00
test_translate.py feat: karaoke subtitles, deterministic Auto-Edit v2, emoji hooks, retries (PR #50 block 1) 2026-07-17 21:26:04 +02:00