Skip to content

remove unnecessary files#8

Merged
tmosleyIII merged 2 commits into
mainfrom
chore/tmosley/remove-stellar-proto
Dec 9, 2025
Merged

remove unnecessary files#8
tmosleyIII merged 2 commits into
mainfrom
chore/tmosley/remove-stellar-proto

Conversation

@tmosleyIII

Copy link
Copy Markdown
Contributor

This pull request primarily updates Go dependencies and removes generated protocol buffer files from the repository. The most significant changes are the upgrade of the Go toolchain and the deletion of generated .pb.go files, which suggests a shift to generating these files at build time or managing them outside of version control.

Key changes include:

Dependency and Toolchain Updates:

  • Upgraded the Go version in go.mod from 1.23.4 to 1.24, and specified the toolchain as go1.24.6. This ensures the project uses a more recent Go toolchain with the latest features and security updates.

Generated Code Cleanup:

  • Removed the generated gRPC client and server code for the consumer service from go/gen/consumer/consumer_grpc.pb.go. This file contained all client/server interface definitions and related gRPC service registration code.
  • Removed the generated protocol buffer code for common flow types from go/gen/flow/v1/common.pb.go, including message definitions for Cursor and ResumeToken.

These changes likely reflect a move to exclude generated files from version control, relying instead on local or CI-time code generation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request removes generated protobuf files from version control and attempts to update the Go toolchain version. The primary goal is to exclude generated code (.pb.go and _grpc.pb.go files) from the repository, shifting the responsibility of code generation to build time or CI pipelines.

Key changes:

  • Adds a .backup proto file for token transfers
  • Attempts to upgrade Go from 1.23.4 to 1.24 with toolchain go1.24.6
  • Removes all generated protobuf Go files from multiple packages

Reviewed changes

Copilot reviewed 14 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
proto/stellar/v1/token_transfers.proto.backup Adds a backup proto file with .backup extension (questionable practice)
go/gen/stellar/v1/token_transfers.pb.go Removes generated protobuf code for stellar token transfers
go/gen/source/* Removes all generated source service protobuf files
go/gen/processor/* Removes all generated processor service protobuf files
go/gen/flow/v1/* Removes all generated flow v1 service protobuf files
go/gen/consumer/* Removes all generated consumer service protobuf files
go.mod Updates Go version to non-existent 1.24 with toolchain go1.24.6
go.sum Adds dependency entry for stellar/go-stellar-sdk

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tmosleyIII tmosleyIII merged commit bd54ee3 into main Dec 9, 2025
1 check passed
@tmosleyIII tmosleyIII deleted the chore/tmosley/remove-stellar-proto branch December 9, 2025 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants