-
Notifications
You must be signed in to change notification settings - Fork 15
[Bug]: OpenClaw dashboard opens before bootstrap/session initialization is complete #3167
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingin-progressIssue is being actively worked onIssue is being actively worked on
Description
What happened?
Spawn provisions OpenClaw and opens the dashboard, but the first chat session is not actually usable yet.
Observed behavior:
- OpenClaw installs and the dashboard opens successfully.
- The Control UI connects to the gateway.
- Sending a message from the Chat screen fails because the UI tries to resolve a session key that does not exist yet:
sessions.resolve->No session found: openclaw-control-ui
- The OpenClaw install is still in first-run bootstrap state at that point:
openclaw status --jsonreportsbootstrapPending: true~/.openclaw/workspace/BOOTSTRAP.mdis still present~/.openclaw/workspace/IDENTITY.mdis still unfilled
This makes the dashboard look ready even though the workspace has not been bootstrapped into a normal long-lived session yet.
Expected behavior:
- After
spawn openclaw <cloud>, the dashboard should either:- land in a working chat session immediately, or
- land in a supported first-run/bootstrap flow that actually works end-to-end
Actual behavior:
- the dashboard renders
- the websocket is connected
- chat send fails because the session/bootstrap state is incomplete
Why this looks like a Spawn integration bug:
- Spawn's shared OpenClaw setup path in
packages/cli/src/shared/agent-setup.tsrunsopenclaw onboard, but it does not appear to complete or seed the initial bootstrap/session state needed for the dashboard chat to function immediately. - The failure is about bootstrap/session initialization, not provider-specific browser transport.
Suggested direction:
- complete a minimal bootstrap during Spawn setup, or
- seed the initial session state expected by the Control UI, or
- intentionally route the user into a working bootstrap/onboarding surface instead of the normal chat view until bootstrap is complete.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingin-progressIssue is being actively worked onIssue is being actively worked on