Skip to content

Your lightweight open-source personal agent.

test(release): cover Windows polling on Python 3.12

Xubin Ren2165173e1fd6
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cac543aac..8e1471b7e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -212,10 +212,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Set up Python 3.14
+ # Keep this focused job on the affected pre-3.14 ctypes runtime family;
+ # the full Windows suite above continues to cover the latest Python.
+ - name: Set up Python 3.12
uses: actions/setup-python@v5
with:
- python-version: "3.14"
+ python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v4
@@ -237,6 +239,7 @@ jobs:
uv run --no-sync python -m pytest
tests/tools/test_exec_platform.py
tests/cli/test_wsl_browser.py
+ tests/gateway/test_runtime.py
--junitxml=test-results/process.xml --timing-report=test-results/process.json
--durations=25 --durations-min=1.0
diff --git a/docs/releases/0.4.0.md b/docs/releases/0.4.0.md
index eb5934a03..fe3262bc4 100644
--- a/docs/releases/0.4.0.md
+++ b/docs/releases/0.4.0.md
@@ -32,6 +32,7 @@ The gateway now owns model history and WebUI display history in SQLite. Existing
- Model setup includes searchable providers, explicit API choices and per-preset request overrides. Shared proxy settings can be selected independently by supported providers, web tools and MCP connections.
- Native Linear and WhatsApp Agent Platform channels, QQ QR setup, DeepSeek Search, and further provider/channel compatibility improvements are included.
- Scheduled jobs can be updated, enabled and disabled in place, and their recent run history can be inspected. Restart and delivery fixes preserve pending work without treating an unknown delivery result as permission to replay it.
+- Windows process-status polling reuses native type and API bindings, fixing idle memory growth on Python versions before 3.14 while retaining live process-identity checks and handle cleanup.
## Before upgrading from v0.3.5
@@ -67,4 +68,4 @@ The release PR tracks the final CI/review, package hashes, native installation a
## Acknowledgements and changelog
-Thank you to everyone who reported issues, supplied reproductions, tested changes and contributed fixes. The immutable [preparation-base changelog](https://github.com/HKUDS/nanobot/compare/v0.3.5...b07b3eac244ff7faa7eeb2d4777fe54dbae1b6d2) records the included changes and their authors. Replace this draft's base comparison with the final release comparison and reconcile contributor acknowledgements before publication; commit counts must not be described as merged-PR counts.
+Thank you to everyone who reported issues, supplied reproductions, tested changes and contributed fixes. The immutable [preparation-base changelog](https://github.com/HKUDS/nanobot/compare/v0.3.5...c758ce8f40c4ff2e753619b70680c0539b97864c) records the included changes and their authors. Replace this draft's base comparison with the final release comparison and reconcile contributor acknowledgements before publication; commit counts must not be described as merged-PR counts.