Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
Description
同一根本原因(storage)的 open issue 汇聚,由根因归类板自动维护(10min 刷新,勿手编)。
本批 issue
- 镜像 [bug] UNRECOGNIZED PATHS flags non-POST requests to known endpoints (/responses, /) as "not a known protocol", and the c | [bug] UNRECOGNIZED PATHS 把非 POST 请求打到已知端点(/responses、/)判成 "not a known protocol",且计数永不清零——4 次探活常驻面板 6 天 #5763(GitHub storage: notice-store (#5548) pre-hydration receipts block the one-time legacy→kv migration #5761) — storage: notice-store (Unified Announcement Panel Design (Approved): Built-in declarations + local JSON + remote GitHub raw — a single renderer | 公告面统一设计(已批准):内置声明 + 本地 JSON + 远程 GitHub raw,三来源一套渲染器 #5548) pre-hydra…
根因: src/notice-store.ts hydrateNoticeReceipts() gates on cache!==null as its hydrat… - 镜像 [PR] Pi: opt-in structured acp_delegate notification envelope for third-party UIs #5790(GitHub [storage] Persist a schema reader floor so an older build refuses a store it cannot share (rolling upgrades / rollbacks) #5788) — [storage] Persist a schema reader floor…
根因: feature request: whether an OLDER build may open a store a NEWER build migrated… - 镜像 [Feature][Pi] Automatic per-role model fallback for acp_delegate #5827(GitHub Expected performance after JSON-to-SQLite migration #5824) — Expected performance after JSON-to-SQLi…
根因: performance question on the JSON->SQLite storage migration: private candidate m… - 镜像 Batch compression failed: insufficient output for individual paragraphs. | 批量压缩个别自然段输出过少失败 #5894(GitHub [Feature | 功能请求] 会话索引重建命令 / bili reindex: rebuild one session's index #5892) — [Feature | 功能请求] 会话索引重建命令 / bili reinde…
根因: feature request: CLI and/or Web-console command to rebuild one session's index.… - 镜像 [Bug][dsh] dsh-ledger treats the peer suffix after the version in pnpm lockfile as part of the version: healthy profiles | [Bug][dsh] dsh-ledger 把 pnpm lockfile 里版本后面的 peer 后缀当成版本的一部分:健康的 profile 被报 copy-vs-lock,bili doctor --fix 还会改写 lockfile #6320(GitHub [Bug][storage] Stale entries remain in archive.jsonl after a failed archive sweep; subsequent restore picks up the stale | [Bug][storage] 归档清扫失败后 archive.jsonl 留下过期行;之后恢复会拿回过期的导出、丢掉较新的那份 #6317) — [Bug][storage] Stale entries remain in …
根因: archiveSession appends the session's export row to archive.jsonl BEFORE running… - 镜像 [storage] The newly created index.db actually ends up with auto_vacuum=0: this pragma is placed after journal_mode=WAL, | [storage] 新建的 index.db 实际是 auto_vacuum=0:这条 pragma 排在 journal_mode=WAL 之后,
--vacuum incremental什么都回收不了 #6323(GitHub [storage] The newly created index.db actually ends up with auto_vacuum=0: this pragma is placed after journal_mode=WAL, | [storage] 新建的 index.db 实际是 auto_vacuum=0:这条 pragma 排在 journal_mode=WAL 之后,--vacuum incremental什么都回收不了 #6323) — [storage] The newly created index.db ac…
根因: storagePragmas() in src/storage/schema.ts sets PRAGMA journal_mode=WAL first an…
任务
对本批 issue 做一个根本性修复 PR:
- PR 描述里用
Fixes #...逐个列出上面每一个 GitHub issue 号(没有 GitHub 号的写镜像号) - 若某个 issue 已有自己的 PR 且方向一致,cherry-pick 其 commit 并保留原作者署名(
-x);由你判断是否值得 - 标签按本 PR 的 diff 独立判断(类别 + 优先级),不要抄任何来源 issue
- 修完后回帖本线程:改了什么、为什么一次修了整批
Activity
[-][根因] storage(自动维护,勿手动关闭)[/-][+][Root Cause] storage (auto-maintained, do not close manually) | [根因] storage(自动维护,勿手动关闭)[/+]ranxianglei commentedon Nov 12, 2026
[bot] 🏷 (ai: vllm-qwen/qwen3.8-27b)
阶段性汇报(实现进行中,PR 未开)
查重:不重复。本批 6 个 issue 是 6 个相互独立的 storage 域缺陷/请求;已核对镜像与 GitHub 的 open [PR] 行——没有任何 PR 指向本线程或这 6 个源 issue(可安全开新 PR)。例外:#5761 已有方向一致的 PR #5768(CI 30 项全绿、待 owner 合并),按任务要求 cherry-pick 其 2 个 commit 并保留原作者署名(
-x),不另起炉灶。逐条已对照 master 代码核实(file:line 已验证):
--vacuum incremental什么都回收不了 #6323 auto_vacuum 失效:src/storage/schema.ts:105先journal_mode=WAL、:114后auto_vacuum=INCREMENTAL——SQLite 只在空库生效 auto_vacuum,WAL 切换已写 page 1 → 静默忽略。修法=调序(auto_vacuum 先于 WAL)。已验证。store.ts:2082在 sweep 事务之前 append 导出行;restoreArchived:2135-2144从顶部取第一个匹配行。sweep 失败(写锁)→ 陈旧行残留 → 恢复取错行 → 丢新数据。MySQLmysql.ts:1797/:1849同形。修法=append 移入 sweep 事务作最后一步 + restore 从尾取最新行 + >1 行告警。已验证。schema.ts:441的user_version提升在 DDL 事务外;无 floor 概念。按 issue 内已定稿的 Option A 实现(STORAGE_MIN_READER_VERSION=8+ kv_store 行同小事务 + open 时门控 + MySQL 对等)。已验证。hydrateNoticeReceipts()以cache!==null为门 → 预水合 dismiss 永久跳过迁移。PR [PR] fix(storage): pre-hydration receipt no longer blocks the notice-store legacy→kv migration (#5761) #5768 已修(union 进 lazy cache + 独立 hydrated latch)。cherry-pick。已验证。benchmarks/仅 third-party-1500)。persist.ts:1721-1733loadEnvelope+importRecord),但无一等入口。补bili sessions reindex <id>:envelope 在→确定性重建(无模型调用);envelope 失(报告者的真实场景)→ 诚实报告需模型再生(A1/A2 + 成本 4 项决策 owner 未答,不在本 PR 越权实现大特性)。已验证。计划:一个 PR,6 个独立 commit(各带
Fixes #…),标签按本 PR diff 独立判定。PR 开好后回帖本线程:改了什么、为何一次修整批 + 8 问。当前状态:实现进行中(尚未提交任何代码)。继续,完成后更新。