Skip to content

SpiderPro v1.0.11

Choose a tag to compare

@github-actions github-actions released this 02 Dec 07:07
· 4 commits to main since this release

SpiderPro v1.0.11

Real-machine Windows & Linux Docker one-click Worker onboarding fixes (CA/binary auto-discovery, pinned-CA multi-NIC TLS resilience, re-adding deleted/disabled workers, stale environment cleanup on delete, tombstoned default-env handling on rejoin, honest startup verification) and streamlined GitHub Release assets.

Fixed

  • Automatic Master CA, Public UI Cert & Worker Binary Discovery (src/crawler_management/service.py):
    • _read_master_public_ca_pem() and _maybe_provision_worker_mtls_bundle() now automatically discover <master_root>/secrets/public-ui/tls.crt, <master_root>/secrets/worker-ca/{ca.pem,ca.key}, <master_root>/pki/{ca.crt,ca.key}, and <master_root>/worker-bins/ when explicit SPIDERPRO_* env vars are not set—enabling full mTLS-ready one-click bundles on native Linux systemd Masters as well as Docker Quickstart
  • Pinned-CA TLS Verification Across Self-Signed & Multi-NIC/NAT/VPN Masters (src/crawler_management/service.py, deploy/docker-worker/worker_daemon.py):
    • Clears Python 3.13 VERIFY_X509_STRICT on bundled Master self-signed certs while keeping ssl.CERT_REQUIRED against the pinned master_ui_ca.pem / tls/ca.pem
    • Automatically falls back to check_hostname=False with strict ssl.CERT_REQUIRED against the pinned CA when accessing Master over a secondary NIC/NAT/VPN IP not listed in initial SANs
  • Re-Adding Previously Deleted or Disabled worker_id (src/crawler_management/service.py):
    • issue_worker_join_token() now re-activates crawler.workers.status='ACTIVE' via crawler.set_worker_registry_status even when reusing a historical onboarding record—fixing HTTP 401 on /join and WORKER_DISABLED on mTLS reconnect
    • delete_worker_node() now disables all stale runtime profiles bound to the deleted node and clears stale env_excluded:* / envscan:* metadata so re-adding the same worker_id on a new host or container starts clean
    • join_worker_with_token() now checks visible (include_deleted=False) runtimes before reviving disabled profiles and automatically allocates a fresh visible profile ID (e.g., <worker_id>-docker-py311) when the legacy <worker_id>-default-env was tombstoned in platform_env_admin_revisions, plus passes real clean_arch for auto-created Node.js profiles
  • Honest Windows One-Click Startup & UI Bundle Status (src/crawler_management/service.py, src/crawler_management/spiderpro/app.js):
    • start_worker.ps1 sets UTF-8 console encoding ([Console]::OutputEncoding = [System.Text.Encoding]::UTF8) to prevent garbled Chinese output and actively waits for Joined Master: in worker_daemon.out.log (exiting non-zero with exact diagnostics instead of printing [OK] on connection failure)
    • Web UI + 添加节点 result title accurately distinguishes complete mTLS bundles from probe-only bundles based on mtls_ready and *_agent_bundled
  • Streamlined Release Assets (.github/workflows/release-binaries.yml):
    • Removed the duplicate crawler-monitor.zip asset (already provided by GitHub's auto-generated Source code (zip)), leaving the 6 static Go binaries + 6 .sha256 + SHA256SUMS.txt (13 assets)