Skip to content

Time out CLI browser login after ten minutes - #26

Merged
jsibbison-square merged 1 commit into
mainfrom
jsib-261019-login-timeout
Oct 18, 2026
Merged

jsibbison-square merged 1 commit into
mainfrom
jsib-261019-login-timeout

Conversation

@jsibbison-square

Copy link
Copy Markdown
Collaborator

When a browser callback is missing or rejected because its state does not match, bl auth login currently waits indefinitely. Bound the callback wait to ten minutes and report BuilderLab CLI auth login timed out; rerun bl auth login so the user can start a fresh attempt. Preserve callback results and the separate stopped-server error.

Addresses the follow-up review on #22. Blox proxy authentication is unchanged.

Validation: just check (formatting, Clippy, and all tests), including deterministic tests for timeout guidance, successful and failed callbacks, and a disconnected callback server.

@jsibbison-square
jsibbison-square force-pushed the jsib-261019-login-timeout branch from a405b32 to dd55a13 Compare October 18, 2026 22:27
@jsibbison-square
jsibbison-square force-pushed the jsib-261019-login-timeout branch from dd55a13 to 95e9fef Compare October 18, 2026 22:28
@jsibbison-square
jsibbison-square marked this pull request as ready for review October 18, 2026 22:30
@jsibbison-square
jsibbison-square requested a review from a team as a code owner October 18, 2026 22:30

@shu-hui-cash shu-hui-cash left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice find and thanks for the fix!

@jsibbison-square
jsibbison-square merged commit 21e0834 into main Oct 18, 2026
4 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