Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming files are lost by Zed temporarily #23060

Closed
1 task done
DLBPointon opened this issue Jan 13, 2025 · 2 comments
Closed
1 task done

Renaming files are lost by Zed temporarily #23060

DLBPointon opened this issue Jan 13, 2025 · 2 comments

Comments

@DLBPointon
Copy link

DLBPointon commented Jan 13, 2025

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I am working on multiple large pipeline repos which require multiple copies of a template file.

Steps to reproduce are: Copy and paste a file in the left explorer panel, rename the new file, open the new file. This file is now unable to be edited as Zed thinks it is looking at the pre-renamed file. The file becomes un-editable in the Zed UI and freezes the terminal until I click into another window (Chrome in this case).

Looking further, for me anyway, any file that is renamed looks as though it is lost by Zed. Opening the editor, it is opening a cached (maybe, I don't know how you are doing it) version of that file pre-rename and because of this it can't be edited. Attempting to do so will freeze some parts of the UI.

Edit: I should mention that this is tested via the ssh functionality, not tested locally. I will update when I can, currently trying to debug my own pipelines issues.

Zed Version and System Specs

Zed 0.168.2

Apple MacBook M3 Pro
Sequoia 15.2 <-- This is a recent upgrade from 14.7 (IT mandated upgrade)
16Gb Ram

If applicable, add screenshots or screencasts of the incorrect state / behavior

The highlighted file in the left is open, however at the top of the window you can see that the file name is referencing it's previous name.

image

If applicable, attach your Zed.log file to this issue.

Looks like the Log gets filled with the below (removing a bunch of language server failures), near the top you can see where I've tried deleting the file to see if it was a temporary error.

2025-01-13T10:06:02.986527Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:03.621305Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:04.000618Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:04.87807Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:05.447842Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:07.508381Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:08.742995Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:13.114479Z [ERROR] (remote server) server:error handling message. type:DeleteProjectEntry, error:ZBus Error: I/O error: No such file or directory (os error 2)
2025-01-13T10:06:13.114641Z [ERROR] RPC request DeleteProjectEntry failed: ZBus Error: I/O error: No such file or directory (os error 2)
2025-01-13T10:06:15.051764Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:15.930509Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:16.264765Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:16.475509Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:16.927272Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:17.475164Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:18.156557Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:18.369277Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:18.473416Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:18.712877Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:21.028955Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:21.585436Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:06:21.952744Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:07:37.102268Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:07:40.94152Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:07:41.613826Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:07:41.920922Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:07:43.420566Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:07:43.856784Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:07:44.353194Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:02.1986Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:03.589571Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:08.984941Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:09.348654Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:09.451379Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:11.099772Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:11.181189Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:12.74231Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:12.847639Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:13.02133Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:13.1402Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:13.271122Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:13.689665Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry
2025-01-13T10:12:13.813432Z [ERROR] (remote server) server:unhandled ssh message name:RenameProjectEntry

@DLBPointon DLBPointon added admin read bug [core label] labels Jan 13, 2025
@DLBPointon DLBPointon changed the title Renaming files are lost by Zed Renaming files are lost by Zed temporarily Jan 13, 2025
@aborg-dev
Copy link
Contributor

I believe this is a duplicate of #22883 that should be fixed by #23382 in the next Zed release.

@JosephTLyons JosephTLyons removed bug [core label] admin read labels Jan 28, 2025
@DLBPointon
Copy link
Author

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants