mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
_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.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| base.py | ||
| daytona.py | ||
| docker.py | ||
| file_sync.py | ||
| local.py | ||
| managed_modal.py | ||
| modal.py | ||
| modal_utils.py | ||
| singularity.py | ||
| ssh.py | ||