Skip to content

chore: regenerate (update) proto #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 5, 2025
Merged

chore: regenerate (update) proto #66

merged 2 commits into from
May 5, 2025

Conversation

rustatian
Copy link
Member

@rustatian rustatian commented May 5, 2025

Reason for This PR

  • Update deps, proto, third-party proto

Description of Changes

  • Regenerate proto

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT license.

PR Checklist

[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]

  • All commits in this PR are signed (git commit -s).
  • The reason for this PR is clearly provided (issue no. or explanation).
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this PR.
  • Any user-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.

Summary by CodeRabbit

  • Chores
    • Updated internal plugin versions for improved compatibility and performance. No visible changes to end-user features.

rustatian added 2 commits May 5, 2025 16:34
Signed-off-by: Valery Piashchynski <[email protected]>
Signed-off-by: Valery Piashchynski <[email protected]>
@rustatian rustatian requested a review from Copilot May 5, 2025 14:36
@rustatian rustatian self-assigned this May 5, 2025
Copy link

coderabbitai bot commented May 5, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

The buf.gen.yaml configuration file was updated to use newer versions of the protobuf Go plugin (from v1.34.2 to v1.36.6) and the gRPC Go plugin (from v1.4.0 to v1.5.1). No changes were made to the output directory or plugin options. There were no alterations to the declarations of exported or public entities.

Changes

File(s) Change Summary
buf.gen.yaml Updated protobuf Go plugin version to v1.36.6 and gRPC Go plugin version to v1.5.1.

Poem

Hopping along, I tweak the code,
Plugins updated, down the road.
New versions here, the old ones gone,
The config shines, the work is done.
With every leap, the project grows—
A rabbit’s joy, as progress shows! 🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7137108 and 5b6c456.

