8000 feat(hubble): executor push/pull user integration by delgermurun · Pull Request #4770 · jina-ai/serve · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(hubble): executor push/pull user integration #4770

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

Merged
merged 3 commits into from
May 12, 2022

Conversation

delgermurun
Copy link
Contributor

@github-actions github-actions bot added size/M area/core This issue/PR affects the core codebase area/entrypoint This issue/PR affects the entrypoint codebase area/helper This issue/PR affects the helper functionality area/testing This issue/PR affects testing labels May 9, 2022
@delgermurun delgermurun force-pushed the feat-hubble-executor-user-integration branch from 75c3366 to 9171fde Compare May 9, 2022 14:31
@github-actions
Copy link
github-actions bot commented May 9, 2022

Latency summary

Current PR yields:

  • 🐎🐎🐎🐎 index QPS at 1361, delta to last 2 avg.: +12%
  • 🐎🐎 query QPS at 72, delta to last 2 avg.: +9%
  • 🐎🐎🐎🐎 avg flow time within 1.5226 seconds, delta to last 2 avg.: +11%
  • 😶 import jina within 0.4837 seconds, delta to last 2 avg.: -4%

Breakdown

Version Index QPS Query QPS Avg Flow Time (s) Import Time (s)
current 1361 72 1.5226 0.4837
3.3.25 1385 75 1.2987 0.4482
3.3.24 1026 55 1.4223 0.5623

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

@codecov
Copy link
codecov bot commented May 9, 2022

Codecov Report

Merging #4770 (f5b9690) into master (6975ccb) will decrease coverage by 0.01%.
The diff coverage is 96.55%.

@@            Coverage Diff             @@
##           master    #4770      +/-   ##
==========================================
- Coverage   87.67%   87.65%   -0.02%     
==========================================
  Files         119      119              
  Lines        8809     8832      +23     
==========================================
+ Hits         7723     7742      +19     
- Misses       1086     1090       +4     
Flag Coverage Δ
jina 87.65% <96.55%> (+0.05%) ⬆️

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

Impacted Files Coverage Δ
jina/__init__.py 65.88% <ø> (ø)
jina/hubble/helper.py 88.00% <95.45%> (+0.58%) ⬆️
jina/hubble/hubio.py 86.33% <100.00%> (+0.31%) ⬆️
...a/orchestrate/deployments/config/docker_compose.py 99.00% <0.00%> (-1.00%) ⬇️
jina/orchestrate/flow/base.py 89.18% <0.00%> (-0.61%) ⬇️
jina/orchestrate/deployments/config/helper.py 98.24% <0.00%> (+3.50%) ⬆️

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 6975ccb...f5b9690. Read the comment docs.

@delgermurun delgermurun changed the title feat(hubble): executor user integration feat(hubble): executor push/pull user integration May 9, 2022
@delgermurun delgermurun marked this pull request as ready for review May 9, 2022 15:38
@delgermurun delgermurun requested a review from hanxiao as a code owner May 9, 2022 15:38
@delgermurun delgermurun requested review from mapleeit and JoanFM May 9, 2022 15:38
@delgermurun delgermurun force-pushed the feat-hubble-executor-user-integration branch from 9171fde to 6b9dfbc Compare May 9, 2022 15:42
@@ -212,6 +223,41 @@ def _mock_post(url, data, headers=None, stream=True):
)


def test_push_with_authorization(mocker, monkeypatch, tmpdir):
clear_function_caches()
os.environ['JINA_HUB_ROOT'] = str(tmpdir)
Copy link
Contributor

Choose a reason for hiding this comment

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

u should use a fixture to make sure that this env variable is properly set and unset at the beginning and at the end of the test regardless of the success of failure of it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I created auth_token fixture. Please check it out.

@delgermurun delgermurun requested a review from JoanFM May 10, 2022 08:18
@JoanFM JoanFM merged commit 6514ca9 into master May 12, 2022
@JoanFM JoanFM deleted the feat-hubble-executor-user-integration branch May 12, 2022 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core This issue/PR affects the core codebase area/entrypoint This issue/PR affects the entrypoint codebase area/helper This issue/PR affects the helper functionality area/testing This issue/PR affects testing size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0