Skip to content

Fixes debug docker problem.#1095

Merged
KPrasch merged 12 commits intonucypher:epic-schabowskifrom
jMyles:debug-madness
Jun 22, 2019
Merged

Fixes debug docker problem.#1095
KPrasch merged 12 commits intonucypher:epic-schabowskifrom
jMyles:debug-madness

Conversation

@jMyles
Copy link
Contributor

@jMyles jMyles commented Jun 19, 2019

Fixes #941 and also many of the issues that made it so difficult to track down the problem.

  • Adds --log-level to top-level nucypher CLI interface.
  • Adds a few key logging statements for understanding Ursula's early learning experience.
  • Adds --interactive to nucypher ursula ... - UrsulaCommandProtocol now only launches if this flag is provided.
  • Logs phantom nodes.

@jMyles jMyles changed the title [WIP] --debug madness Fixes debug docker problem. Jun 19, 2019
@codecov
Copy link

codecov bot commented Jun 20, 2019

Codecov Report

Merging #1095 into epic-schabowski will increase coverage by 4.08%.
The diff coverage is 44.44%.

Impacted file tree graph

@@                 Coverage Diff                 @@
##           epic-schabowski    #1095      +/-   ##
===================================================
+ Coverage            74.84%   78.93%   +4.08%     
===================================================
  Files                   67       67              
  Lines                 8783     8790       +7     
===================================================
+ Hits                  6574     6938     +364     
+ Misses                2209     1852     -357
Impacted Files Coverage Δ
nucypher/characters/lawful.py 78.35% <ø> (+17.63%) ⬆️
nucypher/network/nodes.py 80.67% <0%> (+4.83%) ⬆️
nucypher/cli/main.py 90.76% <100%> (+3.67%) ⬆️
nucypher/network/server.py 85.2% <20%> (+14.88%) ⬆️
nucypher/blockchain/eth/interfaces.py 69.69% <0%> (+0.37%) ⬆️
nucypher/blockchain/eth/policies.py 74.24% <0%> (+0.75%) ⬆️
nucypher/crypto/powers.py 92.24% <0%> (+0.86%) ⬆️
nucypher/crypto/signing.py 85.71% <0%> (+5.71%) ⬆️
... and 8 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 c1804dc...c9e21a6. Read the comment docs.

# Async Sentinel
except Exception as e:
log.critical(str(e))
log.critical(f"This exception really needs to be handled differently: {e}")
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps an Issue & TODO here.

continue
except NotFound:
# This Ursula claims not to have a matching KFrag. Maybe this has been revoked?
# TODO: What's the thing to do here? Do we want to track these Ursulas in some way in case they're lying?
Copy link
Member

Choose a reason for hiding this comment

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

Issue?

Copy link
Member

@KPrasch KPrasch left a comment

Choose a reason for hiding this comment

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

🤠 - Just a few follow-up Issues needed, to track TODOs.

@KPrasch KPrasch merged commit 8fb06be into nucypher:epic-schabowski Jun 22, 2019
fjarri added a commit to fjarri/nucypher that referenced this pull request Jun 26, 2019
fjarri added a commit to fjarri/nucypher that referenced this pull request Jul 17, 2019
fjarri added a commit to fjarri/nucypher that referenced this pull request Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants