Skip to content

chore: upgrade notify to 8.2 and harden theme watching - #3320

Merged
huacnlee merged 3 commits into
longbridge:mainfrom
orielhaim:main
Sep 30, 2026
Merged

huacnlee merged 3 commits into
longbridge:mainfrom
orielhaim:main

Conversation

@orielhaim

Copy link
Copy Markdown
Contributor

Upgrades notify from 7.0 to 8.2 and improves theme directory watching

Theme changes are now coalesced without blocking the notify thread, reloads handle need_rescan() and EventKind::Any, watcher errors are logged, and the watcher now matches the non-recursive theme loader

Checklist

  • Reviewed the changes and confirmed they are accurate.
  • Passed cargo run for story tests related to the changes.
  • Tested relevant platforms.

orielhaim and others added 3 commits September 30, 2026 03:26
Restore mutation event filtering so reading JSON themes cannot trigger another reload, and watched-directory renames still invalidate the registry. Keep nonblocking coalescing, notify 8.2, and rescan handling; add focused regression tests.

Assisted-by: OpenAI Codex
Keep the original watcher callback structure and limit the correction to its event predicate. Remove the helper and in-file tests; verify the exact inline predicate with the isolated notify integration harness.

Assisted-by: OpenAI Codex
@huacnlee
huacnlee enabled auto-merge (squash) September 30, 2026 03:03
@huacnlee
huacnlee merged commit 201b55a into longbridge:main Sep 30, 2026
12 checks passed
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.

3 participants