From 6eb176fc96752ae3e477cded9aa5c7fb3148ef4d Mon Sep 17 00:00:00 2001 From: Siddhanth Gupta Date: Wed, 4 Nov 2026 15:25:12 +0530 Subject: [PATCH] fix(concore): let concorekill.bat match the node's script name concorekill.bat only killed PIDs whose command line contained "concore", but nodes run as `python controller.py`, so stop.bat skipped every node on Windows. Match the node's own script name instead (falling back to "concore"), and make the Windows test start a real node script that registers its own PID. --- concore.py | 8 +++++++- tests/test_concore.py | 34 +++++++++++++++++++++++++--------- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/concore.py b/concore.py index 01c4e0f..bc6d564 100644 --- a/concore.py +++ b/concore.py @@ -112,13 +112,19 @@ def _write_kill_script(): try: reg_name = os.path.basename(_PID_REGISTRY_FILE) bat_name = os.path.basename(_KILL_SCRIPT_FILE) + # nodes run as "python