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

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

还没有人认领这个 Issue。

评估

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

调研方向

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.

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

描述

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

主要语言
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 摘要。