Skip to content

First-run installs queue every message and never drain (onboarding never sets dir_session_resolved) #242

Description

@robertohluna

dir_session_resolved = true is set in exactly two places: the onboarded branch at handle_backend.rs:2779, and create_session() (handle_actions.rs:1926).

When resp.needs_onboarding is true the wizard branch is taken and neither runs. OnboardingComplete(Ok) (handle_backend.rs:3348-3384) sets identity and calls submit_prompt(...), which bypasses the gate, but never sets dir_session_resolved and never calls create_session. Same for OnboardingAction::Cancel.

So after a brand-new install completes setup, every message the user types is queued by submit_input (handle_actions.rs:685-693) and never drains. This breaks first-run for every new user.

Fix: set dir_session_resolved (or call create_session) on onboarding completion and cancel.

Shipped knowingly in v1.0.177.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions