xcherryio / xcherry

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

Improve the command results, and add timer commands #73

Closed zklgame closed 1 year ago

zklgame commented 1 year ago

Why make this pull request?

What has changed

[Summarize what components of the repo is updated]

[Link to xdb-apis/xdb-golang-sdk 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]

Checklist before merge

[ ] If applicable, merge the xdb-apis/xdb-golang-sdk 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/xdb-golang-sdk

codecov[bot] commented 1 year ago

Codecov Report

Attention: 282 lines in your changes are missing coverage. Please review.

Comparison is base (1cdbdb8) 66.87% compared to head (80967b5) 65.01%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #73 +/- ## ========================================== - Coverage 66.87% 65.01% -1.87% ========================================== Files 67 68 +1 Lines 5471 5676 +205 ========================================== + Hits 3659 3690 +31 - Misses 1594 1763 +169 - Partials 218 223 +5 ``` | [Files](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab) | Coverage Δ | | |---|---|---| | [extensions/postgres/non\_transactional.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-ZXh0ZW5zaW9ucy9wb3N0Z3Jlcy9ub25fdHJhbnNhY3Rpb25hbC5nbw==) | `66.26% <ø> (ø)` | | | [extensions/postgres/transactional.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-ZXh0ZW5zaW9ucy9wb3N0Z3Jlcy90cmFuc2FjdGlvbmFsLmdv) | `73.09% <ø> (ø)` | | | [persistence/data\_models.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-cGVyc2lzdGVuY2UvZGF0YV9tb2RlbHMuZ28=) | `25.00% <ø> (ø)` | | | [persistence/sql/sqltest/base\_backoff.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-cGVyc2lzdGVuY2Uvc3FsL3NxbHRlc3QvYmFzZV9iYWNrb2ZmLmdv) | `100.00% <100.00%> (ø)` | | | [...stence/sql/convert\_timer\_task\_to\_immediate\_task.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-cGVyc2lzdGVuY2Uvc3FsL2NvbnZlcnRfdGltZXJfdGFza190b19pbW1lZGlhdGVfdGFzay5nbw==) | `60.86% <66.66%> (+1.77%)` | :arrow_up: | | [persistence/data\_models\_json\_fields.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-cGVyc2lzdGVuY2UvZGF0YV9tb2RlbHNfanNvbl9maWVsZHMuZ28=) | `93.08% <92.50%> (+0.96%)` | :arrow_up: | | [engine/immediate\_task\_conrrent\_processor.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-ZW5naW5lL2ltbWVkaWF0ZV90YXNrX2NvbnJyZW50X3Byb2Nlc3Nvci5nbw==) | `79.95% <0.00%> (-1.59%)` | :arrow_down: | | [persistence/sql/process\_local\_queue.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-cGVyc2lzdGVuY2Uvc3FsL3Byb2Nlc3NfbG9jYWxfcXVldWUuZ28=) | `0.00% <0.00%> (ø)` | | | [engine/timer\_task\_conrrent\_processor.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-ZW5naW5lL3RpbWVyX3Rhc2tfY29ucnJlbnRfcHJvY2Vzc29yLmdv) | `48.95% <27.58%> (-10.79%)` | :arrow_down: | | [persistence/sql/prepare\_state.go](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-cGVyc2lzdGVuY2Uvc3FsL3ByZXBhcmVfc3RhdGUuZ28=) | `36.92% <21.62%> (-21.70%)` | :arrow_down: | | ... and [3 more](https://app.codecov.io/gh/xdblab/xdb/pull/73?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab) | |

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