[Bug] 1.0.10 已发布且市场索引可见,cloud 插件版本页仍停在 1.0.9(Rejected)

Aperta
#20 0 commenti 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
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
backend

Direzione di ricerca

The payload names only the endpoints: GET /api/v1/market/plugins/by-id/{author}/{plugin} on cloud.astrbot.app and the /api/v1/plugins/market index. This repository holds only the issue tracker, so the sync code that should update the cloud version record is not here. Reproduce by comparing both responses for the same plugin after a new tag. Done means the detail endpoint and versions page show 1.0.10 with its own submission status.

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

Descrizione

bug
问题概述 / Summary

插件 ghcasxwm983/astrbot_plugin_humanizer 的 v1.0.9 被 LLM Guard 拒收,意见是 main.py 第 10 行 from astrbot import logger 需改成 from astrbot.api import logger。按意见改好、发布 v1.0.10 并用「+ 发布」重新提交后,市场索引已经变成 1.0.10、1.0.10 的包也能正常下载,但 cloud 的版本页和详情接口仍然只显示 v1.0.9(Rejected)和旧审核意见。安装端看到的版本和作者端看到的版本不一致。

复现步骤 / Steps to reproduce
  1. 打开 https://cloud.astrbot.app/plugin/ghcasxwm983/astrbot_plugin_humanizer?tab=versions ,此时 v1.0.9 状态为 Rejected,审核意见是 logger 导入不规范。
  2. 按意见修改 main.py 为 from astrbot.api import logger,发布 v1.0.10(tag v1.0.10 → commit 0b395b9,2026-10-31T01:48:17Z),metadata.yaml 的 version 已是 1.0.10。
  3. 回到 cloud,用右上角「+ 发布」重新提交这个插件。
  4. 打开自建 AstrBot(4.27.4)的插件市场详情页,版本显示 1.0.10、更新时间 2026/10/31 09:52:24。
  5. 回到 cloud 版本页(刷新、关掉重开各一次),页面依旧只渲染 v1.0.9 + Rejected。
期望行为 / Expected behavior

cloud 版本页与市场索引一致:显示 1.0.10 的提交记录和这次的新审核结果(通过,或者给出针对 1.0.10 的新意见)。

实际行为 / Actual behavior

同一时刻两处读数不一致(2026-10-31T02:30Z 复测):

  • cloud 版本页:只有一张 v1.0.9 卡片,Rejected,审核意见仍是「main.py 第 10 行使用 from astrbot import logger」
  • cloud 详情接口:latest_version=1.0.9、published_version=null、latest_submission_version=1.0.9、latest_submission_status=rejected、versions=["1.0.9"]、git_commit=67bc746(= v1.0.9 那次)、updated_at=2026-10-31T01:35:33Z
  • 市场索引(自建 AstrBot 服务端的 /api/v1/plugins/market,条目 Maxsun/astrbot_plugin_humanizer):version=1.0.10、commit_sha=0b395b9eab92c2b7c2e37cf166048e0d65387f72、updated_at=2026-10-31T01:52:24Z
  • 1.0.10 的包在线:https://astrbot-cloud-test-s3.astrbot.app/plugins/releases/sojiang/astrbot_plugin_humanizer/1.0.10/astrbot_plugin_humanizer-1.0.10-0b395b9eab92.zip 返回 HTTP 200,34526 字节

也就是说 1.0.10 已经发布成功、安装端可以拿到,只有 cloud 的作者端详情/版本页停在被拒的 1.0.9。版本页上可操作的只有「重新检查」和「撤销版本」;我没有点「重新检查」,因为按 #7 的反馈它不会重新拉取代码,只会在旧 commit 上重跑同一份审核。

同类问题:#16、#7。

相关页面或资源链接 / Related URL

https://cloud.astrbot.app/plugin/ghcasxwm983/astrbot_plugin_humanizer?tab=versions
https://github.com/ghcasxwm983/astrbot_plugin_humanizer/commit/0b395b9eab92c2b7c2e37cf166048e0d65387f72

AstrBot Cloud 版本或环境 / Version or environment

Web (cloud.astrbot.app) · Edge 152 · Windows 11;安装端 AstrBot v4.27.4

日志、截图或其他上下文 / Logs, screenshots, or context

cloud 详情接口(浏览器内同源请求,已登录作者账号):

GET https://cloud.astrbot.app/api/v1/market/plugins/by-id/ghcasxwm983/astrbot_plugin_humanizer

{
"latest_version": "1.0.9",
"published_version": null,
"latest_submission_version": "1.0.9",
"latest_submission_status": "rejected",
"latest_submission_summary": "自动安全检查未通过……main.py 第 10 行使用 from astrbot import logger,违反日志规范……",
"git_commit": "67bc746019eab35cc2a9c8d058316e6393123710",
"versions": ["1.0.9"],
"updated_at": "2026-10-31T01:35:33.289212Z"
}

市场索引(自建 AstrBot 4.27.4 服务端代理的市场接口,同一条目):

{
"author": "Maxsun",
"name": "astrbot_plugin_humanizer",
"version": "1.0.10",
"download_url": "https://astrbot-cloud-test-s3.astrbot.app/plugins/releases/sojiang/astrbot_plugin_humanizer/1.0.10/astrbot_plugin_humanizer-1.0.10-0b395b9eab92.zip",
"commit_sha": "0b395b9eab92c2b7c2e37cf166048e0d65387f72",
"updated_at": "2026-10-31T01:52:24.617797Z"
}

时间线:

  • 01:32Z v1.0.9 提交(commit 67bc746)
  • 01:35:33Z LLM Guard 拒收,cloud 的 updated_at 停在这里
  • 01:48:17Z v1.0.10 提交(commit 0b395b9,唯一改动就是 logger 导入)
  • 01:52:24Z 市场索引记录 1.0.10(说明发布链路成功)
  • 02:30:41Z 复测,cloud 详情接口仍返回 1.0.9 / rejected / versions=["1.0.9"]
提交前确认 / Checklist
  • 我已搜索现有 issue,确认没有重复反馈。 / I searched existing issues and found no duplicate.
  • 我已移除反馈中的密码、Token、Cookie 等敏感信息。 / I removed passwords, tokens, cookies, and other sensitive information.
Lingua principale
Nessun dato sulla lingua
Stelle
6
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 AstrBotDevs/astrbot-cloud-issues

Tutte le issue di AstrBotDevs/astrbot-cloud-issues

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.