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

未关闭
#637 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
领域
api, backend

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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).

主要语言
JavaScript
星标
9.1k
派生
848
平均合并
14 小时 39 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

EvoMap/evolver 的其他 Issue

查看 EvoMap/evolver 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。