zed icon indicating copy to clipboard operation
zed copied to clipboard

Project search jumps to first result

Open jvanbaarsen opened this issue 1 year ago • 10 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

When I'm searching for a file with cmd+P, and then use the arrows to select a file a couple lines lower, I need to press enter within a couple ms otherwise the selection jumps back to the first line, that way I keep selecting the wrong file because of the jumpy selection.

Environment

Zed: v0.134.4 (Zed) OS: macOS 14.3.1 Memory: 16 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

jvanbaarsen avatar May 13 '24 08:05 jvanbaarsen

Does it happen always, or only during the project load/reloads?

SomeoneToIgnore avatar May 13 '24 08:05 SomeoneToIgnore

It happens always, basically the project search is unusable for me, unless I type the exact filename and it comes out as the first result. I'll try and see if I can make a video of it

jvanbaarsen avatar May 13 '24 08:05 jvanbaarsen

In the video below I'm pressing the arrow down. The jump back to the first result is the bug I'm talking about:

https://github.com/zed-industries/zed/assets/1362793/82233a00-69a8-48b6-9931-c8a1843a37f5

jvanbaarsen avatar May 13 '24 09:05 jvanbaarsen

This is weird, as it looks exactly what we've had fixed long time ago: https://github.com/zed-industries/zed/pull/8343 and that happened during relatively large project loading.

Now, that list is supposed to be refreshed on more files and folders added to/removed from the project:

https://github.com/zed-industries/zed/blob/91b9e4ee9f121d20c2adfbd29fb7a0b5b1b8d614/crates/file_finder/src/file_finder.rs#L423-L432

so not sure what happens here.

I've tried reproducing this on a tailwind + react project (closed source, alas) and it worked for me with the blinking caret and the file opened in the background.

More Zed logs (zed: open log command in the cmd-shift-p panel), LSP logs (debug: open language server logs command) and context (such as your config) might help — maybe it's reproducing for you on an open-source project I could try?

SomeoneToIgnore avatar May 13 '24 09:05 SomeoneToIgnore

This are the logs (I filtered them a bit)

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4
2024-05-10T13:20:50+00:00 [ERROR] failed to deserialize response from language server: invalid type: null, expected struct CompletionItem at line 1 column 4. response from language server: "null"
2024-05-10T13:20:50+00:00 [ERROR] crates/project/src/project.rs:5701: failed to deserialize response

Caused by:
    invalid type: null, expected struct CompletionItem at line 1 column 4

