Skip to content

Refactor buf modules#4083

Closed
joshua-kim wants to merge 1 commit into
masterfrom
buf-modules
Closed

Refactor buf modules#4083
joshua-kim wants to merge 1 commit into
masterfrom
buf-modules

Conversation

@joshua-kim

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

Copy link
Copy Markdown
Contributor

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

Comment thread .github/workflows/ci.yml
- uses: actions/checkout@v4
- uses: bufbuild/buf-action@dfda68eacb65895184c76b9ae522b977636a2c47 #v1.1.4
with:
input: "proto"

@joshua-kim joshua-kim Jul 14, 2025

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 <20001595+joshua-kim@users.noreply.github.com>
@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
Copy Markdown
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
@github-actions

Copy link
Copy Markdown

This PR has become stale because it has been open for 30 days with no activity. Adding the lifecycle/frozen label will cause this PR to ignore lifecycle events.

@github-actions github-actions Bot added the lifecycle/stale Inactive for 60 days label Sep 21, 2025
@joshua-kim joshua-kim moved this from Ready 🚦 to Backlog 🧊 in avalanchego Oct 27, 2025
@github-actions

Copy link
Copy Markdown

This PR is being closed due to no activity. Please re-open if this needs to be prioritized.

@github-actions github-actions Bot closed this Nov 23, 2025
@github-project-automation github-project-automation Bot moved this from Backlog 🧊 to Done 🎉 in avalanchego Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lifecycle/stale Inactive for 60 days

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants