fix: remove conflicting coder worker control provider

This commit is contained in:
2026-08-26 23:52:25 +09:00
parent 83bda3dfb2
commit 9843510e1f
3 changed files with 22 additions and 1 deletions
+15
View File
@@ -1407,6 +1407,21 @@ mod tests {
}
}
#[test]
fn builtin_coder_uses_sub_worker_control_without_worker_control() {
let tmp = TempDir::new().unwrap();
let resolved = ProfileResolver::new()
.with_workspace_base(tmp.path())
.resolve(
&ProfileSelector::source_named(ProfileRegistrySource::Builtin, "coder"),
ProfileResolveOptions::with_worker_name("coder-worker"),
)
.unwrap();
assert!(resolved.manifest.feature.sub_worker.enabled);
assert!(!resolved.manifest.feature.worker.enabled);
}
#[test]
fn builtin_companion_uses_sub_worker_control_without_worker_control() {
let tmp = TempDir::new().unwrap();