⛔ Files ignored due to path filters (70)
  • build/applogger/v1/applogger.pb.go is excluded by !**/*.pb.go
  • build/centrifugo/api/v1/api.pb.go is excluded by !**/*.pb.go
  • build/centrifugo/api/v1/api_grpc.pb.go is excluded by !**/*.pb.go
  • build/centrifugo/proxy/v1/proxy.pb.go is excluded by !**/*.pb.go
  • build/centrifugo/proxy/v1/proxy_grpc.pb.go is excluded by !**/*.pb.go
  • build/common/v1/grpc_status.pb.go is excluded by !**/*.pb.go
  • build/google/api/annotations.pb.go is excluded by !**/*.pb.go
  • build/google/api/http.pb.go is excluded by !**/*.pb.go
  • build/google/protobuf/any.pb.go is excluded by !**/*.pb.go
  • build/google/protobuf/descriptor.pb.go is excluded by !**/*.pb.go
  • build/google/protobuf/duration.pb.go is excluded by !**/*.pb.go
  • build/google/protobuf/empty.pb.go is excluded by !**/*.pb.go
  • build/google/protobuf/struct.pb.go is excluded by !**/*.pb.go
  • build/google/protobuf/timestamp.pb.go is excluded by !**/*.pb.go
  • build/google/protobuf/wrappers.pb.go is excluded by !**/*.pb.go
  • build/http/v1/http.pb.go is excluded by !**/*.pb.go
  • build/jobs/v1/jobs.pb.go is excluded by !**/*.pb.go
  • build/kv/v1/kv.pb.go is excluded by !**/*.pb.go
  • build/lock/v1beta1/lock.pb.go is excluded by !**/*.pb.go
  • build/service/v1/service.pb.go is excluded by !**/*.pb.go
  • build/status/v1/status.pb.go is excluded by !**/*.pb.go
  • build/status/v1beta1/status.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/activity/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/batch/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/command/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/common/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/deployment/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/batch_operation.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/command_type.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/common.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/deployment.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/event_type.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/failed_cause.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/namespace.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/nexus.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/query.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/reset.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/schedule.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/task_queue.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/update.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/enums/v1/workflow.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/errordetails/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/export/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/failure/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/filter/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/history/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/namespace/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/nexus/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/operatorservice/v1/request_response.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/operatorservice/v1/service.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/operatorservice/v1/service_grpc.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/protocol/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/query/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/replication/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/rules/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/schedule/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/sdk/v1/enhanced_stack_trace.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/sdk/v1/task_complete_metadata.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/sdk/v1/user_metadata.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/sdk/v1/workflow_metadata.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/taskqueue/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/update/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/version/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/workflow/v1/message.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/workflowservice/v1/request_response.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/workflowservice/v1/service.pb.go is excluded by !**/*.pb.go
  • build/temporal/api/workflowservice/v1/service_grpc.pb.go is excluded by !**/*.pb.go
  • build/temporal/v1/temporal.pb.go is excluded by !**/*.pb.go
  • build/websockets/v1/websockets.pb.go is excluded by !**/*.pb.go
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • buf.gen.yaml (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@rustatian rustatian merged commit e409df4 into master May 5, 2025
1 check was pending
@rustatian rustatian deleted the chore/update-proto branch May 5, 2025 14:36
Copy link

@Copilot 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 regenerates the protocol buffer files to update the dependency from protoc‑gen‑go v1.34.2 to v1.36.6, ensuring that the auto‑generated code reflects the latest runtime conventions. Key changes include updated version numbers in comments, reorganization of struct field order and tags (including map field tags), and modifications in raw descriptor compression using the unsafe package.

Reviewed Changes

Copilot reviewed 61 out of 73 changed files in this pull request and generated no comments.

File Description
build/status/v1beta1/status.pb.go Updated generator version and removal of conditional exporter functions based on UnsafeEnabled.
build/service/v1/service.pb.go Updated generator version and adjusted protobuf tag for map field “Env”.
build/google/protobuf/wrappers.pb.go Updated generator version and modified raw descriptor compression using unsafe.Slice.
Other proto files (status, lock, kv, jobs, http, etc.) Similar version updates and minor reordering of fields consistent with protoc‑gen‑go v1.36.6.
Files not reviewed (12)
  • build/google/protobuf/empty.pb.go: Language not supported
  • build/google/api/annotations.pb.go: Language not supported
  • build/centrifugo/proxy/v1/proxy_grpc.pb.go: Language not supported
  • build/centrifugo/api/v1/api_grpc.pb.go: Language not supported
  • build/applogger/v1/applogger.pb.go: Language not supported
  • buf.gen.yaml: Language not supported
  • build/google/protobuf/timestamp.pb.go: Language not supported
  • build/google/protobuf/struct.pb.go: Language not supported
  • build/google/protobuf/duration.pb.go: Language not supported
  • build/google/protobuf/any.pb.go: Language not supported
  • build/google/api/http.pb.go: Language not supported
  • build/common/v1/grpc_status.pb.go: Language not supported
Comments suppressed due to low confidence (3)

build/status/v1beta1/status.pb.go:158

  • [nitpick] The exporter functions conditioned on 'protoimpl.UnsafeEnabled' have been removed. Please confirm that this change is expected for protoc‑gen‑go v1.36.6 and does not negatively impact performance or debugging.
if !protoimpl.UnsafeEnabled { ... }

build/service/v1/service.pb.go:84

  • [nitpick] The removal of ',proto3' from the protobuf key/value tags for the 'Env' map field differs from the previous version. Please verify that this change is intentional and aligns with the updated proto generator requirements.
Env             map[string]string      `protobuf:"bytes,6,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`

build/google/protobuf/wrappers.pb.go:577

  • [nitpick] The updated raw descriptor compression now uses 'unsafe.Slice' for constructing the byte slice. Please ensure that this change is compatible with your deployment environment, especially if there are any restrictions on the use of the unsafe package.
file_google_protobuf_wrappers_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_protobuf_wrappers_proto_rawDesc), len(file_google_protobuf_wrappers_proto_rawDesc)))

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.

1 participant