Watch imported Bazelrc files outside the workspace #32

Open
opened 2026-09-21 01:14:22 +00:00 by barrettruth · 0 comments
Owner

Original issue: source #33
Original author: barrettruth
Original date: 2026-08-31T08:50:29Z

Bazel 8.7 imports can resolve to files outside the workspace root, and the configuration snapshot can load those files. The recursive workspace watcher cannot observe later edits outside its root, so the active graph refreshes only after another configuration invalidation or a server restart.

A future implementation should derive a bounded set of external watches from the published import graph, replace that set when the graph changes, coalesce events through the existing configuration wake, and preserve the watcher as the single disk-state writer.

> Original issue: source #33 > Original author: `barrettruth` > Original date: 2026-08-31T08:50:29Z Bazel 8.7 imports can resolve to files outside the workspace root, and the configuration snapshot can load those files. The recursive workspace watcher cannot observe later edits outside its root, so the active graph refreshes only after another configuration invalidation or a server restart. A future implementation should derive a bounded set of external watches from the published import graph, replace that set when the graph changes, coalesce events through the existing configuration wake, and preserve the watcher as the single disk-state writer.
Sign in to join this conversation.
No description provided.