2024-05-10T13:23:54+00:00 [INFO] reload git repository ".git"
2024-05-10T13:24:21+00:00 [INFO] reload git repository ".git"
2024-05-10T13:24:32+00:00 [INFO] reload git repository ".git"
2024-05-10T13:24:33+00:00 [INFO] reload git repository ".git"
2024-05-10T13:24:34+00:00 [INFO] reload git repository ".git"
2024-05-10T13:24:36+00:00 [INFO] reload git repository ".git"
2024-05-10T13:24:36+00:00 [INFO] reload git repository ".git"
2024-05-10T13:24:36+00:00 [INFO] reload git repository ".git"
2024-05-10T13:29:14+00:00 [ERROR] connection error: delay between messages too long
2024-05-10T13:29:14+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T13:29:14+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T13:29:14+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T13:29:14+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T13:29:15+00:00 [INFO] add connection to peer
2024-05-10T13:29:15+00:00 [INFO] add_connection;
2024-05-10T13:29:15+00:00 [INFO] waiting for server hello
2024-05-10T13:29:15+00:00 [INFO] got server hello
2024-05-10T13:29:15+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 1 }, peer id: PeerId { owner_id: 403, id: 352247 })
2024-05-10T13:29:15+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 352247 }, connection_id: ConnectionId { owner_id: 0, id: 1 } }
2024-05-10T14:41:11+00:00 [INFO] reload git repository ".git"
2024-05-10T14:41:11+00:00 [INFO] reload git repository ".git"
2024-05-10T14:41:11+00:00 [INFO] reload git repository ".git"
2024-05-10T14:41:54+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T14:41:54+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T14:41:54+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T14:41:54+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T14:41:55+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T14:41:55+00:00 [INFO] add connection to peer
2024-05-10T14:41:55+00:00 [INFO] add_connection;
2024-05-10T14:41:55+00:00 [INFO] waiting for server hello
2024-05-10T14:41:55+00:00 [INFO] got server hello
2024-05-10T14:41:55+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 2 }, peer id: PeerId { owner_id: 403, id: 380389 })
2024-05-10T14:41:55+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 380389 }, connection_id: ConnectionId { owner_id: 0, id: 2 } }
2024-05-10T14:44:19+00:00 [ERROR] connection error: delay between messages too long
2024-05-10T14:44:19+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T14:44:19+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T14:44:19+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T14:44:24+00:00 [INFO] set status on client 78497: ConnectionError
2024-05-10T14:44:24+00:00 [ERROR] failed to connect timed out trying to establish connection
2024-05-10T14:44:24+00:00 [INFO] set status on client 78497: ReconnectionError { next_reconnection: Instant { tv_sec: 121885, tv_nsec: 619962458 } }
2024-05-10T14:44:24+00:00 [WARN] request completed with error: request or operation took longer than the configured timeout time
2024-05-10T14:44:24+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T14:44:24+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T14:44:29+00:00 [WARN] request completed with error: request or operation took longer than the configured timeout time
2024-05-10T14:44:29+00:00 [INFO] set status on client 78497: ConnectionError
2024-05-10T14:44:29+00:00 [ERROR] failed to connect request or operation took longer than the configured timeout time
2024-05-10T14:44:29+00:00 [INFO] set status on client 78497: ReconnectionError { next_reconnection: Instant { tv_sec: 121890, tv_nsec: 816388343 } }
2024-05-10T14:44:29+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T14:44:29+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:00:14+00:00 [WARN] request completed with error: failed to connect to the server
2024-05-10T15:00:14+00:00 [INFO] set status on client 78497: ConnectionError
2024-05-10T15:00:14+00:00 [ERROR] failed to connect failed to connect to the server
2024-05-10T15:00:14+00:00 [INFO] set status on client 78497: ReconnectionError { next_reconnection: Instant { tv_sec: 121896, tv_nsec: 196020851 } }
2024-05-10T15:00:15+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:00:15+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:00:15+00:00 [WARN] request completed with error: failed to resolve host name
2024-05-10T15:00:15+00:00 [INFO] set status on client 78497: ConnectionError
2024-05-10T15:00:15+00:00 [ERROR] failed to connect failed to resolve host name
2024-05-10T15:00:15+00:00 [INFO] set status on client 78497: ReconnectionError { next_reconnection: Instant { tv_sec: 121896, tv_nsec: 695491211 } }
2024-05-10T15:00:15+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:00:15+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:00:15+00:00 [WARN] request completed with error: failed to resolve host name
2024-05-10T15:00:15+00:00 [INFO] set status on client 78497: ConnectionError
2024-05-10T15:00:15+00:00 [ERROR] failed to connect failed to resolve host name
2024-05-10T15:00:15+00:00 [INFO] set status on client 78497: ReconnectionError { next_reconnection: Instant { tv_sec: 121897, tv_nsec: 506324751 } }
2024-05-10T15:00:16+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:00:16+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:00:16+00:00 [WARN] request completed with error: failed to resolve host name
2024-05-10T15:00:16+00:00 [INFO] set status on client 78497: ConnectionError
2024-05-10T15:00:16+00:00 [ERROR] failed to connect failed to resolve host name
2024-05-10T15:00:16+00:00 [INFO] set status on client 78497: ReconnectionError { next_reconnection: Instant { tv_sec: 121898, tv_nsec: 506449050 } }
2024-05-10T15:00:17+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:00:17+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:00:17+00:00 [WARN] request completed with error: failed to resolve host name
2024-05-10T15:00:17+00:00 [INFO] set status on client 78497: ConnectionError
2024-05-10T15:00:17+00:00 [ERROR] failed to connect failed to resolve host name
2024-05-10T15:00:17+00:00 [INFO] set status on client 78497: ReconnectionError { next_reconnection: Instant { tv_sec: 121900, tv_nsec: 171011850 } }
2024-05-10T15:00:19+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:00:19+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:00:19+00:00 [WARN] request completed with error: failed to resolve host name
2024-05-10T15:00:19+00:00 [INFO] set status on client 78497: ConnectionError
2024-05-10T15:00:19+00:00 [ERROR] failed to connect failed to resolve host name
2024-05-10T15:00:19+00:00 [INFO] set status on client 78497: ReconnectionError { next_reconnection: Instant { tv_sec: 121903, tv_nsec: 300936363 } }
2024-05-10T15:00:22+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:00:22+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:00:22+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T15:00:23+00:00 [INFO] add connection to peer
2024-05-10T15:00:23+00:00 [INFO] add_connection;
2024-05-10T15:00:23+00:00 [INFO] waiting for server hello
2024-05-10T15:00:23+00:00 [INFO] got server hello
2024-05-10T15:00:23+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 3 }, peer id: PeerId { owner_id: 403, id: 387372 })
2024-05-10T15:00:23+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 387372 }, connection_id: ConnectionId { owner_id: 0, id: 3 } }
2024-05-10T15:03:06+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T15:03:06+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T15:03:06+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:03:06+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:03:06+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T15:03:06+00:00 [INFO] add connection to peer
2024-05-10T15:03:06+00:00 [INFO] add_connection;
2024-05-10T15:03:06+00:00 [INFO] waiting for server hello
2024-05-10T15:03:06+00:00 [INFO] got server hello
2024-05-10T15:03:06+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 4 }, peer id: PeerId { owner_id: 403, id: 388527 })
2024-05-10T15:03:06+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 388527 }, connection_id: ConnectionId { owner_id: 0, id: 4 } }
2024-05-10T15:08:13+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T15:08:13+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T15:08:13+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:08:13+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:08:13+00:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-05-10T15:08:13+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T15:08:15+00:00 [INFO] add connection to peer
2024-05-10T15:08:15+00:00 [INFO] add_connection;
2024-05-10T15:08:15+00:00 [INFO] waiting for server hello
2024-05-10T15:08:15+00:00 [INFO] got server hello
2024-05-10T15:08:15+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 5 }, peer id: PeerId { owner_id: 403, id: 390457 })
2024-05-10T15:08:15+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 390457 }, connection_id: ConnectionId { owner_id: 0, id: 5 } }
2024-05-10T15:37:13+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T15:37:13+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T15:37:13+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:37:13+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:37:14+00:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-05-10T15:37:14+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T15:37:14+00:00 [INFO] add connection to peer
2024-05-10T15:37:14+00:00 [INFO] add_connection;
2024-05-10T15:37:14+00:00 [INFO] waiting for server hello
2024-05-10T15:37:14+00:00 [INFO] got server hello
2024-05-10T15:37:14+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 6 }, peer id: PeerId { owner_id: 403, id: 401851 })
2024-05-10T15:37:14+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 401851 }, connection_id: ConnectionId { owner_id: 0, id: 6 } }
2024-05-10T15:42:05+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T15:42:05+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T15:42:05+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:42:05+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:42:05+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T15:42:06+00:00 [INFO] add connection to peer
2024-05-10T15:42:06+00:00 [INFO] add_connection;
2024-05-10T15:42:06+00:00 [INFO] waiting for server hello
2024-05-10T15:42:06+00:00 [INFO] got server hello
2024-05-10T15:42:06+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 7 }, peer id: PeerId { owner_id: 403, id: 403754 })
2024-05-10T15:42:06+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 403754 }, connection_id: ConnectionId { owner_id: 0, id: 7 } }
2024-05-10T15:58:04+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T15:58:04+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T15:58:04+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T15:58:04+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T15:58:05+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T15:58:05+00:00 [INFO] add connection to peer
2024-05-10T15:58:05+00:00 [INFO] add_connection;
2024-05-10T15:58:05+00:00 [INFO] waiting for server hello
2024-05-10T15:58:05+00:00 [INFO] got server hello
2024-05-10T15:58:05+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 8 }, peer id: PeerId { owner_id: 403, id: 410049 })
2024-05-10T15:58:05+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 410049 }, connection_id: ConnectionId { owner_id: 0, id: 8 } }
2024-05-10T16:14:53+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T16:14:53+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T16:14:53+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T16:14:53+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T16:14:54+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T16:14:54+00:00 [INFO] add connection to peer
2024-05-10T16:14:54+00:00 [INFO] add_connection;
2024-05-10T16:14:54+00:00 [INFO] waiting for server hello
2024-05-10T16:14:54+00:00 [INFO] got server hello
2024-05-10T16:14:54+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 9 }, peer id: PeerId { owner_id: 403, id: 416782 })
2024-05-10T16:14:54+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 416782 }, connection_id: ConnectionId { owner_id: 0, id: 9 } }
2024-05-10T16:22:11+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T16:22:11+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T16:22:11+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T16:22:11+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T16:22:12+00:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-05-10T16:22:12+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T16:22:12+00:00 [INFO] add connection to peer
2024-05-10T16:22:12+00:00 [INFO] add_connection;
2024-05-10T16:22:12+00:00 [INFO] waiting for server hello
2024-05-10T16:22:12+00:00 [INFO] got server hello
2024-05-10T16:22:12+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 10 }, peer id: PeerId { owner_id: 403, id: 419530 })
2024-05-10T16:22:12+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 419530 }, connection_id: ConnectionId { owner_id: 0, id: 10 } }
2024-05-10T16:37:50+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T16:37:50+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T16:37:50+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T16:37:50+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T16:37:51+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T16:37:52+00:00 [INFO] add connection to peer
2024-05-10T16:37:52+00:00 [INFO] add_connection;
2024-05-10T16:37:52+00:00 [INFO] waiting for server hello
2024-05-10T16:37:52+00:00 [INFO] got server hello
2024-05-10T16:37:52+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 11 }, peer id: PeerId { owner_id: 403, id: 425584 })
2024-05-10T16:37:52+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 425584 }, connection_id: ConnectionId { owner_id: 0, id: 11 } }
2024-05-10T16:55:07+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T16:55:07+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T16:55:07+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T16:55:07+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T16:55:07+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T16:55:08+00:00 [INFO] add connection to peer
2024-05-10T16:55:08+00:00 [INFO] add_connection;
2024-05-10T16:55:08+00:00 [INFO] waiting for server hello
2024-05-10T16:55:08+00:00 [INFO] got server hello
2024-05-10T16:55:08+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 12 }, peer id: PeerId { owner_id: 403, id: 431939 })
2024-05-10T16:55:08+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 431939 }, connection_id: ConnectionId { owner_id: 0, id: 12 } }
2024-05-10T16:56:48+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T16:56:48+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T16:56:48+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T16:56:48+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T16:56:48+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T16:56:49+00:00 [INFO] add connection to peer
2024-05-10T16:56:49+00:00 [INFO] add_connection;
2024-05-10T16:56:49+00:00 [INFO] waiting for server hello
2024-05-10T16:56:49+00:00 [INFO] got server hello
2024-05-10T16:56:49+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 13 }, peer id: PeerId { owner_id: 403, id: 432577 })
2024-05-10T16:56:49+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 432577 }, connection_id: ConnectionId { owner_id: 0, id: 13 } }
2024-05-10T17:04:47+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:04:47+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:04:47+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:04:47+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:04:47+00:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-05-10T17:04:47+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:04:48+00:00 [INFO] add connection to peer
2024-05-10T17:04:48+00:00 [INFO] add_connection;
2024-05-10T17:04:48+00:00 [INFO] waiting for server hello
2024-05-10T17:04:48+00:00 [INFO] got server hello
2024-05-10T17:04:48+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 14 }, peer id: PeerId { owner_id: 403, id: 435675 })
2024-05-10T17:04:48+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 435675 }, connection_id: ConnectionId { owner_id: 0, id: 14 } }
2024-05-10T17:05:16+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:05:16+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:05:16+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:05:16+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:05:17+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:05:17+00:00 [INFO] add connection to peer
2024-05-10T17:05:17+00:00 [INFO] add_connection;
2024-05-10T17:05:17+00:00 [INFO] waiting for server hello
2024-05-10T17:05:17+00:00 [INFO] got server hello
2024-05-10T17:05:17+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 15 }, peer id: PeerId { owner_id: 403, id: 435870 })
2024-05-10T17:05:17+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 435870 }, connection_id: ConnectionId { owner_id: 0, id: 15 } }
2024-05-10T17:07:35+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:07:35+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:07:35+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:07:35+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:07:36+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:07:36+00:00 [INFO] add connection to peer
2024-05-10T17:07:36+00:00 [INFO] add_connection;
2024-05-10T17:07:36+00:00 [INFO] waiting for server hello
2024-05-10T17:07:36+00:00 [INFO] got server hello
2024-05-10T17:07:36+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 16 }, peer id: PeerId { owner_id: 403, id: 436786 })
2024-05-10T17:07:36+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 436786 }, connection_id: ConnectionId { owner_id: 0, id: 16 } }
2024-05-10T17:10:23+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:10:23+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:10:23+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:10:23+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:10:23+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:10:24+00:00 [INFO] add connection to peer
2024-05-10T17:10:24+00:00 [INFO] add_connection;
2024-05-10T17:10:24+00:00 [INFO] waiting for server hello
2024-05-10T17:10:24+00:00 [INFO] got server hello
2024-05-10T17:10:24+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 17 }, peer id: PeerId { owner_id: 403, id: 437833 })
2024-05-10T17:10:24+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 437833 }, connection_id: ConnectionId { owner_id: 0, id: 17 } }
2024-05-10T17:11:34+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:11:34+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:11:34+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:11:34+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:11:35+00:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-05-10T17:11:35+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:11:35+00:00 [INFO] add connection to peer
2024-05-10T17:11:35+00:00 [INFO] add_connection;
2024-05-10T17:11:35+00:00 [INFO] waiting for server hello
2024-05-10T17:11:35+00:00 [INFO] got server hello
2024-05-10T17:11:35+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 18 }, peer id: PeerId { owner_id: 403, id: 438305 })
2024-05-10T17:11:35+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 438305 }, connection_id: ConnectionId { owner_id: 0, id: 18 } }
2024-05-10T17:21:55+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:21:55+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:21:55+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:21:55+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:21:56+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:21:56+00:00 [INFO] add connection to peer
2024-05-10T17:21:56+00:00 [INFO] add_connection;
2024-05-10T17:21:56+00:00 [INFO] waiting for server hello
2024-05-10T17:21:56+00:00 [INFO] got server hello
2024-05-10T17:21:56+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 19 }, peer id: PeerId { owner_id: 403, id: 442401 })
2024-05-10T17:21:56+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 442401 }, connection_id: ConnectionId { owner_id: 0, id: 19 } }
2024-05-10T17:22:19+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:22:19+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:22:19+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:22:19+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:22:19+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:22:20+00:00 [INFO] add connection to peer
2024-05-10T17:22:20+00:00 [INFO] add_connection;
2024-05-10T17:22:20+00:00 [INFO] waiting for server hello
2024-05-10T17:22:20+00:00 [INFO] got server hello
2024-05-10T17:22:20+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 20 }, peer id: PeerId { owner_id: 403, id: 442549 })
2024-05-10T17:22:20+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 442549 }, connection_id: ConnectionId { owner_id: 0, id: 20 } }
2024-05-10T17:22:46+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:22:46+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:22:46+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:22:46+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:22:46+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:22:46+00:00 [INFO] add connection to peer
2024-05-10T17:22:46+00:00 [INFO] add_connection;
2024-05-10T17:22:46+00:00 [INFO] waiting for server hello
2024-05-10T17:22:46+00:00 [INFO] got server hello
2024-05-10T17:22:46+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 21 }, peer id: PeerId { owner_id: 403, id: 442697 })
2024-05-10T17:22:46+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 442697 }, connection_id: ConnectionId { owner_id: 0, id: 21 } }
2024-05-10T17:25:10+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:25:10+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:25:10+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:25:10+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:25:10+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:25:11+00:00 [INFO] add connection to peer
2024-05-10T17:25:11+00:00 [INFO] add_connection;
2024-05-10T17:25:11+00:00 [INFO] waiting for server hello
2024-05-10T17:25:11+00:00 [INFO] got server hello
2024-05-10T17:25:11+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 22 }, peer id: PeerId { owner_id: 403, id: 443587 })
2024-05-10T17:25:11+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 443587 }, connection_id: ConnectionId { owner_id: 0, id: 22 } }
2024-05-10T17:56:36+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T17:56:36+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T17:56:36+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T17:56:36+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T17:56:36+00:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-05-10T17:56:36+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T17:56:37+00:00 [INFO] add connection to peer
2024-05-10T17:56:37+00:00 [INFO] add_connection;
2024-05-10T17:56:37+00:00 [INFO] waiting for server hello
2024-05-10T17:56:37+00:00 [INFO] got server hello
2024-05-10T17:56:37+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 23 }, peer id: PeerId { owner_id: 403, id: 455539 })
2024-05-10T17:56:37+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 455539 }, connection_id: ConnectionId { owner_id: 0, id: 23 } }
2024-05-10T18:04:42+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T18:04:42+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T18:04:42+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T18:04:42+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T18:04:43+00:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-05-10T18:04:43+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T18:04:44+00:00 [INFO] add connection to peer
2024-05-10T18:04:44+00:00 [INFO] add_connection;
2024-05-10T18:04:44+00:00 [INFO] waiting for server hello
2024-05-10T18:04:44+00:00 [INFO] got server hello
2024-05-10T18:04:44+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 24 }, peer id: PeerId { owner_id: 403, id: 458743 })
2024-05-10T18:04:44+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 458743 }, connection_id: ConnectionId { owner_id: 0, id: 24 } }
2024-05-10T18:08:07+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T18:08:07+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T18:08:07+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T18:08:07+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T18:08:08+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T18:08:08+00:00 [INFO] add connection to peer
2024-05-10T18:08:08+00:00 [INFO] add_connection;
2024-05-10T18:08:08+00:00 [INFO] waiting for server hello
2024-05-10T18:08:08+00:00 [INFO] got server hello
2024-05-10T18:08:08+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 25 }, peer id: PeerId { owner_id: 403, id: 460134 })
2024-05-10T18:08:08+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 460134 }, connection_id: ConnectionId { owner_id: 0, id: 25 } }
2024-05-10T18:11:20+00:00 [ERROR] connection error: error reading rpc message from socket

Caused by:
    0: WebSocket protocol error: Connection reset without closing handshake
    1: Connection reset without closing handshake
2024-05-10T18:11:20+00:00 [INFO] set status on client 78497: ConnectionLost
2024-05-10T18:11:20+00:00 [INFO] set status on client 78497: Reauthenticating
2024-05-10T18:11:20+00:00 [INFO] set status on client 78497: Reconnecting
2024-05-10T18:11:21+00:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-05-10T18:11:21+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-10T18:11:21+00:00 [INFO] add connection to peer
2024-05-10T18:11:21+00:00 [INFO] add_connection;
2024-05-10T18:11:21+00:00 [INFO] waiting for server hello
2024-05-10T18:11:21+00:00 [INFO] got server hello
2024-05-10T18:11:21+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 26 }, peer id: PeerId { owner_id: 403, id: 461349 })
2024-05-10T18:11:21+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 461349 }, connection_id: ConnectionId { owner_id: 0, id: 26 } }
2024-05-10T18:46:14+00:00 [ERROR] crates/lsp/src/lsp.rs:768: oneshot canceled
2024-05-10T18:46:14+00:00 [ERROR] crates/lsp/src/lsp.rs:768: oneshot canceled
2024-05-10T18:46:14+00:00 [ERROR] crates/lsp/src/lsp.rs:768: oneshot canceled
2024-05-10T18:46:14+00:00 [ERROR] crates/lsp/src/lsp.rs:768: oneshot canceled
2024-05-13T08:41:41+00:00 [INFO] ========== starting zed ==========
2024-05-13T08:41:41+00:00 [INFO] Opening main db
2024-05-13T08:41:41+00:00 [INFO] Using git binary path: Some("/Applications/Zed.app/Contents/MacOS/git")
2024-05-13T08:41:41+00:00 [INFO] extensions updated. loading 7, reloading 0, unloading 0
2024-05-13T08:41:41+00:00 [ERROR] crates/zed/src/zed.rs:661: EOF while parsing a value at line 2 column 0
2024-05-13T08:41:41+00:00 [INFO] Opening main db
2024-05-13T08:41:41+00:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-05-13T08:41:41+00:00 [INFO] Opening main db
2024-05-13T08:41:41+00:00 [INFO] set status on client 0: Authenticating
2024-05-13T08:41:41+00:00 [INFO] set status on client 78497: Connecting
2024-05-13T08:41:41+00:00 [INFO] building git repository, `.git` path in the worktree: "config/public_config/.git"

