fix: allow cross-runtime workdir projection
This commit is contained in:
@@ -32008,7 +32008,7 @@ mod tests {
|
||||
.upsert_workdir_registry(&WorkdirRegistryRecord {
|
||||
workspace_id: TEST_WORKSPACE_ID.to_string(),
|
||||
workdir_id: workdir_id.to_string(),
|
||||
runtime_id: EMBEDDED_WORKER_RUNTIME_ID.to_string(),
|
||||
runtime_id: "arcadia".to_string(),
|
||||
repository_id: test_repository_id(&api),
|
||||
creation_selector: Some("HEAD".to_string()),
|
||||
creation_ref: None,
|
||||
|
||||
@@ -447,9 +447,6 @@ fn project_working_directory(
|
||||
else {
|
||||
return false;
|
||||
};
|
||||
if workdir.runtime_id != worker_ref.runtime_id {
|
||||
return false;
|
||||
}
|
||||
let Ok(working_directory_id) =
|
||||
protocol::subscription::SubscriptionWorkdirId::new(workdir.workdir_id)
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user