Skip to content

fix(deps): bump github.com/opentdf/platform/protocol/go from 0.21.0 to 0.22.0 in /sdk and /service#3237

Open
alkalescent wants to merge 2 commits intomainfrom
bump-protocol-go-in-sdk
Open

fix(deps): bump github.com/opentdf/platform/protocol/go from 0.21.0 to 0.22.0 in /sdk and /service#3237
alkalescent wants to merge 2 commits intomainfrom
bump-protocol-go-in-sdk

Conversation

@alkalescent
Copy link
Copy Markdown
Contributor

@alkalescent alkalescent commented Apr 1, 2026

Proposed Changes

Checklist

  • I have added or updated unit tests
  • I have added or updated integration tests (if appropriate)
  • I have added or updated documentation

Testing Instructions

Summary by CodeRabbit

  • Chores
    • Updated Go dependency version to v0.22.0 across SDK and service modules to ensure compatibility with upstream protocol changes.
    • No API or public interfaces were modified; this is a dependency-only update with low review impact.

@alkalescent alkalescent requested review from a team as code owners April 1, 2026 16:16
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a routine dependency update for the OpenTDF protocol library used within the SDK. The change ensures that the project utilizes the latest version of the protocol definitions, maintaining compatibility and incorporating any recent improvements or fixes from the upstream repository.

Highlights

  • Dependency Update: Updated the github.com/opentdf/platform/protocol/go dependency from version 0.21.0 to 0.22.0 in the sdk module.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.


The version number climbs up high, / A simple bump to satisfy, / The protocol needs to be new, / To keep the code in sync with you.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions github-actions bot added the comp:sdk A software development kit, including library, for client applications and inter-service communicati label Apr 1, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 1, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a3f24704-fa1f-4fbb-888f-b56363cff570

📥 Commits

Reviewing files that changed from the base of the PR and between fccb67b and d5041f9.

⛔ Files ignored due to path filters (1)
  • service/go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • service/go.mod

📝 Walkthrough

Walkthrough

The Go module dependency github.com/opentdf/platform/protocol/go was updated from v0.21.0 to v0.22.0 in sdk/go.mod and service/go.mod; no other code, exported declarations, or module metadata were changed.

Changes

Cohort / File(s) Summary
Dependency Update
sdk/go.mod, service/go.mod
Bumped github.com/opentdf/platform/protocol/go from v0.21.0v0.22.0 in both go.mod files; no other edits.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested labels

size/m

Suggested reviewers

  • jentfoo
  • c-r33d

Poem

🐰 A tiny hop, a tidy little tune,
From v0.21 to v0.22 I swoon,
Modules updated, pathways bright,
I nibble deps and dance all night,
✨🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: bumping a dependency version in two modules.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bump-protocol-go-in-sdk

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

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Benchmark results, click to expand

Benchmark authorization.GetDecisions Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 199.310852ms

Benchmark authorization.v2.GetMultiResourceDecision Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 106.05584ms

Benchmark Statistics

Name № Requests Avg Duration Min Duration Max Duration

Bulk Benchmark Results

Metric Value
Total Decrypts 100
Successful Decrypts 100
Failed Decrypts 0
Total Time 402.161682ms
Throughput 248.66 requests/second

TDF3 Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 42.162053142s
Average Latency 419.270422ms
Throughput 118.59 requests/second

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the github.com/opentdf/platform/protocol/go dependency in sdk/go.mod and sdk/go.sum from v0.21.0 to v0.22.0. I have no feedback to provide.

@alkalescent alkalescent requested a review from a team as a code owner April 1, 2026 16:31
@alkalescent alkalescent changed the title fix(deps): bump github.com/opentdf/platform/protocol/go from 0.21.0 to 0.22.0 in /sdk fix(deps): bump github.com/opentdf/platform/protocol/go from 0.21.0 to 0.22.0 in /sdk and /service Apr 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Benchmark results, click to expand

Benchmark authorization.GetDecisions Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 191.442439ms

Benchmark authorization.v2.GetMultiResourceDecision Results:

Metric Value
Approved Decision Requests 1000
Denied Decision Requests 0
Total Time 97.288078ms

Benchmark Statistics

Name № Requests Avg Duration Min Duration Max Duration

Bulk Benchmark Results

Metric Value
Total Decrypts 100
Successful Decrypts 100
Failed Decrypts 0
Total Time 386.411235ms
Throughput 258.79 requests/second

TDF3 Benchmark Results:

Metric Value
Total Requests 5000
Successful Requests 5000
Failed Requests 0
Concurrent Requests 50
Total Time 41.036037678s
Average Latency 408.636498ms
Throughput 121.84 requests/second

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:sdk A software development kit, including library, for client applications and inter-service communicati size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants