sync: SHANGHAI-U9 2026-07-27

This commit is contained in:
bowei
2026-07-27 01:08:42 +08:00
parent 17632bea27
commit 8080703a0e
5 changed files with 1385 additions and 0 deletions
+5
View File
@@ -30,6 +30,11 @@ def _run_command(command: Sequence[str], values: Mapping[str, str], timeout: int
capture_output=True,
check=False,
text=True,
# Windows with a CJK locale defaults text mode to GBK; the codex review
# output is UTF-8 (Chinese) -> UnicodeDecodeError in the reader thread and
# result.stdout comes back None. Pin UTF-8 and never hard-fail on decode.
encoding="utf-8",
errors="replace",
timeout=timeout,
)
elapsed = time.monotonic() - t0