Repository navigation
Commit fe13c02
authored
release: v0.10.3 — Codex/Claude orphan cleanup (thanks @Mert-coderoid) (#33)
Patch release bundling three fixes contributed by @Mert-coderoid:
* #29 — scanner/claude: skip Claude sessions whose per-session JSONL is
missing (closes #27).
* #30 — delete/codex: remove the matching SQLite `threads` row so
deletes survive a rescan (closes #28).
* #32 — scanner/codex: prune orphan `threads` rows whose rollout JSONL
is gone, on every scan (closes #31).
Heads-up for users: Codex scans are no longer strictly read-only — a
walk of `~/.codex/sessions/` builds a live-id set and any `state_*.sqlite`
row whose rollout JSONL is missing is hard-deleted from SQLite. A
walker error with no live ids collected falls back to the legacy
"surface every row" behavior so a transient I/O failure cannot wipe the
table.
Verified locally: cargo test (22 passing), cargo clippy --all-targets
-- -D warnings, cargo fmt --check.1 parent f45ee1f commit fe13c02
3 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments