Skip to content

Do not include non-existent folders in recent projects, while retaining them for a one week grace period#53662

Merged
maxbrunsfeld merged 8 commits intomainfrom
ojpro-grace-period-for-inaccessible-workspaces
Apr 10, 2026
Merged

Do not include non-existent folders in recent projects, while retaining them for a one week grace period#53662
maxbrunsfeld merged 8 commits intomainfrom
ojpro-grace-period-for-inaccessible-workspaces

Conversation

@maxbrunsfeld
Copy link
Copy Markdown
Collaborator

@maxbrunsfeld maxbrunsfeld commented Apr 10, 2026

Fixes a regression introduced in #49603
Supersedes #52638

We want to leave these non-existent workspaces in the database for up to 7 days, in case they are on external drives that are restored later, but we do not want to show them in the UI if they don't exist.

Release Notes:

  • Fixed an issue where deleted folders appeared in the recent project picker

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Apr 10, 2026
@zed-community-bot zed-community-bot bot added the staff Pull requests authored by a current member of Zed staff label Apr 10, 2026
@maxbrunsfeld maxbrunsfeld changed the title Ojpro grace period for inaccessible workspaces Do not include non-existent folders in recent projects, while retaining them for a one week grace period Apr 10, 2026
@zed-industries-bot
Copy link
Copy Markdown
Contributor

Messages
📖

This PR includes links to the following GitHub Issues: #49603
If this PR aims to close an issue, please include a Closes #ISSUE line at the top of the PR body.

Generated by 🚫 dangerJS against d7226b8

@maxbrunsfeld maxbrunsfeld merged commit f447724 into main Apr 10, 2026
45 checks passed
@maxbrunsfeld maxbrunsfeld deleted the ojpro-grace-period-for-inaccessible-workspaces branch April 10, 2026 23:06
maxbrunsfeld added a commit that referenced this pull request Apr 10, 2026
…ng them for a one week grace period (#53662)

Fixes a regression introduced in
#49603
Supersedes #52638

We want to leave these non-existent workspaces in the database for up to
7 days, in case they are on external drives that are restored later, but
we do *not* want to show them in the UI if they don't exist.

Release Notes:

- Fixed an issue where deleted folders appeared in the recent project
picker

---------

Co-authored-by: ojpro <contact@ojpro.me>
maxbrunsfeld added a commit that referenced this pull request Apr 10, 2026
Cherry-picked PRs (in order applied):

1. #53386
2. #53400
3. #53396
4. #53428
5. #53356
6. #53215
7. #53429
8. #53458
9. #53436
10. #53451
11. #53454
12. #53419
13. #53287
14. #53521
15. #53463
16. #52848
17. #53544
18. #53556
19. #53566
20. #53579
21. #53575
22. #53550
23. #53585
24. #53510
25. #53599
26. #53099
27. #53662
28. #53660
29. #53657
30. #53654


Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <67129314+danilo-leal@users.noreply.github.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Anthony Eid <anthony@zed.dev>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: Eric Holk <eric@zed.dev>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Cameron Mcloughlin <cameron.studdstreet@gmail.com>
Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Mikayla Maki <mikayla@zed.dev>
Co-authored-by: Anthony Eid <56899983+Anthony-Eid@users.noreply.github.com>
Co-authored-by: Katie Geer <katie@zed.dev>
Co-authored-by: ojpro <contact@ojpro.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement staff Pull requests authored by a current member of Zed staff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants