Skip to content

revert: drop Connect-RPC service definitions, keep DTO messages#76

Merged
rustatian merged 2 commits into
masterfrom
revert/connectrpc
Jul 15, 2026
Merged

revert: drop Connect-RPC service definitions, keep DTO messages#76
rustatian merged 2 commits into
masterfrom
revert/connectrpc

Conversation

@rustatian

@rustatian rustatian commented Jul 14, 2026

Copy link
Copy Markdown
Member

The RPC transport returns to goridge/net-rpc; the message set introduced alongside Connect-RPC stays. Removes the service{} blocks (and service-only proto files), restores the pre-connect buf lint config, and brings in the centrifugo go_package fix from the abandoned temporal branch.

Summary by CodeRabbit

  • Breaking Changes
    • Removed several legacy RPC service contracts for logging, HTTP proxying, jobs, key-value storage, locks, metrics, reset, service management, status, and TCP operations.
    • Existing clients using these endpoints must migrate to supported interfaces.
  • API Updates
    • Informer worker operations now return an explicit success status.
    • Updated generated-code package locations for Centrifugo APIs.
  • Validation
    • Linting now rejects comment-based rule suppression.

The RPC transport returns to goridge/net-rpc; the api-go message set stays.
Remove the service{} blocks (and service-only proto files) added for
Connect-RPC, restore the pre-connect buf lint config.

Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 98ff937b-6267-4e39-9dd0-f54f59984392

📥 Commits

Reviewing files that changed from the base of the PR and between 826600e and 9b17f32.

📒 Files selected for processing (14)
  • buf.yaml
  • roadrunner/api/applogger/v2/service.proto
  • roadrunner/api/centrifugo/api/v1/api.proto
  • roadrunner/api/centrifugo/proxy/v1/proxy.proto
  • roadrunner/api/http/v2/service.proto
  • roadrunner/api/informer/v1/service.proto
  • roadrunner/api/jobs/v2/service.proto
  • roadrunner/api/kv/v2/service.proto
  • roadrunner/api/lock/v1/service.proto
  • roadrunner/api/metrics/v1/service.proto
  • roadrunner/api/resetter/v1/service.proto
  • roadrunner/api/service/v1/service_rpc.proto
  • roadrunner/api/status/v2/service.proto
  • roadrunner/api/tcp/v1/service.proto
💤 Files with no reviewable changes (11)
  • roadrunner/api/status/v2/service.proto
  • roadrunner/api/service/v1/service_rpc.proto
  • roadrunner/api/lock/v1/service.proto
  • roadrunner/api/http/v2/service.proto
  • roadrunner/api/kv/v2/service.proto
  • roadrunner/api/jobs/v2/service.proto
  • roadrunner/api/metrics/v1/service.proto
  • roadrunner/api/informer/v1/service.proto
  • roadrunner/api/tcp/v1/service.proto
  • roadrunner/api/resetter/v1/service.proto
  • roadrunner/api/applogger/v2/service.proto

📝 Walkthrough

Walkthrough

The PR updates Buf lint configuration, changes two Centrifugo Go package paths, removes multiple obsolete protobuf gRPC service definitions, and adds an explicit Informer response message.

Changes

API contract cleanup

Layer / File(s) Summary
Buf module and lint policy
buf.yaml
Buf modules include the API and third-party paths; comment-based lint ignores are disallowed while existing path exclusions remain.
Go package generation paths
roadrunner/api/centrifugo/api/v1/api.proto, roadrunner/api/centrifugo/proxy/v1/proxy.proto
Centrifugo APIs now use fully qualified Go module paths with explicit package aliases.
gRPC service and response declarations
roadrunner/api/*/service.proto, roadrunner/api/service/v1/service_rpc.proto
AppLogger, HTTP, Jobs, KV, Lock, Metrics, Resetter, Service Manager, Status, and TCP service contracts are removed; Informer defines Response { bool ok = 1; } for worker operations.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is missing the repository's required template sections, including reason, change description, license acceptance, and checklist. Rewrite the PR description using the required template and fill in the reason, changes, license acceptance, and checklist items.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the main change: reverting Connect-RPC service definitions while keeping DTO messages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch revert/connectrpc

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

Comment @coderabbitai help to get the list of available commands.

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 PR reverts the API surface away from Connect-RPC by removing protobuf service definitions (and service-only proto files), while retaining the DTO/message protos used by consumers. It also restores the prior Buf lint configuration approach and fixes Centrifugo protobuf go_package options to generate correct Go import paths.

Changes:

  • Removed Connect-RPC service blocks from multiple RoadRunner plugin proto files and deleted service-only proto files.
  • Restored pre-Connect Buf lint configuration shape (dropping prior RPC/service-related lint exceptions) and enforced disallow_comment_ignores.
  • Fixed Centrifugo go_package options to use fully-qualified Go module import paths.

Reviewed changes

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

Show a summary per file
File Description
roadrunner/api/tcp/v1/service.proto Removed TCPService RPC service definition, leaving DTO messages.
roadrunner/api/status/v2/service.proto Deleted service-only proto file containing StatusService.
roadrunner/api/service/v1/service_rpc.proto Deleted service-only proto file containing ServiceManager RPCs.
roadrunner/api/resetter/v1/service.proto Removed ResetterService RPC service definition, leaving DTO messages.
roadrunner/api/metrics/v1/service.proto Removed MetricsService RPC service definition, leaving DTO messages.
roadrunner/api/lock/v1/service.proto Deleted service-only proto file containing LockService.
roadrunner/api/kv/v2/service.proto Deleted service-only proto file containing KvService.
roadrunner/api/jobs/v2/service.proto Deleted service-only proto file containing JobsService.
roadrunner/api/informer/v1/service.proto Removed InformerService RPC service definition, leaving DTO messages.
roadrunner/api/http/v2/service.proto Deleted service-only proto file containing HttpProxyService.
roadrunner/api/centrifugo/proxy/v1/proxy.proto Updated go_package to a fully-qualified Go import path.
roadrunner/api/centrifugo/api/v1/api.proto Updated go_package to a fully-qualified Go import path.
roadrunner/api/applogger/v2/service.proto Removed service definition and an now-unneeded import, leaving DTO message(s).
buf.yaml Dropped prior lint exceptions, enabled disallow_comment_ignores, and retained ignore paths.

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

@rustatian rustatian merged commit ab941fb into master Jul 15, 2026
3 checks passed
@rustatian rustatian deleted the revert/connectrpc branch July 15, 2026 17:15
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