Skip to content

add caching target#98

Merged
raphael-goetz merged 8 commits into
mainfrom
#97-caching-target
May 23, 2026
Merged

add caching target#98
raphael-goetz merged 8 commits into
mainfrom
#97-caching-target

Conversation

@raphael-goetz
Copy link
Copy Markdown
Contributor

Resolves: #97

Copilot AI review requested due to automatic review settings May 22, 2026 15:35
@raphael-goetz raphael-goetz requested a review from maximjsx May 22, 2026 15:35
Copy link
Copy Markdown
Contributor

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

Adds a new persistence/caching selector to the public gRPC/protobuf API so callers can target permanent storage vs cached storage, and updates the Go SDK’s generated protobuf bindings accordingly.

Changes:

  • Introduces PersistanceTarget enum intended to distinguish PERMANENT vs CACHED behavior.
  • Adds optional target fields to Object, QueryRequest, and GetRequest.
  • Updates generated Go protobuf code (api.pb.go) to include the new enum and fields.

Reviewed changes

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

File Description
proto/v1/api.proto Adds the new enum and target fields to request/object messages.
sdk/go/v1/api.pb.go Regenerates/updates Go protobuf bindings to reflect the new enum and fields.
Files not reviewed (1)
  • sdk/go/v1/api.pb.go: Language not supported

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

Comment thread proto/v1/api.proto
Comment thread proto/v1/api.proto
Comment thread proto/v1/api.proto Outdated
Comment thread proto/v1/api.proto
Comment thread sdk/go/v1/api.pb.go
Comment thread sdk/go/v1/api.pb.go
Comment thread sdk/go/v1/api.pb.go
Comment thread proto/v1/api.proto Outdated
raphael-goetz and others added 4 commits May 22, 2026 17:43
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
Comment thread proto/v1/api.proto Outdated
Comment thread proto/v1/api.proto Outdated
Co-authored-by: Raphael Götz <52959657+raphael-goetz@users.noreply.github.com>
@raphael-goetz raphael-goetz merged commit 1db2dd6 into main May 23, 2026
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.

Add Caching Target

3 participants