Skip to content

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

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

chore(tests): drive RPC over goridge net/rpc again#226
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

Reverts the test harness from Connect-RPC back to RoadRunner’s goridge net/rpc transport for exercising the Jobs/KV plugin RPC surfaces, aligning tests with the org-wide Connect-RPC revert while keeping the current api-go message set.

Changes:

  • Removed native Connect-RPC smoke tests for KV and Jobs.
  • Updated KV/Jobs integration tests to invoke RPC methods via goridge net/rpc (client.Call) instead of connectrpc.com/connect.
  • Updated tests module dependencies to point at revert-branch pseudo-versions and removed Connect-RPC-related deps.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/kv_native_test.go Removes KV Connect-RPC smoke test.
tests/kv_memory_test.go Switches KV calls from Connect-RPC client methods to goridge net/rpc calls.
tests/jobs_native_test.go Removes Jobs Connect-RPC smoke test.
tests/jobs_memory_test.go Switches Jobs calls from Connect-RPC client methods to goridge net/rpc calls.
tests/helpers/helpers.go Replaces Connect-RPC clients with goridge net/rpc dialing and helper calls.
tests/go.mod Drops Connect-RPC deps; adds/pins goridge and revert-branch pseudo-versions for plugin deps.
tests/go.sum Removes Connect-RPC-related sums; updates sums for pinned pseudo-versions.

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

Comment thread tests/helpers/helpers.go
Comment thread tests/helpers/helpers.go
The reply value st is allocated locally as &jobsProto.Stats{} and net/rpc
decodes into it without reassigning, so require.NotNil(t, st) is always
true. The following require.NotEmpty(t, st.GetStats()) is the meaningful
check.

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

coderabbitai Bot commented Jul 14, 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: 44 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: 0c05e8d0-f0dc-48dd-ba1b-e1d303866099

📥 Commits

Reviewing files that changed from the base of the PR and between c6e918a and 55952c5.

⛔ Files ignored due to path filters (1)
  • tests/go.sum is excluded by !**/*.sum
📒 Files selected for processing (6)
  • tests/go.mod
  • tests/helpers/helpers.go
  • tests/jobs_memory_test.go
  • tests/jobs_native_test.go
  • tests/kv_memory_test.go
  • tests/kv_native_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 028ad26 into master Jul 15, 2026
7 of 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