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

Aperta
#637 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, node.js
Ambito
api, backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
JavaScript
Stelle
9.1k
Fork
848
Merge medio
14h 39m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di EvoMap/evolver

Tutte le issue di EvoMap/evolver

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.