Draft
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2867 +/- ##
==========================================
+ Coverage 74.83% 74.84% +0.02%
==========================================
Files 484 484
Lines 57789 57909 +120
==========================================
+ Hits 43242 43339 +97
- Misses 11532 11541 +9
- Partials 3015 3029 +14 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cf1ba27 to
5809bb1
Compare
miparnisari
commented
Feb 4, 2026
Contributor
Author
There was a problem hiding this comment.
FYI all this code got moved to avoid circular imports
miparnisari
commented
Feb 4, 2026
|
|
||
| // Watch notifies the caller about changes to the datastore, based on the specified options. | ||
| // | ||
| // The specified options must be built and validated by the caller. |
Contributor
Author
There was a problem hiding this comment.
This is important
b166ea0 to
f7722a5
Compare
f7722a5 to
977db8f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Avoid having to store each individual configuration for Watch API inside every datastore implementation.
Important files to review:
pkg/datastore/datastore.go- new structs and interface methodpkg/cmd/server/server.go- wiring flags down to WatchServerinternal/services/v1/watch.go- passing WatchServer configs to the datastorepkg/cmd/datastore/datastore.goremoval of custom datastore settingsTesting
ds.Watch():fmt.Printf("%+v\n", options)docker-compose up --buildzed context set example localhost:50051 foobar --insecurezed import development/schema.yamlzed watchCRDB
On
main:Memory
On
main:Spanner
On
main:References
Closes #2861