hermes-agent/tools/environments
邝谧 a697b4b86a
fix(egress): handle Docker v29.5.3 empty-string label in reuse parser
_parse_reusable_container strips stdout lines before splitting the
three-field egress-off format (ID, State, Label).  Docker CLI v29.5.3
returns an empty string for absent labels (cid\trunning\t\n), and
.strip() eats the trailing tab, collapsing three fields into two and
causing _find_reusable_container to return None for safe unlabeled
containers.

- Drop .strip() from the list comprehension, preserving trailing tabs
  so split('\t', 2) always produces three fields.
- Add test_find_reusable_handles_empty_label_string covering the
  v29.5.3 empty-string case.

Fixes the CHANGES_REQUESTED review from egilewski on #48073.
2026-06-25 11:00:06 -07:00
..
__init__.py remove Vercel AI Gateway and Vercel Sandbox (#33067) 2026-05-27 00:43:32 -07:00
base.py fix(tools): don't compound-rewrite spawn_via_env background wrappers 2026-06-01 00:05:10 +05:30
daytona.py fix(daytona): migrate legacy-sandbox lookup to cursor-based list() (#24587) 2026-05-12 16:31:46 -07:00
docker.py fix(egress): handle Docker v29.5.3 empty-string label in reuse parser 2026-06-25 11:00:06 -07:00
file_sync.py fix(ssh): handle WinError 1314 symlink failure with shutil.copy2 fallback 2026-06-04 18:06:21 -07:00
local.py fix: make profile subprocess HOME policy explicit 2026-06-14 03:20:21 -07:00
managed_modal.py feat(environments): unified spawn-per-call execution layer 2026-04-08 17:23:15 -07:00
modal.py fix(async): close unscheduled coroutines in all threadsafe bridges (#26584) 2026-05-15 14:00:01 -07:00
modal_utils.py fix(tools): don't compound-rewrite spawn_via_env background wrappers 2026-06-01 00:05:10 +05:30
singularity.py fix: prevent TUI gateway stdin EOF crash across all TUI-context subprocess calls 2026-06-08 22:46:57 -07:00
ssh.py fix(tui): preserve remote cwd for ssh sessions 2026-06-06 18:40:43 -07:00