Self-hosted: "Failed to queue transcription" logged for every video when no transcription provider is configured
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- nextjs, typescript
- Área
- backend
Línea de trabajo
Start by reading apps/web/lib/queue-video-transcription.ts, apps/web/workflows/process-video.ts, and apps/web/workflows/edit-video.ts; compare their queueing behavior with queueFinalizedRecordingTranscription in apps/web/workflows/finalize-desktop-recording.ts. The issue reports an open linked pull request, so the work appears to be underway. Done means the listed entry points skip transcription when ASSEMBLY_API_KEY is absent, with the reported tests passing.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
On a self-hosted install without ASSEMBLY_API_KEY, every processed video logs a transcription failure, e.g.:
[media-server-webhook] Failed to queue transcription … Missing necessary environment variables
Nothing is actually broken: transcription just isn't set up. I'd expect Cap to skip transcription quietly when no provider is configured, the way queueFinalizedRecordingTranscription in apps/web/workflows/finalize-desktop-recording.ts already does (if (!serverEnv().ASSEMBLY_API_KEY) return true;).
The other entry points don't have that check:
queueVideoTranscriptioninapps/web/lib/queue-video-transcription.ts(media-server webhook, multipart complete, segment finalization)queueProcessedVideoTranscriptioninapps/web/workflows/process-video.tsqueueTranscriptionRegenerationinapps/web/workflows/edit-video.ts
Reproduction
- Self-host cap-web + cap-media-server without
ASSEMBLY_API_KEY. - Record or upload a video.
- The web logs show the transcription failure (twice per video in our case).
Additional Context
- Cap version:
ghcr.io/capsoftware/cap-webbuilt 2026-09-07 from c5f22d7; the same code paths are on main as of 4e2377f61 - Operating system, version: Kubernetes, MySQL 8.0, S3-compatible storage
I have a small fix with unit tests (same early return in the three places, 9 lines + 2 tests that fail on main and pass with the fix) and am happy to open a PR if that's welcome.
- Lenguaje dominante
- Rust
- Estrellas
- 23.7k
- Forks
- 2.1k
- Merge medio
- 1 d 55 min
- PR fusionados (30 d)
- 697
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CapSoftware/Cap
-
Web player intercepts ⌘⇧M and blocks Chrome profile-menu shortcutPosiblemente ocupada @AatmanAJ la tomó hace 14 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
CapSoftware/Cap#2596 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CapSoftware/Cap#2384 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dashboard pagination causes full page reloads on self-hosted CapPosiblemente ocupada @Dewin la tomó hace 42 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CapSoftware/Cap#2305 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
CapSoftware/Cap#1714 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
CapSoftware/Cap#3578 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de CapSoftware/Cap
Issues similares
-
good first issue help wanted r-docs
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
servo/rust-smallvec#824 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
superradcompany/microsandbox#1974 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
priority middle
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
KATO-Hiro/AtCoderClans#12940 ·
Los mantenedores suelen responder en 1 día