WIP
This commit is contained in:
parent
d8219545c9
commit
0ede89d82a
3 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE "worktree_entries"
|
||||||
|
ADD COLUMN "scan_id" INT8,
|
||||||
|
ADD COLUMN "is_deleted" BOOL;
|
|
@ -6077,6 +6077,7 @@ async fn test_random_collaboration(
|
||||||
let mut user_ids = Vec::new();
|
let mut user_ids = Vec::new();
|
||||||
let mut op_start_signals = Vec::new();
|
let mut op_start_signals = Vec::new();
|
||||||
let mut next_entity_id = 100000;
|
let mut next_entity_id = 100000;
|
||||||
|
let mut can_disconnect = rng.lock().gen_bool(0.2);
|
||||||
|
|
||||||
let mut operations = 0;
|
let mut operations = 0;
|
||||||
while operations < max_operations {
|
while operations < max_operations {
|
||||||
|
|
|
@ -253,6 +253,15 @@ message ShareProjectResponse {
|
||||||
uint64 project_id = 1;
|
uint64 project_id = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message ReshareProject {
|
||||||
|
uint64 id = 1;
|
||||||
|
repeated WorktreeMetadata worktrees = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ReshareProjectResponse {
|
||||||
|
repeated Collaborator collaborators = 1;
|
||||||
|
}
|
||||||
|
|
||||||
message UnshareProject {
|
message UnshareProject {
|
||||||
uint64 project_id = 1;
|
uint64 project_id = 1;
|
||||||
}
|
}
|
||||||
|
@ -273,6 +282,22 @@ message JoinProjectResponse {
|
||||||
repeated LanguageServer language_servers = 4;
|
repeated LanguageServer language_servers = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message RejoinProject {
|
||||||
|
uint64 project_id = 1;
|
||||||
|
repeated RejoinWorktree worktrees = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RejoinWorktree {
|
||||||
|
uint64 id = 1;
|
||||||
|
uint64 scan_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RejoinProjectResponse {
|
||||||
|
repeated WorktreeMetadata worktrees = 1;
|
||||||
|
repeated Collaborator collaborators = 2;
|
||||||
|
repeated LanguageServer language_servers = 3;
|
||||||
|
}
|
||||||
|
|
||||||
message LeaveProject {
|
message LeaveProject {
|
||||||
uint64 project_id = 1;
|
uint64 project_id = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue