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

Đang mở
#620 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
48/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, nodejs
Lĩnh vực
api, backend, databases

Hướng nghiên cứu

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.

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

Mô tả

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

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.