• Joined on 2026-04-07
dailz closed issue dailz/logViewer#23 2026-06-10 17:34:24 +08:00
🟡 [M13] 未检查 KeyEventKind,Press/Repeat/Release 全当命令处理
dailz pushed to master at dailz/logViewer 2026-06-10 17:34:24 +08:00
463c53148b fix(tui): filter KeyEventKind to prevent Release/Repeat from triggering commands (closes #23)
dailz pushed to master at dailz/logViewer 2026-06-10 15:23:04 +08:00
e9f75ce3b1 fix(parser): detect duplicate JSON keys via custom Visitor instead of silent last-wins (closes #22)
ef1889767a fix(parser): trim whitespace in LogLevel::from_str to prevent misclassification (closes #21)
Compare 2 commits »
dailz closed issue dailz/logViewer#22 2026-06-10 15:23:04 +08:00
🟡 [M12] 重复 JSON key 被 HashMap 静默折叠
dailz closed issue dailz/logViewer#21 2026-06-10 13:37:33 +08:00
🟡 [M11] LogLevel::from_str 不 trim 空白
dailz commented on issue dailz/logViewer#21 2026-06-10 13:37:23 +08:00
🟡 [M11] LogLevel::from_str 不 trim 空白

修复方案

根因: LogLevel::from_str (crates/core/src/types.rs) 使用 s.to_uppercase() 直接匹配,未对输入做 trim() 处理。JSON 日志路径中 serde 保留字段原始值(含前后空白),导致 `"…

dailz pushed to master at dailz/logViewer 2026-06-10 11:37:09 +08:00
eedab3ac96 fix(parser): strip UTF-8 BOM before JSON parsing
dailz closed issue dailz/logViewer#20 2026-06-10 11:37:09 +08:00
🟡 [M10] UTF-8 BOM 开头的 JSON 行被拒绝
dailz commented on issue dailz/logViewer#19 2026-06-10 10:47:28 +08:00
🟡 [M9] 非字符串类型的 timestamp/level 字段被静默丢弃

已修复,提交 8e9600d。

根因: parse_line 中 fields.remove(key) 在类型检查之前执行,非字符串值(如 {"level":30})被移除后 as_str() 返回 None,导致字段既不在提取结果中也不在 fields 中 → 静默数据…

dailz closed issue dailz/logViewer#19 2026-06-10 10:47:10 +08:00
🟡 [M9] 非字符串类型的 timestamp/level 字段被静默丢弃
dailz pushed to master at dailz/logViewer 2026-06-10 10:47:10 +08:00
8e9600dda2 fix(parser): preserve non-string timestamp/level fields instead of silently dropping them (closes #19)
dailz closed issue dailz/logViewer#18 2026-06-09 17:30:53 +08:00
🟡 [M8] 配置写入非原子,并发读取可能回退默认
dailz commented on issue dailz/logViewer#17 2026-06-09 16:16:37 +08:00
🟡 [M7] 并发缓存保存共享同一临时文件路径

修复方案

根因: IndexCache::save_with_hash()save() 使用固定的 .index.tmp 临时路径,后台索引线程和 TUI 主线程并发调用时 File::create 截断对方数据。

修复: 用 `tempfile::Builde…

dailz pushed to master at dailz/logViewer 2026-06-09 16:13:50 +08:00
2cebbd94c4 fix: concurrent cache save uses unique temp files (#17)
dailz closed issue dailz/logViewer#17 2026-06-09 16:13:50 +08:00
🟡 [M7] 并发缓存保存共享同一临时文件路径
dailz commented on issue dailz/logViewer#16 2026-06-09 15:16:00 +08:00
🟡 [M6] 后台线程在有界通道上阻塞 send

已修复,提交 0d88e93。

根因: spawn_indexer 和 spawn_visual_height_rebuild 的后台线程使用阻塞 tx.send() 在有界通道上,consumer 停止 drain 时线程永久挂起,取消检查不可达。

修复方案: -…

dailz closed issue dailz/logViewer#16 2026-06-09 15:14:47 +08:00
🟡 [M6] 后台线程在有界通道上阻塞 send
dailz pushed to master at dailz/logViewer 2026-06-09 15:14:47 +08:00
0d88e933e6 fix(io): replace blocking channel sends with cancel-aware alternatives (closes #16)
420b853cb9 fix(watcher): filter Remove events by path to prevent false removed reports (closes #15)
7852e92ecc fix(watcher): forward notify backend errors instead of silently discarding
Compare 3 commits »
dailz closed issue dailz/go-kv#5 2026-06-09 13:38:17 +08:00
[Critical] WAL write failure 语义过于简化:write() 失败后 bytes 可能已落盘
dailz closed issue dailz/logViewer#15 2026-06-09 13:18:55 +08:00
🟡 [M5] Remove 事件不经过路径过滤,可能误报