"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
ci: cover private paper strategy IPC on native Windows runners
Haozhe Wuc16131b04e00
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex af5d02392..15d18eab7 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -196,7 +196,9 @@ jobs:cache: pip- name: Install focused test dependencies- run: python -m pip install pytest pydantic pyyaml python-dotenv+ # The private paper-strategy worker imports the actual daily engine.+ # Exercise its blocked-stdio regression on native x64 and ARM64 too.+ run: python -m pip install pytest pydantic pyyaml python-dotenv numpy pandas defusedxml requests- name: Run Windows background safety regressionsenv:@@ -205,6 +207,7 @@ jobs:python -m pytestagent/tests/test_background_tools.pyagent/tests/test_bash_tool.py+ agent/tests/test_paper_trade_process_transport.py-qdesktop-electron-windows:diff --git a/agent/tests/test_paper_trade_process_transport.py b/agent/tests/test_paper_trade_process_transport.pyindex 2a9fb86ff..a1280524f 100644--- a/agent/tests/test_paper_trade_process_transport.py+++ b/agent/tests/test_paper_trade_process_transport.py@@ -40,8 +40,9 @@ assert not blocked.is_alive()reader = threading.Thread(target=lambda: received.put(host.stdout.readline()), daemon=True)reader.start()try:- assert received.get(timeout=30) == b"private-ipc-ok\n"+ line = received.get(timeout=30)_, stderr = host.communicate(input=b"x", timeout=10)+ assert line in {b"private-ipc-ok\n", b"private-ipc-ok\r\n"}, stderr.decode(errors="replace")assert host.returncode == 0, stderr.decode(errors="replace")finally:if host.poll() is None: