Provide required info for nucypher-monitor without unnecessarily maturing sprouts#2709
Provide required info for nucypher-monitor without unnecessarily maturing sprouts#2709derekpierre merged 6 commits intonucypher:mainfrom
Conversation
|
Rerunning CI to see if the failure is intermittent. |
|
Some results from the failure investigation.
In On the other hand, Therefore, during the assertion in the test, where
Solution to this may vary depending on what semantics exactly we want. Currently, I committed the following solution:
This seems to fix the issue. Although perhaps it is not the best solution, since it does not fix the similarly looking failure in Why it appeared in this PR? To be continued. (Edit) Damn, this change opened the hell's gate. |
|
More investigation. The introduction of Additionally, |
|
The |
Ah, nevermind, it's the probationary period ending again. |
One ended up in FleetSensor, and the other in the node storage, causing failure in `test_one_node_stores_a_bunch_of_others`
This way any comparison Union[NodeSprout, Character] == Union[NodeSprout, Character] works
This allows comparison of mixed Ursula/NodeSprout sets
Co-authored-by: KPrasch <kieranprasch@gmail.com>
Type of PR:
Required reviews:
What this does:
Removes a
mature()call that was introduced in 50da675 for the purposes ofnucypher-monitor. The only thing it needs that a sprout doesn't have isrest_url, and we can provide that.Additional changes were necessary to allow some tests to pass, since they now got a mix of
UrsulaandNodeSproutobjects:NodeSprout.__eq__added (identical toCharacter.__eq__, comparing stamps)NodeSprout.__hash__was changed to conform to__eq__(and toCharacter.__hash__), that is taking the hash of a stamp.