Skip to content

test: refactor pytests, several improvements preparing for robust ecdsa integration#1671

Merged
gilcu3 merged 6 commits intomainfrom
gilcu3/breakout_pytests_premise_robust_ecdsa
Dec 16, 2025
Merged

test: refactor pytests, several improvements preparing for robust ecdsa integration#1671
gilcu3 merged 6 commits intomainfrom
gilcu3/breakout_pytests_premise_robust_ecdsa

Conversation

@gilcu3
Copy link
Contributor

@gilcu3 gilcu3 commented Dec 16, 2025

Solves part 2 of #1640

@gilcu3 gilcu3 force-pushed the gilcu3/breakout_pytests_premise_robust_ecdsa branch from fc13241 to 1015c32 Compare December 16, 2025 08:17
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this file needs to be separated from metrics.py because there is a cyclic dependency (used in type annotations) between the MpcCluster type and the metrics helper functions defined here.

netrome
netrome previously approved these changes Dec 16, 2025
Copy link
Collaborator

@netrome netrome left a comment

Choose a reason for hiding this comment

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

Nice!

Comment on lines +188 to +191
def kill_observer(observer: LocalNode):
observer.kill(gentle=True)
observer.reset_data()
adjust_indexing_shard(observer)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is new right? Why do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is not fully new, the change is that we were doing it sequentially, while now we do it in parallel. It is the same change as for killing nodes. It will probably become more important as we scale

kevindeforth
kevindeforth previously approved these changes Dec 16, 2025
Copy link
Contributor

@kevindeforth kevindeforth left a comment

Choose a reason for hiding this comment

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

Thanks, just nits (most of them regarding existing code)

@gilcu3 gilcu3 dismissed stale reviews from kevindeforth and netrome via 632c455 December 16, 2025 15:50
@gilcu3 gilcu3 enabled auto-merge December 16, 2025 16:29
@gilcu3 gilcu3 added this pull request to the merge queue Dec 16, 2025
Merged via the queue into main with commit 0588a00 Dec 16, 2025
14 checks passed
@gilcu3 gilcu3 deleted the gilcu3/breakout_pytests_premise_robust_ecdsa branch December 16, 2025 18:16
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