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
copilot login auto-enters 'y/N' keychain prompt in v1.0.16 (regression: does not wait for user input) #2494
After upgrading to version 1.0.16, running copilot login when the System Keychain is unavailable no longer prompts the user for (y/N) input as expected. Instead, the CLI auto-"enters" on behalf of the user without waiting for input, causing the authentication process to end/fail prematurely. This did not occur with version 1.0.14, which properly waited for user input.
This appears to be a regression or unintended side effect introduced in v1.0.16.
Affected version
1.0.16 (regression from 1.0.14, which worked correctly)
Steps to reproduce the behavior
Ensure your environment triggers the 'System Keychain unavailable' prompt (e.g., on Linux or a system without a keychain, or when permission is denied).
Run copilot login in the terminal.
Observe that version 1.0.16 does not wait for user input at the (y/N) prompt and auto-submits it, causing the authentication process to terminate.
In version 1.0.14, the prompt waits for user input and continues as expected.
Expected behavior
CLI should always wait for explicit user input (y or N) at the "System Keychain unavailable" prompt and not proceed automatically. The authentication/login process should function as it did in 1.0.14.
Additional context
OS: Debian Distro, WSL
Shell: /bin/bash
Terminal emulator: Microsoft Terminal
Regression coincides with changes introduced in 1.0.15 and 1.0.16 (input handling, mouse reporting, etc.)
Describe the bug
After upgrading to version 1.0.16, running
copilot loginwhen the System Keychain is unavailable no longer prompts the user for (y/N) input as expected. Instead, the CLI auto-"enters" on behalf of the user without waiting for input, causing the authentication process to end/fail prematurely. This did not occur with version 1.0.14, which properly waited for user input.This appears to be a regression or unintended side effect introduced in v1.0.16.
Affected version
1.0.16 (regression from 1.0.14, which worked correctly)
Steps to reproduce the behavior
copilot loginin the terminal.Expected behavior
CLI should always wait for explicit user input (y or N) at the "System Keychain unavailable" prompt and not proceed automatically. The authentication/login process should function as it did in 1.0.14.
Additional context
Please advise if you need any more debugging or logs.