Skip to content

Bug: Terminal buffer lost on WebSocket reconnect #629

@waleedkadous

Description

@waleedkadous

When the WS connection to a builder terminal drops and reconnects, the entire terminal buffer is cleared. User sees a blank screen — all scrollback history lost.

Console error: [ScrollController] correcting unexpected scroll-to-top

Likely cause: backend sends a fresh session on reconnect instead of replaying the existing pty buffer.

This is in the Tower terminal WS reconnect logic, not Shannon agent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions