[codex] start threads with pending environments

This commit is contained in:
Sayan Sisodiya
2026-06-12 17:08:34 -07:00
parent b97e1ac03c
commit fb38afffa6
15 changed files with 380 additions and 48 deletions
@@ -65,6 +65,12 @@ impl SkillProvider for ExecutorSkillProvider {
));
continue;
};
if !environment.is_ready() {
catalog.warnings.push(format!(
"Selected capability root `{selected_root_id}` is unavailable while environment `{environment_id}` is starting."
));
continue;
}
let root_path = match executor_absolute_path(&path) {
Ok(root_path) => root_path,
Err(err) => {