fix: allow remote runtime workdir creation
This commit is contained in:
@@ -4138,7 +4138,7 @@ fn remote_runtime_capabilities(
|
||||
has_workspace_fs: false,
|
||||
has_shell: false,
|
||||
has_git: false,
|
||||
supports_worktrees: false,
|
||||
supports_worktrees: true,
|
||||
supports_backend_internal_tools: false,
|
||||
workspace_scope: "remote_runtime_backend_private".to_string(),
|
||||
max_workers: limit,
|
||||
@@ -5534,6 +5534,12 @@ mod tests {
|
||||
assert!(browser_payload.contains("worker_id"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn remote_runtime_projection_allows_workdir_creation() {
|
||||
let capabilities = remote_runtime_capabilities(8, true, true, "linux", "x86_64");
|
||||
assert!(capabilities.supports_worktrees);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn remote_runtime_projection_uses_canonical_worker_status_for_stop_capability() {
|
||||
let worker_ids = (1..=4)
|
||||
|
||||
Reference in New Issue
Block a user