Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(daemon): fix some helper text for redocs #1642

Merged
merged 4 commits into from
Jan 10, 2021
Merged

Conversation

hanxiao
Copy link
Member

@hanxiao hanxiao commented Jan 10, 2021

No description provided.

@hanxiao hanxiao requested a review from a team as a code owner January 10, 2021 16:11
@jina-bot jina-bot added size/S area/cicd This issue/PR affects the cicd pipeline area/daemon area/housekeeping This issue/PR is housekeeping labels Jan 10, 2021
@@ -208,6 +205,7 @@ async def _ping(
_, args, _ = ArgNamespace.get_parsed_args(kwargs, set_client_cli_parser())
client = Client(args)
try:
# TODO: this introduces side-effect, need to be refactored. (2020.01.10)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Client & WebsocketClient need to be refactored to work as a context manager. This interface can tell the daemon client if the gateway server is alive.

@codecov
Copy link

codecov bot commented Jan 10, 2021

Codecov Report

Merging #1642 (00a1ece) into master (921cba3) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1642      +/-   ##
==========================================
+ Coverage   84.66%   84.69%   +0.02%     
==========================================
  Files         128      128              
  Lines        6730     6730              
==========================================
+ Hits         5698     5700       +2     
+ Misses       1032     1030       -2     
Flag Coverage Δ
cd ?
ci 84.69% <100.00%> (+40.08%) ⬆️
core 84.01% <100.00%> (+0.02%) ⬆️
integration 41.97% <100.00%> (ø)
jinad 44.65% <100.00%> (+0.04%) ⬆️
unit 40.63% <0.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
jina/peapods/runtimes/jinad/api.py 74.34% <100.00%> (ø)
jina/peapods/runtimes/asyncio/rest/app.py 91.17% <0.00%> (+1.96%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c4f95d6...00a1ece. Read the comment docs.

@github-actions
Copy link

github-actions bot commented Jan 10, 2021

Latency summary

Current PR yields:

  • 😶 index QPS at 1663, delta to last 3 avg.: +0%
  • 😶 query QPS at 31, delta to last 3 avg.: -3%

Breakdown

Version Index QPS Query QPS
current 1663 31
0.9.5 1655 31
0.9.3 1667 32

Backed by latency-tracking. Further commits will update this comment.

@jina-bot jina-bot added size/M area/core This issue/PR affects the core codebase area/network This issue/PR affects network functionality area/testing This issue/PR affects testing component/peapod and removed size/S labels Jan 10, 2021
@hanxiao hanxiao merged commit c4ab88d into master Jan 10, 2021
@hanxiao hanxiao deleted the fix-daemon-docs branch January 10, 2021 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cicd This issue/PR affects the cicd pipeline area/core This issue/PR affects the core codebase area/housekeeping This issue/PR is housekeeping area/network This issue/PR affects network functionality area/testing This issue/PR affects testing component/peapod component/resource size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants