You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
branches list -o json emits spinner ANSI to stdout since v2.102.0, breaking JSON parsing #5397
supabase branches list -o json writes a progress-spinner escape sequence to
stdout ahead of the JSON. Parsing the captured output fails.
Works: v2.101.0 Breaks: v2.102.0
Environment: GitHub Actions (Ubuntu), stdout is not a TTY, CI=true.
Reproduce:
branches_json="$(supabase branches list --project-ref "$REF" -o json)"
node -e 'JSON.parse(process.argv[1])'"$branches_json"
Expected: stdout holds only the JSON array.
Actual: stdout starts with 1b 5b 3f 32 35 6c (ESC [ ? 2 5 l, hide-cursor)
followed by a gray │ spinner frame, so the parse throws:
SyntaxError: Unexpected token '', "[?25l[90"... is not valid JSON
Likely cause: v2.102.0 ported branches to TypeScript (#5374). The new
renderer writes the spinner to stdout even when stdout is not a TTY. The Go
build wrote clean JSON. Other commands ported in that release probably share
the bug.
Opened #5400 — fixes this at the textOutputLayer.task boundary by skipping the spinner when stdoutIsTty is false, so all the v2.102.0-ported commands (branches/secrets/orgs/sso/etc.) stop polluting stdout in CI in one shot. Could you give it a try and confirm it unblocks your pipeline?
Activity
camwest commentedon May 29, 2026
Let me know if you have any questions on above! See screenshot for additional context.
zlotnika commentedon May 30, 2026
Opened #5400 — fixes this at the
textOutputLayer.taskboundary by skipping the spinner whenstdoutIsTtyis false, so all the v2.102.0-ported commands (branches/secrets/orgs/sso/etc.) stop polluting stdout in CI in one shot. Could you give it a try and confirm it unblocks your pipeline?fix(cli): suppress spinner on stdout for legacy -o machine formats (#…