xcherryio / xcherry

server and main repo of xCherry project
Apache License 2.0
26 stars 1 forks source link

add visibility queries #120

Closed duoertai closed 6 months ago

duoertai commented 6 months ago

Why make this pull request?

[Explain why you are making this pull request and what problem it solves.]

What has changed

[Summarize what components of the repo is updated]

[Link to xdb-apis/sdk-go PRs if it's on top of any API changes]

How to test this pull request?

[If writing Integration test in Golang SDK repo, please provide link to the pull request of Golang SDK Repo]

[It's recommended to write integration test in Golang SDK repo, and enabled in this server repo first, without enabling in the SDK repo. After this PR is merged, enable and merge the integration test in the SDK repo]

[Alternatively if Java/other SDK repo is preferred, then just test locally against server PR. After the server PR is merged, merge the integration test in the SDK repo]

Checklist before merge

[ ] If applicable, merge the xdb-apis/sdk-go PRs to main branch [ ] If applicable, merge the xdb-apis/xdb-apis PRs to main branch [ ] Update go.mod to use the commitID of the main branches for xdb-apis/sdk-go

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 4.52962% with 274 lines in your changes are missing coverage. Please review.

Project coverage is 61.38%. Comparing base (f93c258) to head (88c24e5).

:exclamation: Current head 88c24e5 differs from pull request most recent head 1f6d894. Consider uploading reports for the commit 1f6d894 to get more accurate results

Files Patch % Lines
persistence/visibility/visibility_store.go 0.00% 118 Missing :warning:
extensions/postgres/non_transactional.go 0.00% 85 Missing :warning:
service/api/service_impl.go 26.66% 22 Missing :warning:
persistence/data_models/pagination_token_json.go 0.00% 18 Missing :warning:
service/api/gin_handler.go 10.52% 17 Missing :warning:
persistence/data_models/data_models_enums.go 0.00% 14 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #120 +/- ## ========================================== - Coverage 63.92% 61.38% -2.54% ========================================== Files 87 88 +1 Lines 6661 6933 +272 ========================================== - Hits 4258 4256 -2 - Misses 2128 2401 +273 - Partials 275 276 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

duoertai commented 6 months ago

tested all 5 queries in local env