Skip to content

Commit d201e1a

Browse files
committed
refactor: consume common and ai-gateway protos from BSR packages
Remove buf.build/redpandadata/common and buf.build/redpandadata/ai-gateway as explicit inputs from buf.gen.backend.yaml and buf.gen.frontend.yaml. Backend: common types are consumed as pre-built Go packages from the BSR SDK (buf.build/gen/go/redpandadata/common/protocolbuffers/go), matching the pattern used by cloudv2. This eliminates the policymaterializer codegen issue entirely. Frontend: common and ai-gateway types are consumed from BSR npm packages (@buf/redpandadata_common.bufbuild_es, @buf/redpandadata_ai-gateway.bufbuild_es, @buf/redpandadata_ai-gateway.connectrpc_query-es). Only console's own dataplane protos are generated locally.
1 parent 24cd265 commit d201e1a

File tree

97 files changed

+267
-26160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+267
-26160
lines changed

backend/pkg/protogen/redpanda/api/auditlog/v1/options.pb.go

Lines changed: 0 additions & 354 deletions
This file was deleted.

backend/pkg/protogen/redpanda/api/common/v1/errordetails.pb.go

Lines changed: 0 additions & 483 deletions
This file was deleted.

backend/pkg/protogen/redpanda/api/common/v1/kafka_api_key.pb.go

Lines changed: 0 additions & 631 deletions
This file was deleted.

backend/pkg/protogen/redpanda/api/common/v1/linthint.pb.go

Lines changed: 0 additions & 177 deletions
This file was deleted.

backend/pkg/protogen/redpanda/api/common/v1/money.pb.go

Lines changed: 0 additions & 217 deletions
This file was deleted.

0 commit comments

Comments
 (0)