Model Bazelrc configuration views and expansion edges #15

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

Original issue: source #16
Original author: barrettruth
Original date: 2026-08-31T06:07:38Z

Parent: #6

Create one immutable query view over the published workspace graph and current open Bazelrc buffers. It owns command applicability, open-buffer replacement, and source-site lookup instead of repeating those rules across handlers.

The model must retain:

  • the exact name span of each configuration declaration and reference;
  • the owning configuration, or top-level command context, for every --config reference;
  • source order for expansion edges;
  • the document and configuration snapshot identity behind every answer.

Request handlers perform no filesystem work and never load a newer graph than the request snapshot. This issue does not reconstruct a final Bazel command line or external rc layers.

> Original issue: source #16 > Original author: `barrettruth` > Original date: 2026-08-31T06:07:38Z Parent: #6 Create one immutable query view over the published workspace graph and current open Bazelrc buffers. It owns command applicability, open-buffer replacement, and source-site lookup instead of repeating those rules across handlers. The model must retain: - the exact name span of each configuration declaration and reference; - the owning configuration, or top-level command context, for every `--config` reference; - source order for expansion edges; - the document and configuration snapshot identity behind every answer. Request handlers perform no filesystem work and never load a newer graph than the request snapshot. This issue does not reconstruct a final Bazel command line or external rc layers.
barrettruth added this to the v0.2.0 milestone 2026-09-21 01:14:16 +00:00
barrettruth 2026-09-21 01:14:16 +00:00
Sign in to join this conversation.
No description provided.