feat(wfe-buildkit): rewrite to use own generated protos (tonic 0.14)

Replaced third-party buildkit-client git dependency with
wfe-buildkit-protos generated from official moby/buildkit protos.

Direct ControlClient gRPC calls: SolveRequest with frontend attrs,
exporters, cache options. Daemon-local context paths for builds
(session protocol for remote transfer is TODO).

Both proto crates now use tonic 0.14 / prost 0.14 — no transitive
dependency conflicts. 95 combined tests, 85.6% region coverage.
This commit is contained in:
2026-03-26 12:43:02 +00:00
parent 2f861a9192
commit 0317c6adea
3 changed files with 239 additions and 255 deletions

View File

@@ -16,9 +16,9 @@ async-trait = { workspace = true }
tracing = { workspace = true }
thiserror = { workspace = true }
regex = { workspace = true }
buildkit-client = { git = "https://github.com/AprilNEA/buildkit-client.git", branch = "master", default-features = false }
tonic = "0.12"
tower = "0.4"
wfe-buildkit-protos = { path = "../wfe-buildkit-protos" }
tonic = "0.14"
tower = { version = "0.4", features = ["util"] }
hyper-util = { version = "0.1", features = ["tokio"] }
uuid = { version = "1", features = ["v4"] }
tokio-stream = "0.1"