Skip to content

Dead loop in gemini -r when there is no session to resume #15892

Closed as not planned
Closed as not planned

Description

@ccqpein

What would you like to be added?

The Gemini CLI keeps showing:

Loaded cached credentials.
Error resuming session: No previous sessions found for this project.

when I run the command gemini -r in a path that has no sessions.

Could we just show a warning and start a new session rather than continuing to display error messages?

Why is this needed?

It would also be nice for someone who making gemini -r the default command for entering the Gemini CLI.

Additional context

No response

Activity

  1. added theissue type on Jan 4, 2026
  2. added
    area/coreIssues related to User Interface, OS Support, Core Functionality
    and removed
    status/need-triageIssues that need to be triaged by the triage automation.
    on Jan 4, 2026
  3. gemini-cli commented on Apr 5, 2026

    @gemini-cli
    Contributor

    Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

    It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

    Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea/coreIssues related to User Interface, OS Support, Core Functionalitystatus/need-triageIssues that need to be triaged by the triage automation.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions