xcherryio / xcherry

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

Add debug log for respond api request #56

Closed longquanzheng closed 1 year ago

longquanzheng commented 1 year 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/xdb-golang-sdk PRs if it's on top of any API changes]

How to test this pull request?

pair with @duoertai

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: 5 lines in your changes are missing coverage. Please review.

Comparison is base (53f688a) 68.71% compared to head (827b0ab) 70.35%. Report is 2 commits behind head on main.

:exclamation: Current head 827b0ab differs from pull request most recent head 0d306ef. Consider uploading reports for the commit 0d306ef to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #56 +/- ## ========================================== + Coverage 68.71% 70.35% +1.64% ========================================== Files 46 46 Lines 4031 4055 +24 ========================================== + Hits 2770 2853 +83 + Misses 1072 1020 -52 + Partials 189 182 -7 ``` | [Files](https://app.codecov.io/gh/xdblab/xdb/pull/56?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/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-ZXh0ZW5zaW9ucy9wb3N0Z3Jlcy9ub25fdHJhbnNhY3Rpb25hbC5nbw==) | `86.04% <100.00%> (ø)` | | | [extensions/postgres/transactional.go](https://app.codecov.io/gh/xdblab/xdb/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-ZXh0ZW5zaW9ucy9wb3N0Z3Jlcy90cmFuc2FjdGlvbmFsLmdv) | `84.00% <ø> (+13.41%)` | :arrow_up: | | [integTests/init.go](https://app.codecov.io/gh/xdblab/xdb/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-aW50ZWdUZXN0cy9pbml0Lmdv) | `87.50% <100.00%> (+4.16%)` | :arrow_up: | | [service/api/gin\_handler.go](https://app.codecov.io/gh/xdblab/xdb/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-c2VydmljZS9hcGkvZ2luX2hhbmRsZXIuZ28=) | `63.15% <100.00%> (+6.90%)` | :arrow_up: | | [engine/worker\_task\_queue.go](https://app.codecov.io/gh/xdblab/xdb/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-ZW5naW5lL3dvcmtlcl90YXNrX3F1ZXVlLmdv) | `68.84% <90.47%> (+4.43%)` | :arrow_up: | | [persistence/sql/sql\_process\_store.go](https://app.codecov.io/gh/xdblab/xdb/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=xdblab#diff-cGVyc2lzdGVuY2Uvc3FsL3NxbF9wcm9jZXNzX3N0b3JlLmdv) | `63.61% <62.50%> (+2.60%)` | :arrow_up: | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/xdblab/xdb/pull/56/indirect-changes?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.