Skip to content

Conversation

joshua-kim
Copy link
Contributor

@joshua-kim joshua-kim commented Jul 14, 2025

Why this should be merged

We compile our buf modules seprately since the proto module doesn't want to compile stuff with the connect plugin. This PR puts our buf modules under a common directory instead of separate proto and connectproto directories.

How this works

Moves files

How this was tested

CI

Need to be documented in RELEASES.md?

No

@@ -131,7 +131,7 @@ jobs:
- uses: actions/checkout@v4
- uses: bufbuild/buf-action@dfda68eacb65895184c76b9ae522b977636a2c47 #v1.1.4
with:
input: "proto"
Copy link
Contributor Author

@joshua-kim joshua-kim Jul 14, 2025

Choose a reason for hiding this comment

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

Upon making changes to our CI I think there was a miss and we need another github action to run the linter on the connect module as a follow-up to this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Issue: #4084

Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a way to not use a github action for a new linter? Ideally this one should go away in favor of a task that can be executed both locally and in CI.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm - I'm being dumb... our check-generate-protobuf nix task which is already in ci runs linting under the connectproto directory already (which also does run locally).

It's actually unclear to me what this CI step is for - since it doesn't push the buf schema and just runs the linter.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest removing then.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PR: #4189

Signed-off-by: Joshua Kim <[email protected]>
@joshua-kim joshua-kim changed the title refactor buf modules Refactor buf modules Jul 14, 2025
@joshua-kim joshua-kim marked this pull request as ready for review July 14, 2025 18:26
@joshua-kim joshua-kim moved this to In Progress 🏗️ in avalanchego Jul 14, 2025
@joshua-kim
Copy link
Contributor Author

Coreth branch: ava-labs/coreth#1047

@mpignatelli12 mpignatelli12 self-requested a review July 23, 2025 15:03
@joshua-kim joshua-kim moved this from In Progress 🏗️ to Ready 🚦 in avalanchego Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Ready 🚦
Development

Successfully merging this pull request may close these issues.

3 participants