Skip to content

fix: send project selection status messages to stderr#785

Merged
rektdeckard merged 1 commit intolivekit:mainfrom
inickt:project-using-stderr
Mar 9, 2026
Merged

fix: send project selection status messages to stderr#785
rektdeckard merged 1 commit intolivekit:mainfrom
inickt:project-using-stderr

Conversation

@inickt
Copy link
Contributor

@inickt inickt commented Mar 9, 2026

Move project-selection status lines (Using project..., Using default project..., env/dev credential notices) from stdout to stderr in shared project loading paths. This keeps stdout clean for scripting and machine-readable output.

Commands piped to parsers no longer get polluted by status text, e.g. lk room list --json | jq '.rooms | length' now receives only JSON on stdout.

Copy link
Member

@rektdeckard rektdeckard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good change! Lots more ancillary messages still being printed to stdout in other commands, but I am happy to take over cleaning up the rest of them. Appreciate the contrib!

@rektdeckard rektdeckard merged commit ba428e5 into livekit:main Mar 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants