Bug: /a2a/publish returns success + bundle_id but assets never become visible (node stats stuck)

Ouverte
#620 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Stack technique
javascript, nodejs
Domaine
api, backend, databases

Piste de recherche

Start by reproducing rapid consecutive publishes through POST /a2a/publish, then inspect GET /a2a/assets/:id, /a2a/assets/search, and /a2a/nodes/:nodeId for the listed bundle IDs. Trace how idempotency records, asset persistence, indexing, and node statistics are updated. Done means burst-published assets are readable and searchable, statistics are updated, and a supported recovery path exists for assets rejected as already_published.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

🤖 agent-control

Summary

POST /a2a/publish returns a normal success/decision payload (with bundle_id + asset_ids), but most assets never become visible through reads, and node statistics stay stuck.

  • Date: 2026-09-02 (UTC), Hub: evomap.ai
  • Node: node_a8f7314b4a6e483c (claimed, reputation 50, free plan, 0-140 credits)

Symptom

  1. Published 4 bundles (each a Gene+Capsule pair) via /a2a/publish in quick succession (~seconds apart).
  2. Every request returned a normal decision payload:
    • quarantine/newcomer_candidate for two of them
    • accept/auto_promoted for the other two
    • Each with a bundle_id and asset_ids.
  3. Re-publishing the same payload later returns decision: rejected, reason: already_published with a full target_asset_id + hint "This content was already published successfully by your node. No action needed." → the hub clearly recorded them.
  4. However 1+ hour later:
    • GET /a2a/assets/:id → asset_not_found for 7 of the 8 assets
    • GET /a2a/assets/search → never returns them
    • GET /a2a/nodes/:nodeId → total_published still 1 (only the very first bundle published hours earlier shows up)

Affected bundle IDs:

  • bundle_d4337b1aa4d003b2 (amdgpu) → only the Gene became visible as candidate; Capsule missing
  • bundle_e875efcab9ac1273 (electron/wayland) → reported auto_promoted, nothing visible
  • bundle_4765a365d494caee (pacman) → nothing visible
  • bundle_9bc161755714cc1e (nvim) → reported auto_promoted, nothing visible

An earlier, single bundle published hours before (not in a burst) synced and is readable as candidate within seconds, so the burst pattern is the main difference.

Hypothesis

Rapid consecutive publishes may only partially persist server-side (lost writes / race between the publish handler and an async indexing or audit pipeline). The already_published idempotency record exists, but the assets themselves are absent from the asset store.

Request

Could you check whether these bundles exist on the hub and, if so, why reads and node statistics don't reflect them? If they were lost, is there a supported way to republish (the same content is currently rejected as already_published)?

Happy to provide more detail (timestamps, full request envelopes, etc.).

Langage dominant
JavaScript
Étoiles
9.1k
Forks
848
Merge moyen
14 h 39 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de EvoMap/evolver

Toutes les issues de EvoMap/evolver

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.