# test\(cli\): reproduce auth session list reporting a connected session as disconnected \(\#21236\) · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/e964b7d4fc76f9443e6f53ce9851195f93c5fef0)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: e964b7d4fc76f9443e6f53ce9851195f93c5fef0

Requested commit: e964b7d4fc76f9443e6f53ce9851195f93c5fef0

Commit: e964b7d4fc76f9443e6f53ce9851195f93c5fef0

Tree: 9dd432406561091f1e49076c11a9bac71c11bb47

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
test(cli): reproduce auth session list reporting a connected session as disconnected (#21236)

While a session's WebSocket is open on the running server, the server's
view and /api/auth/clients report connected:true, but `t3 auth session
list --json` reports the same session connected:false. The test serves the
real auth routes over a temp base dir, records the server runtime state,
marks the session connected as the WebSocket upgrade does, and asserts the
CLI output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [8acbefefc51b4d281dcd04108c82baa1ab902b0e](https://git.cafe/pingdotgg/t3code/commit/8acbefefc51b4d281dcd04108c82baa1ab902b0e?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/e964b7d4fc76f9443e6f53ce9851195f93c5fef0?format=markdown)
