ZIm/crates/collab/src/tests
Cole Miller a41d72ee81
Represent git statuses more faithfully (#23082)
First, parse the output of `git status --porcelain=v1` into a
representation that can handle the full "grammar" and doesn't lose
information.

Second, as part of pushing this throughout the codebase, expand the use
of the existing `GitSummary` type to all the places where status
propagation is in play (i.e., anywhere we're dealing with a mix of files
and directories), and get rid of the previous `GitSummary ->
GitFileStatus` conversion.

- [x] Synchronize new representation over collab
  - [x] Update zed.proto
  - [x] Update DB models
- [x] Update `GitSummary` and summarization for the new `FileStatus`
- [x] Fix all tests
  - [x] worktree
  - [x] collab
- [x] Clean up `FILE_*` constants
- [x] New collab tests to exercise syncing of complex statuses
- [x] Run it locally and make sure it looks good

Release Notes:

- N/A

---------

Co-authored-by: Mikayla <mikayla@zed.dev>
Co-authored-by: Conrad <conrad@zed.dev>
2025-01-16 00:01:38 +00:00
..
channel_buffer_tests.rs SSH Remoting: Fix bugs in worktree syncing (#18406) 2024-09-26 12:03:57 -07:00
channel_guest_tests.rs Make Linux audio public (#23191) 2025-01-15 20:54:32 +02:00
channel_message_tests.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
channel_tests.rs Support very large channel membership lists (#11939) 2024-05-16 20:02:25 -06:00
editor_tests.rs Rework inlay hint cache tests (#23156) 2025-01-15 20:13:15 +02:00
following_tests.rs Use LiveKit's Rust SDK on Linux while continue using Swift SDK on Mac (#21550) 2024-12-05 15:06:17 -08:00
integration_tests.rs Represent git statuses more faithfully (#23082) 2025-01-16 00:01:38 +00:00
notification_tests.rs channel projects (#8456) 2024-02-26 22:15:11 -07:00
random_channel_buffer_tests.rs channel projects (#8456) 2024-02-26 22:15:11 -07:00
random_project_collaboration_tests.rs Represent git statuses more faithfully (#23082) 2025-01-16 00:01:38 +00:00
randomized_test_helpers.rs ssh remote: Handle disconnect on project and show overlay (#19014) 2024-10-10 12:59:09 +02:00
remote_editing_collaboration_tests.rs Fix handling of selection ranges for format selections in multibuffer (#22929) 2025-01-10 00:17:04 +00:00
test_server.rs Stop sending data to Clickhouse (#21763) 2024-12-10 08:47:29 -07:00