[Bug] 插件市场:插件状态不一致(列表未删除 / 详情已删除),审核队列残留任务无法清除
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- backend
Research direction
The payload names no source files, tests or entry points; it only describes user-visible symptoms in the plugin marketplace. Start by reproducing the sequence it lists: submit a version, get it rejected, delete the plugin, then check the review queue, the plugin list, the detail page and the version list. Done would mean the deleted plugin's pending review task is cancelled, and the plugin, its ID and its version number are released consistently across all three views.
Written by the indexing model from the issue text.
Description
问题概述 / Summary
插件市场里插件状态不一致,且审核队列残留任务无法自行清除。
(实际上也有人反馈过这个问题,但是我这边有了,似乎只能通过彻底删除插件来)
插件:coming-nbk/astrbot_plugin_sandbox
经过:提交 v1.0.0 → LLM Guard 驳回(写入路径问题)→ 删除插件 → 重新提交修复版 1.0.1
结果:插件处于「列表显示正常、详情显示已删除」的矛盾状态,1.0.1 未入库。
复现步骤 / Steps to reproduce
- 提交插件 coming-nbk/astrbot_plugin_sandbox,版本 1.0.0
- 审核被驳回(LLM Guard,原因是 last_bootstrap.json 写入路径不在 plugin_data 下)
- 在「我的插件」里删除该插件
- 删除后后台持续提示「有插件正在审核」,数十分钟不消失
- 尝试重新提交 1.0.1,提示「该版本号已经使用过」
- 等审核队列清空后刷新:列表页显示该插件正常,点进详情页显示「已被作者标记为 deleted,已从公开市场下架」
- 「版本」标签里看不到 1.0.1 的记录
期望行为 / Expected behavior
删除插件后,审核队列里对应的任务应同步取消;插件记录应被彻底删除并释放 ID 与版本号占用。
或者:删除后仍允许重新提交新版本,且插件状态在各处保持一致(列表页 = 详情页 = 版本列表)。
实际行为 / Actual behavior
- 删除插件后,后台长时间提示「有插件正在审核」,直到队列任务处理完才消失
- 详情页状态为 deleted,⋯ 菜单里的「删除插件」为置灰不可点
- 状态不一致:列表页显示正常,详情页显示已删除
- 新提交的 1.0.1 在版本列表里不存在,无法判断是否入库
- 已排除前端缓存:清除站点数据、无痕窗口、换设备访问,表现一致
相关页面或资源链接 / Related URL
No response
AstrBot Cloud 版本或环境 / Version or environment
No response
日志、截图或其他上下文 / Logs, screenshots, or context
No response
提交前确认 / Checklist
- 我已搜索现有 issue,确认没有重复反馈。 / I searched existing issues and found no duplicate.
- 我已移除反馈中的密码、Token、Cookie 等敏感信息。 / I removed passwords, tokens, cookies, and other sensitive information.
- Dominant language
- No language data
- Stars
- 6
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AstrBotDevs/astrbot-cloud-issues
-
[Bug]Openbug
Difficulty 3/5 1-2 days Newbie friendliness 46/100
-
[Bug] 自动安全检查失败Openbug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
给我解封吧求求了,我再也不乱发插件了Open
Difficulty 1/5 Under an hour Newbie friendliness 5/100
AstrBotDevs/astrbot-cloud-issues#32 · 2 comments ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 15/100
All issues in AstrBotDevs/astrbot-cloud-issues
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
progress-deadline annotation accepts "0s" although validation says it must be positivePossibly taken @BahaaMattar claimed this today. Openarea/API kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mailcow/mailcow-dockerized#7677 · 1 comment ·
Maintainers usually reply within 1 day
-
area:plugins kind:perf priority:p3 ready
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
api cleanup
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Maintainers usually reply within 1 day