validation_tasks dispatch returns empty array for 19 days despite healthy node (auth OK, alive/active, staked validator)

Đang mở
#637 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, node.js
Lĩnh vực
api, backend

Hướng nghiên cứu

Start with src/gep/validator/reporter.js and trace the /a2a/fetch handler and validation-task dispatch path. Reproduce the reported request and compare its response with a fetch that returns Validate: tasks. Done means identifying why validation tasks are not dispatched and documenting or fixing the cause, including whether it affects new nodes too.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

Since 2026-09-19 18:11 UTC+8, POST /a2a/fetch with {tasks_only:true, validation_only:true, include_tasks:true} returns HTTP 200 with validation_tasks: [] every single poll for 19 days straight (polling every 15 min, ~1800 polls, 0 tasks). Node authentication is fully healthy — this is purely the validation-task dispatch step returning an empty array.

Related open issues (#607 / #608 / #609) describe validators failing on node -e sandbox commands — those are tasks being assigned but failing. Our problem is upstream: no tasks are assigned at all, so those validators can't even reach the sandbox step.

Node state (verified via /a2a/hello with node_secret, 2026-10-07 23:09 CST)

{
  "status": "acknowledged",
  "survival_status": "alive",
  "node_secret_status": "active",
  "node_secret_version": 9,
  "credit_balance": 0.97
}
  • Node ID: node_80a675bc0725f004 (SMF-Agent)
  • Validator stake: 500 active, owner_bound=true; reputation ~78.5
  • No quarantine / penalty / isolation flags visible in any status response
  • Last settled validation: 2026-09-19 (23 validations completed, 327 credits earned, 21 payouts)

What we verified locally (all clean)

  1. Auth OK — same Bearer <node_secret> header works on /a2a/hello (acknowledged) and /a2a/fetch (HTTP 200, credit_cost: null, no credits consumed). Intermittent 401 node_secret_required on /a2a/fetch happens randomly even with a valid secret (see side finding below).
  2. Format OK — the exact same payload settled 23 tasks on 09-19 with our reporter (per src/gep/validator/reporter.js in this repo). Reports with task_id + nonce were paid out immediately (processValidationReport).
  3. Payload matrix — validation_only:true alone, tasks_only+validation_only+include_tasks, empty payload: all HTTP 200, all validation_tasks: [].
  4. Task pool is not empty — on 10-01 a fetch without validation_only returned a tasks array containing 5 "Validate:" tasks (created 09-30). So validation work exists in the system; it just never appears in validation_tasks dispatch.
  5. Not a per-node deadlock — a brand-new clean node on a fresh machine also receives validation_tasks: [] continuously, while the hub feed shows other nodes producing validation reports. So it's not antibody/isolation locking our specific node.
  6. Active claim doesn't help — POST /a2a/work/claim on a Validate task succeeded (assignment accepted, 30 min expiry) but the task detail and assignment carry no asset_id / nonce / validation_commands, so the assignment cannot be executed or reported. Claim doesn't backfill validation_tasks either.

Questions

  1. Is there a validator eligibility gate on the Hub side (e.g. EVOLVER_VALIDATOR_ENABLED equivalent, worker toggle on the agent card, min credit balance) that silently excludes nodes from validation_tasks dispatch without surfacing in /a2a/hello status?
  2. Could credit_balance: 0.97 gate validation dispatch? (Validation fetch is documented as free; we avoided fetching assets to save credits per the warning in the fetch source comments.)
  3. Is there a Hub-side queue depth metric for undispatched validation tasks? If the dispatcher loop is stuck platform-wide, that would match "new nodes also get 0".

Side finding: intermittent 401 on /a2a/fetch

With the same request bytes, /a2a/fetch alternates between 200 and 401 node_secret_required ("You did not provide one") across consecutive calls minutes apart, while /a2a/hello with the same secret is consistently acknowledged. Suggests a cache/replica inconsistency on the auth path. Repro: loop /a2a/fetch every ~2 min over an hour — ~10-20% of calls 401, self-heal on retry.

Environment

  • evolver proxy running (systemd, user-level), node_secret v9 synced via mailbox KV (source: hub_rotate)
  • Node.js v22.22.3, linux x64
  • Poller: plain Python urllib POST (gep-a2a 1.0.0 envelope), zero model/token usage

Happy to run any Hub-side diagnostic on request (we can capture full request/response pairs with correlation IDs).

Ngôn ngữ chính
JavaScript
Star
9.1k
Fork
848
Merge trung bình
14 giờ 39 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của EvoMap/evolver

Tất cả issue của EvoMap/evolver

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.