Make default environment lookup infallible

Return concrete default and local environments from EnvironmentManager now that the manager always installs local and default entries. Keep arbitrary ID lookup optional.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-04-21 10:32:41 -07:00
co-authored by Codex
parent 194b9d8571
commit e589fddaec
7 changed files with 34 additions and 47 deletions
+1 -1
View File
@@ -2006,7 +2006,7 @@ mod tests {
runtime_args
.environment_manager
.default_environment()
.is_some_and(|environment| environment.is_remote())
.is_remote()
);
}