Skip to content

[Bug]: Device shows "Connecting" and reconnects on every chat/thread switch #40227

Closed

Description

@lavan8t

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Not sure. I think this is in the client UI that tracks the connected device and its status. The Android phone is connected as a debug and agent device.

Steps to reproduce

  1. Connect an Android phone to T3 Code as a debug device over ADB.
  2. Open two chats or threads. They can be in the same project or different ones.
  3. Use the connected device in both chats so each thread sees it.
  4. Switch from chat A to chat B.
  5. Switch back to chat A.

Expected behavior

The device is already connected. Switching chats should keep that connection and not show "Connecting" again.

Actual behavior

Every time I switch chats, the device panel starts the connect flow again and shows "Connecting ...". The device is already connected and working. Switching back does the same thing. The panel keeps showing "Connecting" instead of the connected state. The device keeps working throughout, so this looks like a status problem rather than a real disconnect.

Impact

Minor bug. It happens on every switch, but the device stays connected, so it does not block work.

Version or commit

Unknown for the affected client. The machine I am filing from has t3 CLI v0.1.9, but I could not confirm the client version where this happens.

Environment

An Android phone connected over USB debugging as an agent device. I could not confirm which client I was using (web, desktop, or mobile) or its OS and browser version. The machine I filed this from runs Fedora Linux 7.2.8 x86_64 with opencode v2.3.2.

Logs or stack traces

Not attached. I could not capture logs or screenshots when filing this. Logs from the client or device showing the connect flow on chat switch would help, and I can add them if asked.

Screenshots, recordings, or supporting files

None. I cannot add screenshots from this environment.

Workaround

None. The device stays connected, so work continues, but the status is wrong after every switch.

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