Skip to content

feat(drive): watch exclude rule changes - #98

Merged
tempofeng merged 3 commits into
mainfrom
codex/drive-exclude-watch
Jul 24, 2026
Merged

feat(drive): watch exclude rule changes#98
tempofeng merged 3 commits into
mainfrom
codex/drive-exclude-watch

Conversation

@pocketsharkk

Copy link
Copy Markdown
Collaborator

WSPC Todo

  • Ticket: Trigger full Drive sync when exclude rules change (tod_01KY997J59TQN9YRAQP6GSJCGZ)
  • Source todo: Add Drive sync exclude rules (tod_01KY981JSZ4PQ234RX32ANKXRK)
  • Spec: WSPC Add Drive sync exclude rules (tod_01KY981JSZ4PQ234RX32ANKXRK)

Summary

  • let chokidar traverse .wspc-drive while forwarding only ignore add, change, and unlink events
  • schedule ignore changes as sticky Full Reconciliations across debounce ordering and active syncs
  • preserve suppression for other internal files and incremental behavior for ordinary local events

Test Plan

  • npm test -- test/handwritten/drive/watch.test.ts
  • npm run typecheck
  • CHOKIDAR_USEPOLLING=1 env -u NO_COLOR TERM=xterm-256color npm test
  • npm run build
  • git diff --check

@tempofeng
tempofeng marked this pull request as ready for review July 24, 2026 06:19
@tempofeng
tempofeng merged commit 1b37dd5 into main Jul 24, 2026
2 checks passed
@tempofeng
tempofeng deleted the codex/drive-exclude-watch branch July 24, 2026 06:19
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.

2 participants