2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint

2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] fetching latest version of language server "typescript-language-server"
2024-05-13T08:41:41+00:00 [INFO] Node runtime install_if_needed
2024-05-13T08:41:41+00:00 [INFO] fetching latest version of language server "tailwindcss-language-server"
2024-05-13T08:41:41+00:00 [INFO] fetching latest version of language server "eslint"
2024-05-13T08:41:41+00:00 [INFO] downloading language server "eslint"
2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] starting language servers for JavaScript: typescript-language-server, tailwindcss-language-server, eslint
2024-05-13T08:41:41+00:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-05-13T08:41:41+00:00 [INFO] reload git repository ".git"
2024-05-13T08:41:42+00:00 [INFO] Node runtime install_if_needed
2024-05-13T08:41:42+00:00 [INFO] add connection to peer
2024-05-13T08:41:42+00:00 [INFO] add_connection;
2024-05-13T08:41:42+00:00 [INFO] waiting for server hello
2024-05-13T08:41:42+00:00 [INFO] got server hello
2024-05-13T08:41:42+00:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 403, id: 2015012 })
2024-05-13T08:41:42+00:00 [INFO] set status on client 78497: Connected { peer_id: PeerId { owner_id: 403, id: 2015012 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-05-13T08:41:42+00:00 [INFO] Node runtime install_if_needed

2024-05-13T08:41:42+00:00 [INFO] Node runtime install_if_needed
2024-05-13T08:41:42+00:00 [INFO] Language server with id 3 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "ESLint server running in node v18.15.0"
}
2024-05-13T08:41:42+00:00 [INFO] downloading language server "tailwindcss-language-server"
2024-05-13T08:41:42+00:00 [INFO] starting language server. binary path: "/Users/jeroen/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/", args: ["/Users/jeroen/Library/Application Support/Zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-05-13T08:41:42+00:00 [INFO] Node runtime install_if_needed
 Support/Zed/languages/tailwindcss-language-server/node_modules/.bin/tailwindcss-language-server", "--stdio"]
2024-05-13T08:41:42+00:00 [INFO] Node runtime install_if_needed
2024-05-13T08:41:42+00:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-05-13T08:41:42.957Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-05-13T08:41:42.957Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-05-13T08:41:42+00:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "86a95177-e824-4656-ae68-a6b7d2c65b67",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-05-13T08:41:43+00:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-05-13T08:41:43.252Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-05-13T08:41:43.252Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-05-13T08:41:43+00:00 [INFO] downloading language server "typescript-language-server"
2024-05-13T08:41:43+00:00 [INFO] Node runtime install_if_needed

2024-05-13T08:41:43+00:00 [INFO] Language server with id 1 sent unhandled notification window/logMessage:
{
  "type": 2,
  "message": "[lspserver] Typescript specified through user setting ignored due to invalid path \"/Users/jeroen/Code/****/lib/tsserver.js\""
}
2024-05-13T08:41:43+00:00 [INFO] Language server with id 1 sent unhandled notification window/logMessage:
{
  "type": 3,
  "message": "Using Typescript version (workspace) 4.9.5 from path \"/Users/jeroen/node_modules/typescript/lib/tsserver.js\""
}
2024-05-13T08:41:43+00:00 [INFO] Language server with id 1 sent unhandled notification $/typescriptVersion:
{
  "version": "4.9.5",
  "source": "workspace"
}

2024-05-13T08:41:44+00:00 [ERROR] unexpected item event after pane was dropped
2024-05-13T08:41:44+00:00 [INFO] Language server with id 2 sent unhandled notification @/tailwindCSS/projectInitialized:
[
  null
]
2024-05-13T08:41:45+00:00 [ERROR] unexpected item event after pane was dropped
2024-05-13T08:41:45+00:00 [ERROR] unexpected item event after pane was dropped
2024-05-13T08:41:45+00:00 [ERROR] unexpected item event after pane was dropped
2024-05-13T08:41:51+00:00 [INFO] open paths ["/Users/jeroen/.config/zed/settings.json"]
2024-05-13T08:41:51+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:51+00:00 [INFO] starting language servers for JSON: json-language-server
2024-05-13T08:41:51+00:00 [INFO] starting language server "json-language-server", path: "/Users/jeroen/.config/zed/settings.json", id: 4
2024-05-13T08:41:51+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:41:51+00:00 [INFO] starting language servers for JSON: json-language-server
2024-05-13T08:41:51+00:00 [INFO] fetching latest version of language server "json-language-server"
2024-05-13T08:41:51+00:00 [INFO] Node runtime install_if_needed
2024-05-13T08:41:52+00:00 [INFO] downloading language server "json-language-server"
2024-05-13T08:41:52+00:00 [INFO] Node runtime install_if_needed
2024-05-13T08:41:52+00:00 [INFO] starting language server. binary path: "/Users/jeroen/Library/Application Support/Zed/node/node-v18.15.0-darwin-arm64/bin/node", working directory: "/Users/jeroen/.config/zed", args: ["/Users/jeroen/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-json-languageserver/bin/vscode-json-languageserver", "--stdio"]
2024-05-13T08:42:45+00:00 [INFO] installing extension ruby latest version
2024-05-13T08:42:47+00:00 [INFO] rebuilt extension index in 78.986583ms
2024-05-13T08:42:47+00:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-05-13T08:42:47+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:42:47+00:00 [INFO] starting language servers for JSON: json-language-server
2024-05-13T08:42:47+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:42:47+00:00 [INFO] starting language servers for JSON: json-language-server
2024-05-13T08:43:46+00:00 [INFO] installing extension scss latest version
2024-05-13T08:43:47+00:00 [INFO] rebuilt extension index in 77.63925ms
2024-05-13T08:43:47+00:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-05-13T08:43:47+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:43:47+00:00 [INFO] starting language servers for JSON: json-language-server
2024-05-13T08:43:47+00:00 [INFO] Initializing default prettier with plugins {}
2024-05-13T08:43:47+00:00 [INFO] starting language servers for JSON: json-language-server
2024-05-13T08:48:43+00:00 [WARN] Generic lsp request to node failed: Unhandled method textDocument/definition
2024-05-13T08:48:50+00:00 [ERROR] crates/project/src/project.rs:5217: Unhandled method workspace/symbol
2024-05-13T08:48:50+00:00 [ERROR] crates/project/src/project.rs:5217: <semantic> TypeScript Server Error (4.9.5)
No Project.
Error: No Project.
    at Object.ThrowNoProject (/Users/jeroen/node_modules/typescript/lib/tsserver.js:172153:23)
    at Session.getProjects (/Users/jeroen/node_modules/typescript/lib/tsserver.js:180995:46)
    at Session.getFullNavigateToItems (/Users/jeroen/node_modules/typescript/lib/tsserver.js:181569:41)
    at Session.getNavigateToItems (/Users/jeroen/node_modules/typescript/lib/tsserver.js:181509:33)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/Users/jeroen/node_modules/typescript/lib/tsserver.js:180053:61)
    at /Users/jeroen/node_modules/typescript/lib/tsserver.js:182034:96
    at Session.executeWithRequestId (/Users/jeroen/node_modules/typescript/lib/tsserver.js:182025:28)
    at Session.executeCommand (/Users/jeroen/node_modules/typescript/lib/tsserver.js:182034:41)
    at Session.onMessage (/Users/jeroen/node_modules/typescript/lib/tsserver.js:182062:35)
    at process.<anonymous> (/Users/jeroen/node_modules/typescript/lib/tsserver.js:186218:31)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:937:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)

The LSP logs are empty.

This is my config:

// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run the `open default settings` command
// from the command palette or from `Zed` application menu.
{
  "theme": "One Dark",
  "calls": {
    "mute_on_join": true
  },
  "telemetry": {
    "diagnostics": false
  },
  "buffer_font_size": 15,
  "vim_mode": true,
  "tab_size": 2,
  "ui_font_family": "Zed Sans",
  "terminal": {
    "dock": "right"
  },
  "lsp": {
    "solargraph": {
      "initialization_options": {
        "diagnostics": true,
        "formatting": true
      }
    }
  }
}

jvanbaarsen avatar May 13 '24 09:05 jvanbaarsen

At this point, noting particular to say, but I see two things from the logs:

  • noise from collab.zed.dev issues — Zed should tone it down, but at least it indicates there's no good connection to internet some times — might cause other things to misbehave, e.g. language servers
  • TS langserver does not pick up the project for some reason — Zed should show it in a more visible way than just in logs, but it might somehow cause the bug we see.

Could it be that [p]npm i or similar project init things were not made? Having a project that somebody else can open in Zed and reproduce the issue would be tremendeously helpful.

SomeoneToIgnore avatar May 13 '24 11:05 SomeoneToIgnore

Could it be that [p]npm i or similar project init things were not made?

