ZIm/crates/collab/src/db/tables
Cole Miller bc1c0a2297
Separate repository state synchronization from worktree synchronization (#27140)
This PR updates our DB schemas and wire protocol to separate the
synchronization of git statuses and other repository state from the
synchronization of worktrees. This paves the way for moving the code
that executes git status updates out of the `worktree` crate and onto
the new `GitStore`. That end goal is motivated by two (related) points:

- Disentangling git status updates from the worktree's
`BackgroundScanner` will allow us to implement a simpler concurrency
story for those updates, hopefully fixing some known but elusive bugs
(upstream state not updating after push; statuses getting out of sync in
remote projects).
- By moving git repository state to the project-scoped `GitStore`, we
can get rid of the duplication that currently happens when two worktrees
are associated with the same git repository.

Co-authored-by: Max <max@zed.dev>

Release Notes:

- N/A

---------

Co-authored-by: Max <max@zed.dev>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2025-03-20 18:07:03 -04:00
..
access_token.rs For impersonating access tokens, store impersonatee in the new column 2024-01-17 18:06:16 -08:00
billing_customer.rs collab: Add has_overdue_invoices to billing_customers (#24239) 2025-02-04 18:12:35 -05:00
billing_preference.rs collab: Add billing preferences for maximum LLM monthly spend (#18948) 2024-10-09 16:29:07 -04:00
billing_subscription.rs collab: Record cancellation reason on billing subscriptions (#22853) 2025-01-08 19:38:10 +00:00
buffer.rs Denormalize buffer operations (#9026) 2024-03-07 11:35:47 -07:00
buffer_operation.rs Simplify buffer_operations schema 2023-08-23 18:37:01 -07:00
buffer_snapshot.rs Snapshot channel notes buffers when everyone leaves 2023-08-23 18:37:01 -07:00
channel.rs Fix slow query for fetching descendants of channels (#7008) 2024-01-29 13:24:59 -08:00
channel_buffer_collaborator.rs WIP 2023-08-23 18:34:43 -07:00
channel_chat_participant.rs Start work on restoring server-side code for chat messages 2023-09-07 16:32:49 -07:00
channel_member.rs Ignore old admin column 2023-10-13 14:08:40 -06:00
channel_message.rs Channel chat: Add edit message (#9035) 2024-03-19 19:49:04 -06:00
channel_message_mention.rs Persist chat mentions 2023-10-18 16:56:03 -07:00
contact.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
contributor.rs Add REST APIs for getting and adding contributors 2024-01-22 10:48:33 -08:00
embedding.rs Semantic Index (#10329) 2024-04-12 11:40:59 -06:00
extension.rs Add an extensions API to the collaboration server (#7807) 2024-02-15 12:53:57 -08:00
extension_version.rs collab: Store features provided by extensions in the database (#24303) 2025-02-05 19:50:24 +00:00
feature_flag.rs collab: Allow enabling feature flags for all users (#16372) 2024-08-16 15:17:03 -04:00
follower.rs Undo making project optional on stored follower states 2023-09-28 14:21:44 -07:00
language_server.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
notification.rs Generalize notifications' actor id to entity id 2023-10-17 10:34:50 -07:00
notification_kind.rs Make notification db representation more flexible 2023-10-12 17:42:32 -07:00
observed_buffer_edits.rs Avoid N+1 query for channels with notes changes 2023-10-02 15:58:34 -07:00
observed_channel_messages.rs Add database implementation of channel message change tracking 2023-10-01 22:32:11 -07:00
processed_stripe_event.rs collab: Rework Stripe event processing (#15510) 2024-07-30 16:35:11 -04:00
project.rs Separate repository state synchronization from worktree synchronization (#27140) 2025-03-20 18:07:03 -04:00
project_collaborator.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
project_repository.rs Separate repository state synchronization from worktree synchronization (#27140) 2025-03-20 18:07:03 -04:00
project_repository_statuses.rs Separate repository state synchronization from worktree synchronization (#27140) 2025-03-20 18:07:03 -04:00
rate_buckets.rs Allow AI interactions to be proxied through Zed's server so you don't need an API key (#7367) 2024-03-19 19:22:26 +01:00
room.rs Remove environment guards (#7741) 2024-02-13 13:20:14 -07:00
room_participant.rs revert single channel click (#7738) 2024-02-13 12:53:49 -07:00
server.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
signup.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
user.rs collab: Clean up LLM token creation (#26955) 2025-03-17 22:25:43 +00:00
user_feature.rs Update database and RPC to provide configured feature flags 2023-08-25 14:34:32 -07:00
worktree.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
worktree_diagnostic_summary.rs Reorganize source files of collab::db 2023-08-18 16:23:33 -07:00
worktree_entry.rs Show project panel symlink icons for remote clients (#19464) 2024-10-19 19:44:47 +03:00
worktree_settings_file.rs Prepare to sync other kinds of settings (#18616) 2024-10-02 22:00:40 +03:00