Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#3,517 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@prosomoalexd arbeitet bereits daran.

Seit 28.10.2026.

  • #3520 von @prosomoalexd — offen

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
nextjs, typescript
Bereich
backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Rust
Sterne
23.7k
Forks
2.1k
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
705

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CapSoftware/Cap

Alle Issues in CapSoftware/Cap

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.