Repository navigation
SpiderPro v1.0.9
SpiderPro v1.0.9
3-layer configurable per-worker parallel execution (1..16, including Windows headed interactive runs), Worker journal auto-compaction beyond 64 attempts, unaccepted LEASED cancel loop fix (PostgreSQL migration 0046), and Gateway reconnect recovery self-healing for orphaned/expired-terminal Redis PEL entries with handshake offline rollback.
Added
- 3-Layer Multi-Task Parallel Execution (
1..16per Worker):- Gateway (
gateway/server/server.go,gateway/daemon/config.go,gateway/daemon/runtime_config.go): addedmax_concurrent_offers(1..16, default1), multi-slotinFlighttracking with out-of-order terminal release, and increasedoutboundQueueCapacity(64 → 256). - Worker Agent (
worker/agent/config.go,worker/agent/agent.go,worker/cmd/worker-agent/main.go): openedmax_concurrent_tasksto1..16with concurrent per-dispatch execution/streaming while still blocking concurrent attempts for the sameRunIdand enforcingWORKER_AGENT_BUSY. - Windows Headed InteractiveRunner (
worker/interactive/runner.go,pipe_windows.go,pipe_server_windows.go,worker/cmd/interactive-runner/main.go): openedmax_concurrent_runsto1..16using a fixed N-slot persistent Named Pipe pool (preserving slot-0FILE_FLAG_FIRST_PIPE_INSTANCE, per-slot DACL,PIPE_REJECT_REMOTE_CLIENTS, and PID→SID verification).
- Gateway (
- Expanded Prebuilt Static Release Binaries (
.github/workflows/release-binaries.yml): automatically cross-compiles and attachesworker-agent-*,gateway-daemon-*, andinteractive-runner-windows-amd64.exewith.sha256andSHA256SUMS.txt.
Fixed
- Worker Journal & Session 64-Attempt Quota Compaction (
worker/agent/journal.go,worker/agent/agent.go): compacts oldest fully committed (RESULT+TerminalAck+ all chunks acked + differentRunId) journal entries when exceeding 64 attempts / 24 MiB, and prunes committed in-memory session attempts to avoidWORKER_AGENT_REPLAY_QUOTAon the 65th run. - Unaccepted
LEASEDCancel Retry Loop (migrations/0046_cancel_unaccepted_leased_attempt.sql,src/crawler_management/service.py,worker/agent/agent.go,gateway/controlplane/service.go): immediately cancels unacceptedLEASEDruns/attempts in PG (crawler.cancel_unaccepted_leased_attempt, withSAVEPOINTfallback for pre-0046schemas), logsWORKER_AGENT_CONTROL_IGNOREDon unknown cancel/renew instead of dropping Worker sessions, and applies bounded exponential backoff (5s → 60s) on control retry failures. - Gateway Reconnect Recovery Orphan/Terminal PEL Self-Healing & Handshake Offline Rollback (
gateway/postgres/backend.go,gateway/daemon/recovery.go): discards provably unrecoverable Redis PEL entries (purged PGoutbox_messagesrows or expired unresolved terminal attempts) viaDiscardStaleduring reconnect recovery while keeping fail-closed guards on cross-worker/tampered/unresolved-stale-generation entries; rolls backONLINEpresence viaMarkWorkerOfflinewheneverEnsureGrouporRecoverPendingDeliveriesfails duringRecordHello.