Skip to content

fix: raise error when auth login remote URL is missing - #84

Open
euxaristia wants to merge 1 commit into
EpicGames:mainfrom
euxaristia:fix-auth-login-silent-failure
Open

fix: raise error when auth login remote URL is missing#84
euxaristia wants to merge 1 commit into
EpicGames:mainfrom
euxaristia:fix-auth-login-silent-failure

Conversation

@euxaristia

Copy link
Copy Markdown

Avoid a silent/hanging failure when running lore auth login without a remote URL argument or configured repository remote.

  • Add CLI-side validation in lore-client/src/cli/commands/auth.rs.
  • Add matching library-side guard in lore/src/auth.rs for non-interactive login paths.
  • Add unit tests covering interactive/token login remote resolution.

Avoid a silent/hanging failure when running 'lore auth login' without a remote URL argument or configured repository remote.

Add CLI-side validation and comprehensive unit tests to ensure a clear error is printed to the user.

Signed-off-by: euxaristia <euxaristia@users.noreply.github.com>
@euxaristia
euxaristia force-pushed the fix-auth-login-silent-failure branch from bde655c to 2772568 Compare June 28, 2026 14:32
@ajcarberry ajcarberry added area:client CLI area:core Core library and its interfaces (lib, C API); revision, storage, transport, protocol internals labels Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:client CLI area:core Core library and its interfaces (lib, C API); revision, storage, transport, protocol internals

Development

Successfully merging this pull request may close these issues.

2 participants