Can you explain what you mean? Its a ruby on rails app with javascript in it. All JS is managed through NPM

jvanbaarsen avatar May 14 '24 19:05 jvanbaarsen

Have been thinking about an npm project without the dependencies installed. But mixing two languages in the same project might also be what breaks it — anyway, it's just guessing without a real project.

SomeoneToIgnore avatar May 14 '24 19:05 SomeoneToIgnore

I'll see if I can create a empty ruby on rails project to see if it happens there as well.

jvanbaarsen avatar May 15 '24 07:05 jvanbaarsen

I'm still having trouble reproducing this issue. But one thing that we noticed is that all my colleagues have the same problem in the same project. So somehow it is related to our project.

Another thing that is noteworthy, the problem wasn't there when we were collaborating.

--Edit

It's even weirder, when I copy the project folder to a new name, everything starts working again..

jvanbaarsen avatar May 16 '24 12:05 jvanbaarsen

@SomeoneToIgnore I tried disabling all the language servers by adding this in my config:

  "language_servers": [],

But the problem still persists, so I'm in doubt if its a problem that is related to the language server system.

jvanbaarsen avatar May 23 '24 07:05 jvanbaarsen

Hi, @SomeoneToIgnore!

I've faced seemingly the same issue, here are the steps to reproduce:

  1. Clone zed repo
  2. Remove **/target from the .gitignore file
  3. Open the cloned folder in zed
  4. cargo build
  5. During building switch to the opened editor, open file finder, observe the issue(timings may differ depending on how fast the compilation process is going)

