Draft
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2867 +/- ##
==========================================
+ Coverage 74.83% 74.89% +0.06%
==========================================
Files 484 484
Lines 57789 57900 +111
==========================================
+ Hits 43242 43359 +117
+ Misses 11532 11518 -14
- Partials 3015 3023 +8 ☔ 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
1ea1fd6 to
c6bf415
Compare
c6bf415 to
753a17f
Compare
753a17f to
c96674a
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