Skip to content

[codex] fix watcher stale root cleanup#666

Open
pcristin wants to merge 3 commits into
DeusData:mainfrom
pcristin:codex/286-stale-root-cleanup
Open

[codex] fix watcher stale root cleanup#666
pcristin wants to merge 3 commits into
DeusData:mainfrom
pcristin:codex/286-stale-root-cleanup

Conversation

@pcristin

@pcristin pcristin commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Track consecutive missing project roots in the watcher.
  • Preserve projects through transient missing-root checks, then prune after three consecutive misses.
  • Delete cached project DB/WAL/SHM files when sustained absence is confirmed.
  • Add a regression test covering transient miss preservation and sustained cleanup.

Fixes #286.

Validation

  • make -f Makefile.cbm build/c/test-runner passed.
  • git diff --check passed.

pcristin added 3 commits June 28, 2026 14:26
Signed-off-by: pcristin <xxxokzxxx@protonmail.com>
Signed-off-by: pcristin <xxxokzxxx@protonmail.com>
@pcristin pcristin marked this pull request as ready for review June 28, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Automatic deletion of project when underlying folder is deleted

1 participant