I've investigated the bug a little bit, in my case the reason was that the folder where the compilation artifacts are created is included in the workspace(it' excluded from git via .git/info/exclude instead of .gitignore), so creating files updates the workspace, corresponding event spawned, which triggers the refresh of the file search results, setting the selected index to zero as a result.

Multiple things come to mind in that regards:

  1. Parse .git/info/exclude along with the .gitignore to determine files excluded from the workspace
  2. Restarting search from scratch for every such update seems a bit wasteful, maybe the event could be used to narrow the scope of the search to a folder, containing the changed file for example(or even check whether the change affects the search results at all or not)? Or maybe it'd be ok to update search results only after the query has changed?
  3. Do not update the selected index if the user has already changed it. However that would require to keep the matches list stable(at least the visible part) in order not to randomly change the selected file.

Would be happy to work on a fix when it's clear what should be done

kshokhin avatar Jun 16 '24 19:06 kshokhin

That is actually quite a good explanation on what could be breaking things in a special secret projects of others, thank you.

The problem is, I'm not sure how to address it properly (and not very familiar with the project search code), but to answer each of the bullets proposed:

  1. This seems good to do on its own, but it would just cover up the issue until somebody else's directory gets out of inclusions and breaks things.

  2. This is very vague, but most probably something we might want to try somehow. The problem is: current search is two-phased, with the first phase checking all files and returning a sorted list of files to include into the multi buffer, and the second phase looking into those files for more matches. This produces a multi buffer with entries in the same order, as they are displayed in the FS tree in the project panel.

