[CI/Build][Rust Frontend] Retire Buf schema publishing (#57046)

Co-authored-by: OpenAI Codex <noreply@openai.com> Co-authored-by: Bugen Zhao <i@bugenzhao.com> Signed-off-by: Julien Darve <jdarve@NVIDIA.com>

JulienDarve committed Sep 15, 2026 at 20:02 UTC fdfcbbcac79b0d8134a3a447f2c33001f5de07c1
4 files changed +5 -48
.github/workflows/buf.yml
-29
@@ -5,12 +5,6 @@ on:
5 paths:
6 - "rust/proto/**"
7 - ".github/workflows/buf.yml"
8 - push:
9 - tags:
10 - - "v*"
11 - schedule:
12 - - cron: "0 8 * * *"
13 - workflow_dispatch:
8
9 permissions:
10 contents: read
@@ -21,37 +15,14 @@ concurrency:
15
16 jobs:
17 proto:
24 - if: github.repository_owner == 'vllm-project'
18 runs-on: ubuntu-latest
19 steps:
20 - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
28 - with:
29 - fetch-depth: 0
21 - uses: bufbuild/buf-action@8c6a16e16f12ba20b6470afa9c2ba9b5ba8c97c3 # v1.5.0
22 with:
23 version: 1.72.0
24 input: rust/proto
34 - token: ${{ github.repository == 'vllm-project/vllm' && github.event_name != 'pull_request' && secrets.BUF_TOKEN || '' }}
25 format: false
26 breaking: false
27 pr_comment: false
28 push: false
39 - - name: Publish nightly schema
40 - if: github.repository == 'vllm-project/vllm' && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
41 - run: >-
42 - buf push rust/proto
43 - --create
44 - --create-default-label main
45 - --create-visibility public
46 - --label nightly
47 - --source-control-url "${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}"
48 - - name: Publish release schema
49 - if: github.repository == 'vllm-project/vllm' && github.event_name == 'push'
50 - run: >-
51 - buf push rust/proto
52 - --create
53 - --create-default-label main
54 - --create-visibility public
55 - --label main
56 - --label "${GITHUB_REF_NAME}"
57 - --source-control-url "${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}"
rust/proto/README.md
+5 -10
@@ -2,14 +2,10 @@
2
3 This directory is the canonical source for vLLM's gRPC schema.
4
5 -The schema is published to `buf.build/vllm-project/vllm`:
6 -
7 -- A daily workflow publishes the latest Git `main` schema to the `nightly` label.
8 -- The workflow can be run manually to retry nightly publication.
9 -- Tags matching `v*` update the Buf `main` label and publish the corresponding release label.
10 -- Buf commits and generated SDK versions are immutable and can be pinned by consumers.
11 -
12 -Repository setup requires a `BUF_TOKEN` GitHub Actions secret with permission to create and push the public Buf module. Register the Prost and Tonic generated SDKs for the `main` and `nightly` labels once so subsequent pushes generate them automatically.
5 +Schema updates are no longer published to the Buf Schema Registry. Rust consumers
6 +should use `vllm-proto` from crates.io; consumers in other languages can generate
7 +bindings from the `.proto` files in this directory. Buf still builds and lints
8 +the schemas on pull requests, including on forks.
9
10 ## Rust crate
11
@@ -47,8 +43,7 @@ change PR. This check becomes available after the first manual publication.
43 The `proto-crate.yml` workflow checks that the tag matches the crate version,
44 verifies the package, and publishes it to crates.io.
45
50 -Use `proto-v*` tags so they do not trigger Buf's `v*` release workflow. There is
51 -no scheduled crate publication. Pull requests and manual workflow runs only
46 +There is no scheduled crate publication. Pull requests and manual workflow runs only
47 verify packaging, including on forks. Retry a failed release by rerunning its
48 tag workflow; crates.io versions cannot be overwritten.
49
rust/proto/buf.md deleted
-8
@@ -1,8 +0,0 @@
1 -# vLLM gRPC API
2 -
3 -Protocol definitions for the optional gRPC server exposed by the vLLM Rust frontend.
4 -
5 -- `Inference` provides unary and streaming generation.
6 -- `Control` provides discovery and request control.
7 -
8 -The `nightly` label is updated daily from vLLM's `main` branch. The `main` label tracks the latest vLLM release, and version labels match tags such as `v0.27.0`. Pin a Buf commit or generated SDK version for reproducible builds.
rust/proto/buf.yaml
-1
@@ -1,7 +1,6 @@
1 version: v2
2 modules:
3 - path: .
4 - name: buf.build/vllm-project/vllm
4 lint:
5 use:
6 - MINIMAL