Skip to content

chore(tests): drive RPC over goridge net/rpc again - #130

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

chore(tests): drive RPC over goridge net/rpc again#130
rustatian merged 2 commits into
masterfrom
revert/connectrpc

Conversation

@rustatian

Copy link
Copy Markdown
Member

Part of the org-wide Connect-RPC revert: test helpers drive the RPC surface over goridge net/rpc again, keeping the current api-go message set. Plugin deps in tests/go.mod are pinned to the revert branches (pseudo-versions to be replaced by tags). No changes outside tests/.

Signed-off-by: Valery Piashchynski <piashchynski.valery@gmail.com>
Copilot AI review requested due to automatic review settings July 14, 2026 21:32

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 updates the Go test harness to drive the KV RPC surface over goridge net/rpc again (instead of Connect-RPC), while keeping the current api-go message types, as part of the org-wide Connect-RPC revert.

Changes:

  • Replaced Connect-RPC HTTP/2 client usage with a goridge net/rpc client in the KV storage plugin test.
  • Updated test module dependencies to drop Connect-related deps and pin RoadRunner components (and goridge) to revert-branch pseudo-versions.
  • Adjusted test assertions to work with direct protobuf response structs (rather than Connect response wrappers).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
tests/storage_plugin_test.go Switches test RPC calls from Connect client methods to goridge net/rpc client.Call(...) with protobuf request/response types.
tests/go.mod Removes Connect-related dependencies, adds goridge, and pins RoadRunner deps to pseudo-versions for the revert.
tests/go.sum Updates checksums to match removed Connect deps and newly pinned/added dependencies.

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

Comment thread tests/storage_plugin_test.go Outdated
@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.00%. Comparing base (794a4ef) to head (29ffeaf).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #130   +/-   ##
=======================================
  Coverage   65.00%   65.00%           
=======================================
  Files           1        1           
  Lines          20       20           
=======================================
  Hits           13       13           
  Misses          4        4           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Use t.Fatal instead of assert.NoError in newRPCClient so a persistently
failing dial aborts the helper cleanly instead of proceeding with a nil
conn and panicking in the rpc client input goroutine.

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

coderabbitai Bot commented Jul 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@rustatian, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 28 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5f80bafe-94e2-45c8-9a03-b5952bd3b717

📥 Commits

Reviewing files that changed from the base of the PR and between 794a4ef and 29ffeaf.

⛔ Files ignored due to path filters (1)
  • tests/go.sum is excluded by !**/*.sum
📒 Files selected for processing (2)
  • tests/go.mod
  • tests/storage_plugin_test.go
✨ 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.

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