Fetch an unfetched repository from a diagnostic #2

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

Original issue: source #2
Original author: barrettruth
Original date: 2026-08-26T07:00:44Z

Parent: unresolved-label code actions.

The Bazel actor and repository-mapping publication are already online. When a captured resolution state proves that an apparent repository is known but unfetched, offer a lazy code action that invokes the exact bazel fetch needed for that repository.

The operation belongs to the Bazel actor, registers its subprocess before reading it, uses the actor generation for supersession, and refreshes repository and graph state after completion. No request handler invokes Bazel.

> Original issue: source #2 > Original author: `barrettruth` > Original date: 2026-08-26T07:00:44Z Parent: unresolved-label code actions. The Bazel actor and repository-mapping publication are already online. When a captured resolution state proves that an apparent repository is known but unfetched, offer a lazy code action that invokes the exact `bazel fetch` needed for that repository. The operation belongs to the Bazel actor, registers its subprocess before reading it, uses the actor generation for supersession, and refreshes repository and graph state after completion. No request handler invokes Bazel.
Sign in to join this conversation.
No description provided.