So, when a new event arrives, we have to somehow reorder the entries, stop certain parts of the search from indexing more and restart certain search subparts, which seems quite hard given the complexity of the existing code: https://github.com/zed-industries/zed/blob/0afb3abfd24c4f9851fc8a8ef37da89cb754dd41/crates/prject/src/project.rs#L7095

What's important to understand here is how can we reorder existing multi buffer's entries (we do something similar for diagnostics already, so should be possible but also tedious) — then indeed we might just continue an extra, 3rd phase on top to re-indexing the changed entries.

I've failed to find a place quickly where the project search gets restarted, do you have it? Maybe, all that's needed is to actually preserve the previous selection, even though we restart the project search in the background?

  1. Sounds simplest, but instead of "do not update" I think it makes more sense to track the previously selected search result, and always scroll to it on multi buffer updates, if it's relevant still.

SomeoneToIgnore avatar Jun 17 '24 10:06 SomeoneToIgnore

  1. Agree
  2. Hmm, I'm not sure that project search is related to the issue

I was talking about the file search in file_finder.rs(please, see the attached screenshot), AFAIK this search doesn't include any multi-buffer excerpts, the matches are ProjectPanelOrdMatch, which is essentially just path without any file contents

Screenshot 2024-06-17 at 15 26 30

So, maybe if there's active search, we could just check the changed file path against the query and update the matches set accordingly?

But maybe there's a similar issue with the project search, I don't know to be honest :)

  1. Would it be ok, if the selected file changes it's positions in the new matches set?(If that's even possible, I'm not sure, how the matches are ranked). If I'm using arrows to choose the needed file, and only the current selection is preserved, but not it's surroundings, it could be a quite tough task to reach the desired entry :)

kshokhin avatar Jun 17 '24 12:06 kshokhin

Oh, sorry, I have been very confused by the issue name then — on a bright side, this part of the code is more familiar to me.

We did improve on the file finder front in regards to the issue, but overall, it seems interesting if we could preserve the selection somehow, pretty much doing what you've proposed in

we could just check the changed file path against the query and update the matches set accordingly?

To get more practical: there's a certain ordering the file finder wants to have now https://github.com/zed-industries/zed/blob/221edfc2671c1a4e96d12a57de9952698f30d237/crates/file_finder/src/file_finder.rs#L271

I wonder, if we could add another sorting criteria here, bubbling the item selected to the top? Then, we have to solve the task of storing/updating/invalidating the item, and we seem to be good, whatever workspace changes are added whenever.

The trick here would be to find a right balance between Picker expectation and FileFinderDelegate state: we should put whatever state into the latter, but cannot keep the selection the same and set it into picker without the invalidation — otherwise up/down arrows would not work in the file finder.

I'd keep the event subscription model as if for this step, but optionally go further after the selection preservation is done, and alter project::Event::WorktreeAdded to have the WorktreeId inside, and then approach the updates a bit more clever than "kill everything and reiterate all worktrees" — seems that altering candidate_sets is enough for added/updated cases and the only issue would be to find a good way to invalidate matches, history_items and whatever else for the workspace that got removed.

It seems that we could try and test it, by removing certain worktrees manually during the test that has a picker open, but no big issue if it would be too hard and skipped in the end.

SomeoneToIgnore avatar Jun 17 '24 18:06 SomeoneToIgnore

I'm not sure that I get the bubbling the item selected to the top part

Let's say we have three entries in the matches list, they're ordered 1,2,3; Entry 2 is selected

The some event comes, we have an new matching entry 4, which score is less than score of entries 1,2 and 3

Should we get the following list as a result : 2(first, as the selected one), 1, 3, 4 (ranged according to the score)?

To me it seems more convenient, if the list(or at least it's observable part) is stable

Maybe we could preserve the selected entry if the entries from the top till the selected one has not changed after the update?

kshokhin avatar Jun 19 '24 08:06 kshokhin

I guess we can do this too, but we have to consider the case where on top of the 1,2,3 lands a hundred of _1, _2, .. items, pushing our initial selection down.

There are two kinds of selections in the file finder, conceptually:

  • the initial one, set by the panel to the first element when the panel is open
  • all others, where the user presses cmd-p or up/down, moving the selection away from the default selection.

It seems to me, that the fix might want to distinguish both and

  • for former, do nothing, letting the selection stay on top potentially on another file after worktree updates
  • for latter, keep the selection in focus and decide what to do with the item and scroll position — for that, we will somehow save the "position" inside the delegate, and later, during rendering, always keep it in the view.

SomeoneToIgnore avatar Jun 19 '24 10:06 SomeoneToIgnore

It makes sense, thank you

So, we need to keep the actual selected entry, not it's index, find this entry in the new matches set, then if present, update the selected index, if the entry is no longer in the matches set, fallback to the default selection

Is my understanding correct?

kshokhin avatar Jun 19 '24 11:06 kshokhin

That might be actually a good approach, given that we can sort these entries already, we can detect the selection along the way. It seems correct to start working on this for sure.

SomeoneToIgnore avatar Jun 20 '24 13:06 SomeoneToIgnore

Ok, then I'll start working on it if there're no objections

kshokhin avatar Jun 20 '24 15:06 kshokhin