Commit Graph

4 Commits

Author SHA1 Message Date
kshitijk4poor baf7ceeace refactor(environments): share the unset-prelude and client-env helpers; drop test-only shape from ssh
prepend_unset / client_env_with live beside resolve_passthrough_env so docker and ssh
post-process its output identically. The ssh tests build a real SSHEnvironment under
the existing connection stub instead of a half-initialised __new__ object, so the
production code no longer carries getattr fallbacks for it.
2026-09-05 15:54:39 +05:30
kshitijk4poor 6f85a71c10 refactor(environments): one passthrough resolver for docker and ssh
The allowlist → blocklist → .env → secret-scope → unset-names walk was inline in
DockerEnvironment; ssh needed the identical walk, so it lives in
remote_common.resolve_passthrough_env and docker calls it. Behaviour unchanged;
docker's _load_hermes_env_vars binding stays as the test seam.
2026-09-05 15:54:39 +05:30
Teknium 5b24a7a649 refactor(tools): compact environment base/docker/singularity modules, extract docker __init__ phases 2026-09-02 22:04:56 -07:00
Teknium 3bbec90f23 refactor(tools/environments): split local/base into output/wait/session-env siblings; extract docker_egress + remote_common; dedupe remote backends; compact process_registry 2026-09-02 14:45:15 -07:00