8000 fix: naming of peas replicas in logs by properGrammar · Pull Request #2508 · 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 replicas in logs #2508

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 2 commits into from
Jun 7, 2021
Merged

Conversation

properGrammar
Copy link
Contributor

Intended to fix #2363

This is a 3nd, cleaner try at #2382 and #2418 lol

cc: @cristianmtr @maximilianwerk @JoanFM

@properGrammar properGrammar requested a review from a team as a code owner May 29, 2021 21:06
@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 29, 2021
@codecov
Copy link
codecov bot commented May 30, 2021

Codecov Report

Merging #2508 (8b96cdc) into master (b483002) will increase coverage by 3.07%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2508      +/-   ##
==========================================
+ Coverage   83.19%   86.27%   +3.07%     
==========================================
  Files         152      152              
  Lines        9445     9462      +17     
==========================================
+ Hits         7858     8163     +305     
+ Misses       1587     1299     -288     
Flag Coverage Δ
daemon 46.82% <0.00%> (-0.16%) ⬇️
jina 86.27% <100.00%> (+3.27%) ⬆️

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

Impacted Files Coverage Δ
jina/peapods/pods/__init__.py 90.03% <ø> (+4.62%) ⬆️
jina/peapods/pods/compound.py 90.97% <100.00%> (+0.97%) ⬆️
daemon/__init__.py 60.00% <0.00%> (-0.87%) ⬇️
jina/types/document/__init__.py 96.00% <0.00%> (-0.22%) ⬇️
jina/parsers/helloworld.py 96.22% <0.00%> (-0.14%) ⬇️
jina/logging/logger.py 93.75% <0.00%> (-0.07%) ⬇️
jina/logging/profile.py 96.00% <0.00%> (-0.04%) ⬇️
jina/importer.py 79.39% <0.00%> (ø)
jina/docker/hubio.py 83.49% <0.00%> (ø)
jina/docker/checker.py 98.07% <0.00%> (ø)
... and 30 more

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 b483002...8b96cdc. Read the comment docs.

@cristianmtr
Copy link
Contributor

Hey @properGrammar

Thanks a lot for persisting!

However, I tried running some Flows locally and we noticed that the logs are bit worse to read now. However, reducing the "replica" to just "rep" made it much better. Can you adjust your PR to that instead perhaps? Also remember to adjust the tests

Copy link
Contributor
@cristianmtr cristianmtr left a comment

Choose a reason for hiding this comment

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

use rep- instead of replica-

@properGrammar properGrammar requested a review from cristianmtr June 1, 2021 15:12
@properGrammar
Copy link
Contributor Author

You're welcome, @cristianmtr ! Thanks for working with me to help me learn how to submit things per Jina's spec.

I've made the change you requested (and agree that it preserves readability) so hopefully it works for you. Cheers.

Copy link
Contributor
@alanthssss alanthssss left a comment

Choose a reason for hiding this comment

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

As for the docker login error in CI: Check run here,
@hanxiao @nan-wang @deepankarm could you plz help check the secrets of docker login?

  • DOCKERHUB_DEVBOT_USER
  • DOCKERHUB_DEVBOT_TOKEN

@properGrammar
Copy link
Contributor Author

cristianmtr approved these changes 9 hours ago 🎉😊

Copy link
Member
@nan-wang nan-wang left a comment

Choose a reason for hiding this comment

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

LGTM👍

@nan-wang
Copy link
Member
nan-wang commented Jun 7, 2021

docker-image-test is due to the fact the secrets are not available for the forks.

With the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository.

https://docs.github.com/en/actions/reference/encrypted-secrets#using-encrypted-secrets-in-a-workflow

@nan-wang nan-wang merged commit 226977c into jina-ai:master Jun 7, 2021
alanthssss pushed a commit that referenced this pull request Jun 9, 2021
* fix: naming of peas replicas in logs

* fix: change replica- to rep-

Co-authored-by: Graham Arthur Mackenzie <gmackenzie3@gatech.edu>
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/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix naming of pods and replicas in logs
5 participants
0