Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#3,517 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@prosomoalexd ci sta già lavorando.

Dal 28/10/2026.

  • #3520 di @prosomoalexd — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
nextjs, typescript
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
23.7k
Fork
2.1k
Merge medio
1g 55m
PR unite (30g)
697

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CapSoftware/Cap

Tutte le issue di CapSoftware/Cap

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.