ZIm/crates/collab/src/tests
Bennet Bo Fenner 9cb5ffac25
context_store: Refactor state management (#29910)
Because we instantiated `ContextServerManager` both in `agent` and
`assistant-context-editor`, and these two entities track the running MCP
servers separately, we were effectively running every MCP server twice.

This PR moves the `ContextServerManager` into the project crate (now
called `ContextServerStore`). The store can be accessed via a project
instance. This ensures that we only instantiate one `ContextServerStore`
per project.

Also, this PR adds a bunch of tests to ensure that the
`ContextServerStore` behaves correctly (Previously there were none).

Closes #28714
Closes #29530

Release Notes:

- N/A
2025-05-05 21:36:12 +02:00
..
channel_buffer_tests.rs Add the ability to follow the agent as it makes edits (#29839) 2025-05-04 08:28:39 +00:00
channel_guest_tests.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
channel_message_tests.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
channel_tests.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
debug_panel_tests.rs debugger: Open debugger panel on session startup (#29186) 2025-04-22 19:35:47 -04:00
editor_tests.rs Use rust-analyzer's flycheck as source of cargo diagnostics (#29779) 2025-05-02 10:07:51 +03:00
following_tests.rs Add the ability to follow the agent as it makes edits (#29839) 2025-05-04 08:28:39 +00:00
git_tests.rs windows: Enable collab tests (#27587) 2025-03-27 20:42:22 +08:00
integration_tests.rs context_store: Refactor state management (#29910) 2025-05-05 21:36:12 +02:00
notification_tests.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
random_channel_buffer_tests.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
random_project_collaboration_tests.rs Rename regex search tool to grep and accept an include glob pattern (#29100) 2025-04-20 00:53:30 +00:00
randomized_test_helpers.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
remote_editing_collaboration_tests.rs Improve handling of remote-tracking branches in the picker (#29744) 2025-05-01 21:24:26 -04:00
test_server.rs context_store: Refactor state management (#29910) 2025-05-05 21:36:12 +02:00