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

notes from ElevenLabs TTS experiment

Abierto
#603 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
api, backend, security

Línea de trabajo

Comienza localizando la ruta de renderizado de ElevenLabs TTS y el código que gestiona el encabezado de la respuesta; después, sigue cómo se representan actualmente el trabajo duradero y la limpieza. Se considera terminado cuando se conserva la history-item-id antes de devolver el audio, se reintenta la eliminación diferida, se comprueban ambos endpoints de historial, se alerta sobre un fallo terminal y se utilizan scopes de lectura y escritura independientes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement

Alert text is user data. Design for minimizing what ElevenLabs ever holds; deletion is cleanup, not prevention.

enable_logging=false does not work. Measured: a ZRM request returned HTTP
200 and a history-item-id header — it wrote a history entry exactly like the
logging-on request, with no eligibility error. ZRM is gated to eligible
Enterprise accounts; on a normal key the parameter is accepted and silently does
not apply. Never treat a 200 as proof of non-retention.

Deleting the history item does work, but not immediately. Measured at +3 ms
after the audio response completed:

  • DELETE /v1/history/{id} → 404 history_item_not_found
  • GET /v1/history/{id}/audio → 200, audio present

The audio is live and fetchable on their servers before the history record is
addressable for deletion. A 404 on DELETE means "not there yet", not "nothing
stored" — never infer deletion from it.

Therefore: a delayed delete queue, not an inline delete.

  • Persist the history-item-id (response header) durably at render time,
    before returning audio to the user. It is the only handle; a crash between
    render and delete orphans data nothing can later remove.
  • Delete after a delay, with backoff retries on the not-found case.
  • Alert on terminal failures. A failed delete is silent and leaves live audio.
  • The delay is unmeasured — a 0/250/750/2000/5000 ms ladder was written but never
    confirmed against the live API. Measure it and set the first attempt past the
    window; don't assume.

Verification must handle inconsistent error shapes. DELETE-missing is 404,
but GET /v1/history/{id} on a missing item is 400 with
detail.status: invalid_id
(not 404). Check both the history item and its
/audio endpoint — in one run the audio outlived the record.

Keys need their own scopes for cleanup: speech_history_write to delete,
speech_history_read to verify. A TTS-only key gets 401 missing_permissions
and the cleanup silently no-ops. Provision this before launch.

Even a verified delete is weaker than ZRM. ElevenLabs states debugging and
moderation logs may retain related data, and backups may persist up to 30 days.
User-facing copy must say "deleted from history" — never "never stored."

Lenguaje dominante
TypeScript
Estrellas
5
Forks
1
Merge medio
14 h 37 min
PR fusionados (30 d)
297

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 diffplug/dormouse

Todos los issues de diffplug/dormouse

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.