Commit graph

5 commits

Author SHA1 Message Date
victorcavero14
89f0309343 ci: publish the CLI to PyPI on cli-vX.Y.Z tags (Trusted Publishing) 2026-09-27 21:24:48 +02:00
victormanuel.caverogracia
cbf0eb37f3 ci: install greenlet explicitly (SQLAlchemy asyncio no longer pulls it in)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 13:34:28 +02:00
juancarlos.cavero
c200cf787c fix(ci): collect every test again — gate-first imports + the deps tests actually need
CI has been red since the July layout work: the workflow installed five
light packages while the suite grew tests importing numpy, and the MCP
endpoint tests added fastapi on top. Two fixes:

- panel_layout/screencast_layout imported main (torch, mediapipe) BEFORE
  their ENABLED gate, so even the disabled path paid the heavy import.
  Move the import below the gate: the default path now imports nothing,
  which is what the gate was for.
- The workflow installs exactly what the collected tests import at
  module level, still excluding the ML stack the lazy imports protect.
  List validated against a clean venv: 382 passed, 3 skipped, 0 import
  errors.
2026-08-04 00:07:29 +02:00
juancarlos.cavero
f68bf12fee ci: install sqlalchemy so the free-plan metering tests can import cloud.metering 2026-07-20 18:12:33 +02:00
juancarlos.cavero
40151e1708 feat: karaoke subtitles, deterministic Auto-Edit v2, emoji hooks, retries (PR #50 block 1)
Ported from PR #50 (Themegaindex) onto current main, adapted to the
billing-mode app.py and the Lumen dashboard:

- subtitles.py: karaoke ASS generation (word-level highlight, glow/pop/box
  effects, dim/uppercase), whisper continuation-word merging, env-configurable
  whisper model, ASS/font input sanitization, faststart
- editor.py + edit_builder.py: Auto-Edit v2 — Gemini returns a structured
  edit-decision list and the FFmpeg filter is built deterministically with
  hard caps (no raw filter strings from the LLM), 2s dry-run + one
  self-repair round, caption-safe mode blocks zooms on subtitled clips
- app.py: /api/subtitle karaoke fields + re-subtitle prefix walk-back
  (fixes double subtitles), has_captions passed to Auto-Edit
- hooks.py: emoji rendering (color-emoji font with strip fallback),
  char-level hard wrap, unique temp PNGs, ffmpeg timeouts; keeps the
  duration/enable overlay from b1113d7
- translate.py: exponential-backoff retries for transient ElevenLabs errors
- dashboard: 11 caption presets in SubtitleModal; karaoke burns server-side
- tests/: 50 pytest tests; .github/workflows/ci.yml runs them + fe build

Encode settings kept at CRF 18 (medium for post-process steps) per f791a74.

Co-authored-by: Themegaindex <themegaindex@users.noreply.github.com>
2026-07-17 21:26:04 +02:00