agent-reach/tests
Pnant b0e010c6cc
fix(windows): force UTF-8 in channel subprocesses and MCP server env (#345)
Extracted from #318 (the UTF-8/doctor core, minus the env-wrapper feature):

- new agent_reach/utils/process.py: utf8_subprocess_env() +
  mcporter_utf8_env_args() — Windows GBK consoles otherwise corrupt
  Chinese output from mcporter/MCP child processes
- weibo/douyin/linkedin checks and weibo install/registration now pass
  the UTF-8 env (and register the MCP server with --env PYTHONUTF8=1)
- youtube: extract _has_js_runtime_config() with an OSError guard so an
  unreadable yt-dlp config can't crash doctor
- test_skill_command: open SKILL.md with explicit utf-8 (Windows GBK
  default broke these tests)

Co-authored-by: chidao <2980933590@qq.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-10 15:09:42 +08:00
..
test_channel_contracts.py fix(youtube): use platform-aware yt-dlp config path and locale-safe reads (#225) 2026-03-31 14:56:16 +08:00
test_channels.py fix(reddit): install rdt-cli from GitHub source pinned to 0.4.2 (#326) 2026-06-10 14:59:16 +08:00
test_cli.py feat(transcribe): Whisper transcription module with Groq→OpenAI fallback (#277) 2026-06-10 15:03:37 +08:00
test_config.py fix(reddit): switch to Exa-only for search and read, remove proxy dependency 2026-03-31 14:21:31 +08:00
test_core.py chore: add quality infra matrix, constraints, and test baseline fixes 2026-02-27 12:27:07 +08:00
test_doctor.py feat(install): split into core + optional channels with --channels flag (#237) 2026-03-31 18:19:59 +08:00
test_process.py fix(windows): force UTF-8 in channel subprocesses and MCP server env (#345) 2026-06-10 15:09:42 +08:00
test_skill_command.py fix(windows): force UTF-8 in channel subprocesses and MCP server env (#345) 2026-06-10 15:09:42 +08:00
test_transcribe.py feat(transcribe): Whisper transcription module with Groq→OpenAI fallback (#277) 2026-06-10 15:03:37 +08:00
test_twitter_channel.py fix(twitter): support both twitter-cli and bird CLI, never uninstall user tools 2026-03-31 23:01:09 +08:00
test_xhs_format.py fix: auto-register skill on doctor + add XHS output formatter (#154, #134) (#199) 2026-03-23 19:40:57 +08:00
test_xiaoyuzhou_install.py fix: avoid xreach false alarm and xiaoyuzhou install crash 2026-03-12 19:26:58 +08:00