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

stack: functions serve fails without a TTY because the default output format is one it rejects

Cerrado
#7,010 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@7ttp ya está trabajando en esto.

Desde el 6/10/2026.

  • #7027 de @7ttp — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript

Línea de trabajo

Search the CLI for FunctionsServeStackError and the check that output must be text or stream-json. Find where the default --output-format is chosen when stdout is not a TTY (CI, redirects). Change that default to stream-json or text so non-interactive supabase functions serve no longer errors. Confirm with a redirected run and any existing functions-serve tests.

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

Descripción

🐛 Bug supabase/cli
Supabase CLI version

2.119.0, macOS 26.3 (Apple silicon)

Actual output

Run without a TTY (CI step, agent sandbox, cmd > log &):

$ SUPABASE_EXPERIMENTAL_STACK=1 supabase functions serve --env-file fn.env > serve.log 2>&1
{"_tag":"Error","error":{"code":"FunctionsServeStackError","message":"Functions serve requires text or stream-json output.","suggestion":"Use --output-format stream-json for structured live output."}}

The non-TTY default output format is one functions serve refuses, so every non-interactive caller has to pass --output-format text or stream-json. The native runtime targets exactly those callers (CI runners, coding-agent sandboxes).

Expected behavior

Without a TTY, functions serve defaults to stream-json (or text) rather than failing.

I investigated this with help from an AI coding assistant (Claude Code), which also drafted this text. The results above come from real runs.

Lenguaje dominante
TypeScript
Estrellas
2.4k
Forks
531
Merge medio
1 d 4 h
PR fusionados (30 d)
346

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 supabase/cli

Todos los issues de supabase/cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.