Skip to content

Print login prompts to stderr - #3491

Open
mitja-kleider wants to merge 1 commit into
flyteorg:masterfrom
mitja-kleider:device-code-stderr
Open

mitja-kleider wants to merge 1 commit into
flyteorg:masterfrom
mitja-kleider:device-code-stderr

Conversation

@mitja-kleider

Copy link
Copy Markdown

The device-code URL, the PKCE fallback link and the polling status went to stdout. A CLI built on flytekit keeps stdout for its own output, often JSON a script parses: the prompt corrupts it, and when stdout is piped (e.g. through tail) the user never sees it and the login waits for minutes with nothing on screen. On stderr the prompt stays on the terminal.

A CLI built on flytekit keeps stdout for its own output, often JSON a
script parses. A login prompt mixed into it corrupts that output, and is
lost when stdout goes to a pipe or a file, so the login waits on a
prompt nobody sees.

Signed-off-by: Mitja Kleider <mitja.kleider@aleph-alpha.com>
@welcome

welcome Bot commented Nov 24, 2026

Copy link
Copy Markdown

Thank you for opening this pull request! 🙌

These tips will help get your PR across the finish line:

  • Most of the repos have a PR template; if not, fill it out to the best of your knowledge.
  • Sign off your commits (Reference: DCO Guide).

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.

1 participant