8000 fix: naming of peas/pods/replicas in logs by properGrammar · Pull Request #2418 · jina-ai/serve · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: naming of peas/pods/replicas in logs #2418

New issue
8000

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

Closed
wants to merge 7 commits into from
Closed

fix: naming of peas/pods/replicas in logs #2418

wants to merge 7 commits into from

Conversation

properGrammar
Copy link
Contributor
@properGrammar properGrammar commented May 13, 2021

Intended to fix #2363

This is a 2nd, cleaner try at #2382

cc: @cristianmtr @maximilianwerk @JoanFM

@properGrammar properGrammar requested a review from a team as a code owner May 13, 2021 03:51
@jina-bot jina-bot added size/S 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 labels May 13, 2021
@github-actions
Copy link

Latency summary

Current PR yields:

  • 😶 index QPS at 999, delta to last 3 avg.: -2%
  • 🐢🐢 query QPS at 16, delta to last 3 avg.: -7%

Breakdown

Version Index QPS Query QPS
current 999 16
1.2.3 1000 16
1.2.2 1052 18

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

@codecov
Copy link
codecov bot commented May 13, 2021

Codecov Report

Merging #2418 (3ad81fa) into master (a86a745) will increase coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head 3ad81fa differs from pull request most recent head 99ef392. Consider uploading reports for the commit 99ef392 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2418      +/-   ##
==========================================
+ Coverage   83.51%   83.54%   +0.03%     
==========================================
  Files         150      150              
  Lines        9380     9367      -13     
==========================================
- Hits         7834     7826       -8     
+ Misses       1546     1541       -5     
Flag Coverage Δ
daemon 47.10% <50.00%> (-0.05%) ⬇️
jina 83.37% <100.00%> (+0.03%) ⬆️

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

Impacted Files Coverage Δ
jina/peapods/pods/__init__.py 85.40% <100.00%> (-4.66%) ⬇️
jina/peapods/pods/compound.py 91.53% <100.00%> (ø)
jina/types/arrays/document.py 85.00% <0.00%> (-0.14%) ⬇️
jina/types/document/__init__.py 95.70% <0.00%> (-0.10%) ⬇️
jina/docker/hubio.py 83.49% <0.00%> (ø)
jina/docker/hubapi/local.py 46.15% <0.00%> (+1.09%) ⬆️
jina/peapods/zmq/__init__.py 85.20% <0.00%> (+2.07%) ⬆️
jina/clients/base.py 80.43% <0.00%> (+3.26%) ⬆️
jina/jaml/parsers/flow/legacy.py 43.18% <0.00%> (+20.45%) ⬆️

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 a86a745...99ef392. Read the comment docs.

@JoanFM
Copy link
Contributor
JoanFM commented May 13, 2021

recheckcla

@JoanFM
Copy link
Contributor
JoanFM commented May 14, 2021

/recheckcla

@properGrammar
Copy link
Contributor Author

Hey @JoanFM , I just wanna make sure you're not waiting on me to do anything here... I don't think so, but I'm not familiar with y'all's process, so I'm verifying. Thanks!

cristianmtr
cristianmtr previously approved these changes May 19, 2021
@cristianmtr
Copy link
Contributor

Thanks for carrying this through!

Needs a rebase/merge.

@properGrammar
Copy link
Contributor Author

You're welcome, @cristianmtr ! Glad I could help. 😊

Forgive my ignorance, but is the rebase/merge something that you need me to do, or is that note meant for a different person/process? I'm happy to rebase/merge and push another commit, just let me know, thx.

@cristianmtr
Copy link
Contributor

You're welcome, @cristianmtr ! Glad I could help.

Forgive my ignorance, but is the rebase/merge something that you need me to do, or is that note meant for a different person/process? I'm happy to rebase/merge and push another commit, just let me know, thx.

Yeah, the GH PR says there are conflicting files that need to be merged manually.

@properGrammar
Copy link
Contributor Author

@cristianmtr Ok, I spent way too long today trying to rebase/merge to master, but every time I did it Git told me everything was "Already up to date." No matter how many SO posts I looked at, I wasn't able to determine why I was unable to pull the new changes to my local copy of the repo in order to make the rebase/merge meaningful.

Ultimately, I realized the conflict was that the name of one of the files in this PR had changed since I submitted it, so I just changed it locally, pushed the new commit, and resolved a couple small conflicts on here. Hopefully that does it! and this PR can be approved before this codebase shifts any further, lol...

@properGrammar
Copy link
Contributor Author
properGrammar commented May 21, 2021

I'm seeing the check-black failed, and I'm not sure why. All pre-commit hooks passed locally before the most recent push... 🤷🏻‍♂️

@cristianmtr
Copy link
Contributor

I'm seeing the check-black failed, and I'm not sure why. All commit hooks passed locally be 8000 fore the most recent push... 🤷🏻‍♂️

Not sure how it happened, but a test is failing the black test. It should have been handled by the pre-commit hook.

Can you do black -S tests/ and commit those changes?

@jina-bot jina-bot added size/M and removed size/S labels May 21, 2021
@jina-bot jina-bot added size/S and removed size/M labels May 21, 2021
@jina-bot jina-bot added size/M and removed size/S labels May 21, 2021
@properGrammar properGrammar requested a review from cristianmtr May 27, 2021 15:25
@properGrammar
Copy link
Contributor Author

@JoanFM @cristianmtr Is there more that needs doing by me on this at the moment? Should I try once more with a new branch/PR; third time's the charm? 😂

@cristianmtr
Copy link
Contributor

Looks good for me. Let's see what the CI says

@cristianmtr
Copy link
Contributor

Uff seems like GH changes something and now you need to add

permissions:
  pull-requests: write

to the commit-lint action

@cristianmtr
Copy link
Contributor

I cannot reproduce the error from my fork. But I do see your commit messages don't comply with our standards. Can you modify them? Or just squash them into one? https://github.com/jina-ai/jina/blob/84ae65f21f4131e2ba06de1d1bcc6556678f56df/CONTRIBUTING.md#L133

@properGrammar
Copy link
Contributor Author

@cristianmtr

The offending commit is resolved some merge conflicts 99d1b19. It did not occur to me (although it probably should have) that manual merge conflict commits made on GH would need to follow your commit message expectations.

I spent some time looking into how to reword such messages, but am unfortunately not getting results I'm super confident in locally.

Considering that I'm already dissatisfied with the extra unnecessary file changes this PR has picked up, I'm gonna start over one more time in the hopes that I can cleanly submit just the changes you're looking for. Thanks for your patience.

@properGrammar
Copy link
Contributor Author

#2508 resolves this

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/network This issue/PR affects network functionality area/testing This issue/PR affects testing component/peapod size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix naming of pods and replicas in logs
4 participants
0