Repository navigation
SpiderPro v1.0.10
SpiderPro v1.0.10
Long-running high-log-volume streaming endurance fixes, PostgreSQL migration 0047 (automatic lease renewal & worker lifecycle), pluggable project-agnostic telemetry engine, one-click Windows/Docker Worker onboarding E2E hardening, and deep-audit fixes across API bounds, proxy throughput, and upgrade scripts.
Added
- Pluggable Project-Agnostic Telemetry Engine (
src/crawler_management/telemetry.py,src/crawler_management/telemetry_adapters.py,sdk/spiderpro_telemetry.py,docs/guide/10-telemetry-sdk.md):- Replaced hardcoded project-specific log regexes in
service.pywith a clean layered telemetry architecture: Standard Protocol (SPIDERPRO-EVENTJSON lines, highest priority) → Pluggable Framework Adapters (Scrapy stats, genericprogress=x/y, HTTP status, error lines; configurable viaSPIDERPRO_TELEMETRY_ADAPTERS) → Custom JSON regex rules (SPIDERPRO_TELEMETRY_RULES_JSON/SPIDERPRO_TELEMETRY_RULES_FILE) - Extended zero-dependency
SpiderProReporterwithrecord_batch()andrecord_retry(), and de-hardcoded all UI placeholders, deployment scripts (ui5_assets.py,inspect-worker-host.ps1), and documentation examples
- Replaced hardcoded project-specific log regexes in
- PostgreSQL Migration
0047(migrations/0047_auto_lease_and_worker_lifecycle.sql):- Adds automatic lease-renewal and worker lifecycle support in the forward-only migration ledger (updating
migrations/manifest.jsonanddeploy/scripts/management_increment.py)
- Adds automatic lease-renewal and worker lifecycle support in the forward-only migration ledger (updating
- Automated Tag-Triggered Release Publishing & Expanded Quickstart CI (
.github/workflows/release-binaries.yml,.github/workflows/ci.yml):release-binaries.ymlnow triggers onv*tag pushes as well as published releases, packagingcrawler-monitor.zipalongside all 6 static Go binaries and SHA-256 checksumsquickstart-docker-smokeCI now verifies >8 MiB/api/v1/workers/join-tokensresponses throughpublic_ui_proxy.py, validates generated Windows & Docker Worker ZIPs, and confirms >4 KB/probe-resultpayloads bypass the control-route 4 KB cap
Fixed
- Long-Running High-Log-Volume Truncation & Streaming Endurance (
worker/agent/{spool.go,journal.go,live.go,handler.go},worker/exec/exec.go,worker/interactive/{protocol.go,client.go,runner.go},gateway/postgres/backend.go,src/crawler_management/{service.py,spiderpro/app.js}):- Upgraded Worker log spooling to continuous ring-buffer retention with bounded replay quota compaction so multi-hour crawlers emitting tens of megabytes of stdout/stderr never stall, truncate live streaming, or lose tail logs
- Hardened Gateway batch ingestion (
gateway/postgres/backend.go), live coalescer, and Web UI tail/earlier-log paging for sustained high-throughput runs - Fixed PostgreSQL
0046PL/pgSQL dollar-quote delimiters (AS $$/END $$;) for strict migration runners
- One-Click Windows & Docker Worker Onboarding E2E Hardening (
src/crawler_management/service.py,deploy/quickstart/{Dockerfile,entrypoint.py},deploy/scripts/{public_ui_proxy.py,onboard_worker_node.py},deploy/docker-worker/{Dockerfile,docker-compose.yml,worker_daemon.py}):- Cross-compiles and bundles Linux (
amd64/arm64) & Windows (worker-agent.exe,interactive-runner.exe) binaries inside the Quickstart Master image and wires CA/binary env vars intoentrypoint.py(max_concurrent_offers: 4) - Raised
public_ui_proxy.pyupstream response cap from 8 MiB to 64 MiB (withContent-Dispositionpassthrough) so 19+ MiB Worker join-token bundles never truncate mid-JSON - Hardened generated Windows Worker packages: UTF-8 BOM
start_worker.ps1(for PowerShell 5.1 GBK/CP936 locales), UTF-8 no-BOM JSON (etc\worker.json/etc\runner.json), ASCII.batlaunchers, native Windows backslashes, stricticaclsSID DACLs, detached background startup (Start-DetachedWorkerProcessvia WMI Session 0 breakaway + Pythonclose_fds=TrueCREATE_NO_WINDOW), andpython -u+flush=True - Hardened generated Docker Worker bundles: removed nonexistent
/usr/bin/python3, addedchmod 0700 /data& namedworker_data:/datavolume, safe Compose service names for dottedworker_ids, ARM64 binary selection,wait -ndual supervision, and single-pass certificate signing - Fixed
sp_discover.pyon Windows (managedenvs/discovery, skip Microsoft StoreWindowsAppsstub,CREATE_NO_WINDOW),provision_runtime_profileVENV_SYNC/NPM_CIfiltering, andonboard_worker_node.pytombstone auto-clearing
- Cross-compiles and bundles Linux (
- Deep Audit Fixes Across API, Scheduler, Upgraders & Security (
src/crawler_management/{api.py,service.py},worker/control/store.go,deploy/scripts/{upgrade-master.sh,upgrade-worker.sh}):- Expanded
BodyBoundslarge_json(2 MiB) to/probe-result,/bootstrap-complete,/provision,/shell,/environments/distributed,/ai/chat,/settings/env-vars,/(spiderpro|taskpyro)/(tasks|entities),/templates/catalog,/workflows, and/projects/git-syncwhile keeping strict 4 KB limits on control routes - Fixed backfill timeout inheritance (removed 2-hour cap), paused-schedule edit warning,
git-sync45s timeout &--option-injection guard, patrol alertLIMIT 200, realarchreporting on Worker join,quickstart-operatorpassword changes, AI 2 MiB read cap +reasoning_contentfallback, and SMTPssl.create_default_context() - Fixed
upgrade-master.sh_Adapter.transaction()forSPIDERPRO_PG_DSNmigrations,onboard_worker_node.py/rotate_worker_mtls_cert.pysync, andworker-artifacts.servicerestart (pure LF) - Fixed
upgrade-worker.shto inspect all Go OS threads (/proc/<MainPID>/task/*/children+pgrep -P) and supportetc/worker.json(pure LF)
- Expanded