Repository navigation
English
Performance
- Skip re-sanitising unchanged entries during feed updates via a raw-input
source_hashcolumn (migration0007), cutting repeat sanitiser CPU and parse memory spikes. - Bound HTML-to-text summary extraction to 64 KiB, skip loading
content_htmlon public pages insummary/titlemode, stream JSON Feed serialisation without cloning intoserde_json::Value, serve embedded static assets zero-copy, load settings in one SQL query, and trim unused SQLite extensions (FTS3/FTS5/RTREE/etc.),mime_guess,axumfeatures, andreqwestbrotlidecode windows. - Fix a frontend DOM retention leak in toast column tracking (reclaiming >100k detached CDP nodes / ~12.7 MiB JS heap after leaving a long reader list), defer rendering the closed command palette until first open (~2,200 elements / ~4.2 MiB JS heap saved at 500 feeds), and replace O(N×M) feed-group rescans with O(N+M) buckets.
Fixed
- Run
PRAGMA incremental_vacuumto completion during daily maintenance instead of stepping only a single page per run. - Fix three frontend async races (stale mark-all across views, same-entry full-text reopen, and pending reads/errors outliving sign-out) with regression tests.
Development
- Merge
fmtandcargo-denyintoclippy, cache Docker Buildx layers and Playwright apt deps, move Rust CodeQL and source-Docker builds off PRs tomaster/weekly, trim fixed sleeps in the load harness while adding full-text/304/public/Linux assertions, and remove retireddesigns/and vendored.agents/skills/prototype-first-ui/assets.
中文
性能
- 通过原始输入哈希列
source_hash(迁移0007)在二次抓取时跳过未变化条目的重复 HTML 清洗,显著降低稳态解析 CPU 与瞬时内存峰值。 - 限制摘要提取的 HTML 输入上限为 64 KiB;公开页在
summary/title模式下不再查询content_html且 JSON Feed 直接借用结构体序列化;静态资源改为零拷贝返回;Settings::load合并为单条 SQL 查询;裁剪未使用的 SQLite 扩展(FTS3/FTS5/RTREE等)、mime_guess、axum默认特性与reqwestbrotli解码窗口。 - 修复前端 toast 列定位导致的 DOM 滞留泄漏(离开长列表后回收 10 万+ 游离节点与约 12.7 MiB JS 堆),延迟渲染关闭态命令面板(500 订阅下省约 2,200 元素与 4.2 MiB JS 堆),并将 O(N×M) 订阅分组改为 O(N+M) 分桶。
修复
- 修复每日维护中
PRAGMA incremental_vacuum仅步进单页未执行完毕的问题。 - 修复 3 处前端异步竞态(跨视图全部已读、同条目重开全文抓取、登出后残留请求/错误)并补充回归单测。
开发
- 将
fmt与cargo-deny合并入clippy,共享 Docker Buildx 缓存与 Playwright 系统依赖缓存,将 Rust CodeQL 与源码镜像构建移至master/每周定时,缩减负载测试固定等待并补齐全文/304/公开页/Linux 门禁断言,移除已退役的designs/与内置.agents/skills/prototype-first-ui/目录。
Image / 镜像: ghcr.io/dejavumoe/nanorss:v0.2.4 (linux/amd64, linux/arm64)
Verify / 校验: sha256sum -c SHA256SUMS