Skip to content

Observe opaque file handles for watcher refresh - #441

Merged
wieslawsoltes merged 1 commit into
mainfrom
feature/file-save-lifecycle-269
Sep 18, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
feature/file-save-lifecycle-269

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

Unchanged VS Code silently skips HTMLFileSystemProvider.watch() when FileSystemObserver is absent. This adds a browser-shaped observer over existing opaque file and directory grants, with bounded non-overlapping 250 ms snapshots, recursive traversal caps, appeared/disappeared/modified/errored records, and unobserve/disconnect cleanup.

The implementation unblocks the local watcher boundary in #252 and the external-edit/save reconciliation path in #269. It does not expose native paths or add a VS Code shim.

Closes #438

Validation debt: current implementation-only priority explicitly skips tests, benchmarks, packaged acceptance, and CI waiting. #438 records the Chrome/WPT, native lifecycle, VS Code product, and performance gates that remain to be run.

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.

Observe opaque file handles for VS Code watcher refresh

1 participant