Repository navigation
SpiderPro v1.0.12
SpiderPro v1.0.12
Environment lifecycle and distributed Python package installation fixes discovered during live Docker Worker task migration: deactivated unbound system-path environments can now be cleanly deregistered, compound PEP 440 pip version ranges no longer fail with 503 MANAGEMENT_STORAGE_UNAVAILABLE, distributed venv creation avoids redundant double pip install, and the UI proxy upstream timeout supports heavy package installs.
Fixed
- Deactivated Unbound System-Path Environments Stuck Undeletable (
src/crawler_management/service.py):_evaluate_runtime_protection()now acceptsenabled: bool = True: environments with bound tasks (task_count > 0) and active OS-core runtimes (/usr/bin/*,/bin/*,C:\Windows\*) remain protected, while already-disabled (enabled=False) environments with0bound tasks can be cleanly deregistered without touching the host filesystem_execute_true_runtime_uninstall()isolates deactivated system-path cleanup as strictly deregister-only (never cascade-deleting active profiles sharing the path and never poisoningenv_excluded/envscan)delete_worker_node()now automatically deregisters unbound (task_count == 0) environments on the deleted node while preserving bound profiles as disabled until their tasks are rebound
- Compound PEP 440 Version Ranges Causing
503 MANAGEMENT_STORAGE_UNAVAILABLE(src/crawler_management/service.py):install_runtime_package()now passes the full compound version specifier (e.g.curl_cffi>=0.15.0,<1) topip installwhile normalizingversion_specvia_normalize_db_pip_version_spec()to satisfy PostgreSQLplatform_runtime_package_revisionsCHECK(version_spec ~ '^[A-Za-z0-9][A-Za-z0-9._+-]{0,63}$')
- Single Mirror-Accelerated
pip install& Extended UI Proxy Timeout (src/crawler_management/service.py,deploy/scripts/public_ui_proxy.py):create_distributed_environment()now creates the remote isolated venv first (packages: []) and performs a single configured-mirror, exit-code-checkedinstall_runtime_package()pass (and forwardspypi_index_urltocreate_managed_venv)public_ui_proxy.pyraises default upstream timeout from90sto300s(configurable viaSPIDERPRO_UPSTREAM_TIMEOUT_SEC) so heavy package installs do not prematurely return502