Skip to content

refactor: move watcher suppression into document session - #277

Merged
alecdotdev merged 1 commit into
alecdotdev:masterfrom
PathGao:agent/extract-document-watcher-session
Jul 30, 2026
Merged

refactor: move watcher suppression into document session#277
alecdotdev merged 1 commit into
alecdotdev:masterfrom
PathGao:agent/extract-document-watcher-session

Conversation

@PathGao

@PathGao PathGao commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • move self-write grace tracking and watcher reload decisions into documentSession
  • keep the window event subscription and actual document reload in MarkdownViewer
  • preserve expired-marker cleanup before a real external reload

Depends on #276. Merge after #276. Close-confirmation ownership remains the final document-session follow-up before rebuilding #225.

Validation

  • npm run check
  • npm test (119 passing)

@PathGao

PathGao commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

@alecdotdev This is the next dependent document-session PR after #276. It centralizes the self-write grace decision while retaining window listener wiring in MarkdownViewer.

@PathGao
PathGao force-pushed the agent/extract-document-watcher-session branch 4 times, most recently from 8a1246c to 7c9e635 Compare July 30, 2026 05:08
@PathGao
PathGao force-pushed the agent/extract-document-watcher-session branch from 7c9e635 to 2c6ae47 Compare July 30, 2026 05:09
@alecdotdev
alecdotdev merged commit 1871a49 into alecdotdev:master Jul 30, 2026
5 checks passed
@PathGao
PathGao deleted the agent/extract-document-watcher-session branch July 30, 2026 06:28
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