Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Self-hosted: "Failed to queue transcription" logged for every video when no transcription provider is configured

Abierto
#3,517 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@prosomoalexd ya está trabajando en esto.

Desde el 28/10/2026.

  • #3520 de @prosomoalexd — abierto

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

bug
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:

  • queueVideoTranscription in apps/web/lib/queue-video-transcription.ts (media-server webhook, multipart complete, segment finalization)
  • queueProcessedVideoTranscription in apps/web/workflows/process-video.ts
  • queueTranscriptionRegeneration in apps/web/workflows/edit-video.ts
Reproduction
  1. Self-host cap-web + cap-media-server without ASSEMBLY_API_KEY.
  2. Record or upload a video.
  3. The web logs show the transcription failure (twice per video in our case).
Additional Context
  • Cap version: ghcr.io/capsoftware/cap-web built 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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CapSoftware/Cap

Todos los issues de CapSoftware/Cap

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.