Commit Graph
902 Commits
Author SHA1 Message Date
qiqi 9f4d96f0db docs: v3.26.125 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 28s
stable-test-3.26.125
2026-11-30 17:42:06 +08:00
qiqi 5d70782327 fix(diag): v3.26.125 内存口径改 footprint(RSS 求和虚高 1.5~2 倍) 2026-11-30 17:41:11 +08:00
qiqi ac1501269f docs: v3.26.124 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 31s
stable-test-3.26.124
2026-11-30 17:22:12 +08:00
qiqi a0526e7860 feat(images): v3.26.124 插件图片策略 v2(宿主三层 API + 解码闸门 + 插件全部改走小图) 2026-11-30 17:21:39 +08:00
qiqi 9df561b3e0 docs: v3.26.123 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 29s
backup/pre-image-policy-3.26.123
2026-11-30 17:06:56 +08:00
qiqi 309963c7b3 feat(perf): v3.26.123 缩略图改由原生生成(webview 不再解码 4K 原图) 2026-11-30 17:06:01 +08:00
qiqi 602d6ce1da fix(memory): v3.26.122 护栏不再依赖 performance.memory(mac WKWebView 上整块失效) 2026-11-30 16:50:03 +08:00
qiqi 7248e7faa4 docs: v3.26.121 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 30s
2026-11-30 16:38:40 +08:00
qiqi 7600001b28 fix(diag): 进程树 RSS 在 macOS 按 etime 认领 WebKit 子进程 2026-11-30 16:38:27 +08:00
qiqi 71fe16214c feat(memory): v3.26.121 进程树 RSS 真值 + LOD 256 档 + 解码降采样 2026-11-30 16:31:30 +08:00
qiqi b2dbd01797 docs: v3.26.120 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m10s
2026-11-30 16:16:45 +08:00
qiqi eaf25125f1 fix(gallery): v3.26.120 图库宫格改用磁盘 320 缩略图(不再 mint objectURL)+ gallery 1.9.7 卡片缓存 400→60 2026-11-30 16:16:31 +08:00
qiqi c615f6008c docs: v3.26.119 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 47s
2026-11-30 16:00:03 +08:00
qiqi db55d451df fix(diag): v3.26.119 修导出诊断 JSON(未定义全局)+ 解码位图按真实尺寸估算 + 失效引用不再重试 2026-11-30 15:59:43 +08:00
qiqi 6256185d90 docs: v3.26.118 基线锚点 + 缩略图上限基线 512
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 55s
2026-11-30 15:40:04 +08:00
qiqi 3944fc5d7e feat(memory): v3.26.118 缩略图 512/并发 2 + 护栏改看估算进程占用 2026-11-30 15:39:40 +08:00
qiqi 2a430a7382 docs: v3.26.117 基线锚点 + 计数棘轮复算
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m49s
2026-11-30 15:06:39 +08:00
qiqi 3809c38251 feat(memory): v3.26.117 图片字节预算 + 绝对占用护栏 + 立即回收内存(Windows 测试版) 2026-11-30 15:06:28 +08:00
qiqi 641bb35997 feat(album): 1.2.3 混合模式新增粘贴按钮(截图/网页复制/访达复制)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 45s
2026-11-30 11:32:19 +08:00
qiqi 8d7f80993a fix(album): 1.2.2 文件夹开关选中态用强调色 + 说明/路径字号降到 onepage 同级
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 40s
2026-11-30 10:59:41 +08:00
qiqi 60161b50eb fix(album): 选完文件夹立即刷新读不到目录(st.node 未更新)+ 提示被 sync 隐藏(v1.2.1)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 39s
2026-11-30 10:51:02 +08:00
qiqi 3a5d0d7604 chore(release): 3.26.116 三平台条目齐平 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 39s
2026-11-30 10:45:34 +08:00
qiqi 90f06a3408 chore(release): 3.26.116 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 37s
2026-11-30 10:07:56 +08:00
qiqi 937766ecf6 docs: v3.26.116 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 36s
2026-11-30 10:05:31 +08:00
qiqi d0caf58bf3 docs: 计划勾选上限保护已完成 2026-11-30 09:57:19 +08:00
qiqi a43673ed66 feat(album): 文件夹上限保护(>500 张中止)+ v3.26.116 版本与 CHANGELOG 2026-11-30 09:57:13 +08:00
qiqi a4dc50ed5e feat(album): 相册文件夹模式 + 固化可靠性修复(v1.2.0)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 41s
宿主:
- wCleanIdb 保留集改为递归整个 node.data(原只扫 data/url/result,漏 items[].src ⇒ 固化后的 blob 被当孤儿删,实测 18 个条目丢 16 个)
- 收藏组同步修复;新增 tests/idb-gc-plugin-refs-test.js 防回退

插件 album 1.2.0:
- 来源徽标(已固化/引用/网络/丢失)
- 固化计数只算本地路径引用,批量跳过已固化并提示
- 单删/清空时清理 ctx.files 缩略图
- 文件夹模式:单图任务 + 文件夹监控两个开关、模式说明、按模式隐藏控件、刷新(增量 diff)、全部重载(二次确认)、忽略名单 folderSkip、底部路径与已忽略计数

计划与复盘:docs/plans/album-folder-mode.md(含勾选状态与优化总结)
2026-11-30 09:54:01 +08:00
qiqi 03191d24dc docs: 内存与图库插件复盘(2026-11-30)
新增 docs/standards/memory-and-gallery-lessons-2026-11-30.md:
- 回归判据(imgBigN=0 / imgDataMB<5 / imgBlobN≈domImgs / 30s-60s 13~15MB / ready-2s 150~190MB 带)
- 六处有效改动、宫格原图 base64 的证据链与修法
- 发布 latest.json 事故与两脚本分工
- 与 Win 构建机的五条协作约定

架构文档 §1.5 增加指向该复盘的链接。
2026-11-30 08:55:08 +08:00
qiqi ccde6a8ad4 chore(publish): release.sh 校验线上 latest.json + 文档写清两个发布脚本的分工
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 33s
2026-11-30 07:30:55 +08:00
qiqi 7a3d268f73 chore(release): 3.26.115 补齐 darwin-x86_64 条目 + dmg 按 publish-update 产物更新
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 32s
2026-11-30 07:30:17 +08:00
qiqi 53b649cb17 docs: 内存基线标题改 115 + 记 112–115 同属一个 150–190MB 启动带 2026-11-30 07:21:45 +08:00
qiqi 4bfcf5e2cf docs: 内存基线定稿为 v3.26.115 实测(稳态 13~15MB、启动瞬时峰 158MB 记为已知项) 2026-11-30 07:18:53 +08:00
qiqi 980633cfb9 chore(release): 3.26.115 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 33s
2026-11-30 07:15:08 +08:00
qiqi 6a858bb10d chore(release): 3.26.115 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 33s
2026-11-30 07:01:24 +08:00
qiqi cfacf47f73 docs: v3.26.115 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 32s
2026-11-30 07:00:04 +08:00
qiqi 59e591fcb0 fix(memory): hydrate 不再预读全部图片引用(v3.26.115)
114 二次启动验证:after-thumbs 111→10MB(缩略图复用成立),ready-2s 166→172MB 没降 ⇒ 启动固定峰。
根因是 wHydrateWorkspace 对每个引用都 wEnsureImgUrl,111 个各读 1.9MB 成 Uint8Array,GC 来不及收。
改为交给显示层按需解析,只读真正渲染到的节点。
2026-11-30 06:58:02 +08:00
qiqi dae9b8b4a9 docs: 补内存基线与三条不变量(v3.26.114 实测) 2026-11-30 06:52:00 +08:00
qiqi d60103f22e chore(release): 3.26.114 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 37s
2026-11-30 06:41:35 +08:00
qiqi 0dbdbc46c0 chore(release): 3.26.114 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 33s
2026-11-30 06:31:41 +08:00
qiqi 8233dcb191 docs: v3.26.114 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 39s
2026-11-30 06:30:04 +08:00
qiqi ff3e5bc8df fix(memory): 宫格缩略图 settle 加 3 路并发闸门(v3.26.114)
113 稳态已达标(60s heap 16MB、imgBigN 0、imgDataMB 0.5MB),但 ready-2s 出现 370MB 瞬时峰:
settle() 为每个图库条目把原图读成 dataURL(2~8MB),上百条同时等待 ⇒ 瞬时几百 MB。
加 3 路并发闸门,峰值随并发走而不随条目数走。
2026-11-30 06:28:02 +08:00
qiqi acd1e0fa96 chore(release): 3.26.113 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m35s
2026-11-29 23:29:58 +08:00
qiqi 596614da9e chore(release): 3.26.113 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 2m37s
2026-11-29 23:16:55 +08:00
qiqi ffa666f9d6 docs: v3.26.113 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Canceled after 1m40s
2026-11-29 23:15:11 +08:00
qiqi 040fb575ff fix(memory): 图库宫格不再渲染原图 base64(v3.26.113)
诊断包实测:111 张 2~8MB 的 data: 图不在画布节点里(无 data-node-id、无 class),而在图库宫格。
链路:thumbFor() → localCopySrcOf()(读原图成 dataURL)→ display() 首帧返回原图。

- gallery-sync.thumbFor 改为 settle():等显示缩略图就绪(最多 3s),超大 dataURL 一律不返回
- wDisplayThumbOf:>512KB dataURL 不作为 img src 返回(null)
2026-11-29 23:13:09 +08:00
qiqi bd08ffd8ef diag(memory): 记录大 data: 图片所属节点(imgBigSample)+ thumbsN 改名 galleryThumbN
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 57s
2026-11-29 22:50:29 +08:00
qiqi 7c14e858eb chore(release): 3.26.112 mac 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 3m3s
2026-11-29 22:35:22 +08:00
qiqi 6c3973e3e6 docs: v3.26.112 基线锚点
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 54s
2026-11-29 22:33:01 +08:00
qiqi 54f140bb9b fix(memory): 缩略图缓存不再收原图;超大数据视为缺失(v3.26.112)
111 实测 ready-2s 51MB(占位生效),但 30s 涨到 304MB 且 imgDataN=111 / imgDataMB=260MB:
生成失败/降级路径 remember(key, 原图dataURL) 把原图当缩略图缓存,画布于是拿 2.3MB base64 当图显示。

- image-display-thumb:>512KB dataURL 一律不入缩略图缓存(四处 remember 加保护),并记录 thumb-fail 证据
- image-thumb-pick:缓存里是超大 dataURL 时视为缺失 → 占位 + 重新排队
- 内存构成新增 imgBigN / imgMaxKB
2026-11-29 22:30:53 +08:00
qiqi 60cce3ccb1 chore(release): 3.26.111 Windows 条目 + 站点重生成
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m4s
2026-11-29 22:27:36 +08:00