Skip to content

Comments

ADR 013: Change proto generation tool to buf#16

Merged
melekes merged 1 commit intomainfrom
mikhail/adr-013-proto-buf-serde
Jun 20, 2025
Merged

ADR 013: Change proto generation tool to buf#16
melekes merged 1 commit intomainfrom
mikhail/adr-013-proto-buf-serde

Conversation

@mzabaluev
Copy link
Contributor

@mzabaluev mzabaluev commented Feb 14, 2024

@mzabaluev mzabaluev added the documentation Improvements or additions to documentation label Feb 14, 2024
@mzabaluev mzabaluev requested a review from romac February 14, 2024 15:39
@mzabaluev mzabaluev marked this pull request as ready for review February 20, 2024 17:46
@melekes melekes requested a review from Copilot May 28, 2025 10:41
@melekes
Copy link
Collaborator

melekes commented May 28, 2025

@romac @greg-szabo are you in favor of switching to buf for generating protos?

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces ADR 013 to switch the proto generation tool to Buf and updates the ADR index to reference the new repository name.

  • Add a new ADR outlining the decision to migrate to Buf for generating Rust bindings.
  • Update the ADR directory README to reflect the cometbft-rs project name.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/architecture/adr-013-proto-buf-serde.md Add ADR 013 detailing the move to Buf with prost, prost-serde, and tonic.
docs/architecture/README.md Update project name in ADR index from tendermint-rs to cometbft-rs.

Comment on lines 3 to +4
This is a location to record all high-level architecture decisions in the
tendermint-rs project.
cometbft-rs project.
Copy link

Copilot AI May 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider merging this line with the previous one to form a complete sentence rather than splitting 'in the' across lines.

Copilot uses AI. Check for mistakes.
@romac
Copy link
Contributor

romac commented May 28, 2025

I don't feel strongly either way, imho we should do whatever makes maintaining them easier.

@melekes
Copy link
Collaborator

melekes commented Jun 19, 2025

merging in a proposed status so we don't lose it.

- expand on reasoning for serde in proto
- mention the pbjson fork
- record the decision on WKTs
@melekes melekes force-pushed the mikhail/adr-013-proto-buf-serde branch from 79c2e68 to 3b1dd70 Compare June 20, 2025 05:58
@melekes melekes merged commit bd98fe0 into main Jun 20, 2025
1 check passed
@melekes melekes deleted the mikhail/adr-013-proto-buf-serde branch June 20, 2025 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants