Move project test environments into the workspace

This commit is contained in:
2026-10-01 21:48:49 +08:00
parent f011d8357d
commit c2756ca4d6
23 changed files with 834 additions and 6 deletions
@@ -7,6 +7,7 @@ from pathlib import Path
import re
import paramiko
from local_test_paths import SSH_KNOWN_HOSTS
ROOT = Path(__file__).resolve().parents[3]
@@ -23,7 +24,7 @@ def connect():
host = fields["IP"].strip()
port_match = re.search(r"(?:^|\s)-p\s+(\d+)", fields["SSH"])
port = int(port_match.group(1)) if port_match else 22
trust = Path.home() / ".codex-tools/tmp/qms-mobile-known_hosts"
trust = SSH_KNOWN_HOSTS
trust.parent.mkdir(parents=True, exist_ok=True)
client = paramiko.SSHClient()
if trust.exists():