Skip to content
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

Add integration of dragon-based event broadcasting #710

Merged
merged 40 commits into from
Oct 10, 2024

Conversation

ankona
Copy link
Contributor

@ankona ankona commented Sep 18, 2024

This PR integrates event publishers and consumers in ProtoClient and DragonBackend

Copy link

codecov bot commented Sep 18, 2024

Codecov Report

Attention: Patch coverage is 2.40506% with 771 lines in your changes missing coverage. Please review.

Please upload report for BASE (mli-feature@5ec287c). Learn more about missing BASE report.

Files with missing lines Patch % Lines
smartsim/_core/mli/client/protoclient.py 0.00% 144 Missing ⚠️
...rtsim/_core/mli/infrastructure/control/listener.py 0.00% 131 Missing ⚠️
smartsim/_core/mli/infrastructure/comm/consumer.py 0.00% 110 Missing ⚠️
...rtsim/_core/mli/infrastructure/comm/broadcaster.py 0.00% 105 Missing ⚠️
...i/infrastructure/storage/backbone_feature_store.py 0.00% 82 Missing ⚠️
smartsim/_core/mli/infrastructure/comm/event.py 0.00% 60 Missing ⚠️
smartsim/_core/launcher/dragon/dragonBackend.py 4.54% 42 Missing ⚠️
...im/_core/mli/infrastructure/storage/dragon_util.py 0.00% 21 Missing ⚠️
.../_core/mli/infrastructure/storage/feature_store.py 0.00% 18 Missing ⚠️
...mli/infrastructure/storage/dragon_feature_store.py 0.00% 15 Missing ⚠️
... and 6 more
Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff               @@
##             mli-feature     #710   +/-   ##
==============================================
  Coverage               ?   64.96%           
==============================================
  Files                  ?      110           
  Lines                  ?     9419           
  Branches               ?        0           
==============================================
  Hits                   ?     6119           
  Misses                 ?     3300           
  Partials               ?        0           
Files with missing lines Coverage Δ
..._core/mli/infrastructure/control/error_handling.py 0.00% <ø> (ø)
smartsim/_core/mli/message_handler.py 97.81% <100.00%> (ø)
smartsim/_core/utils/timings.py 0.00% <ø> (ø)
smartsim/_core/launcher/dragon/dragonConnector.py 68.23% <91.66%> (ø)
smartsim/log.py 94.40% <33.33%> (ø)
smartsim/_core/mli/infrastructure/comm/producer.py 0.00% <0.00%> (ø)
...sim/_core/mli/infrastructure/environment_loader.py 0.00% <0.00%> (ø)
smartsim/_core/mli/infrastructure/worker/worker.py 0.00% <0.00%> (ø)
...e/mli/infrastructure/control/request_dispatcher.py 0.00% <0.00%> (ø)
...mli/infrastructure/storage/dragon_feature_store.py 0.00% <0.00%> (ø)
... and 9 more

@ankona ankona changed the title 747 int 4 Add integration of dragon-based event broadcasting Sep 26, 2024
@ankona ankona requested review from AlyssaCote and al-rigazzi and removed request for AlyssaCote September 26, 2024 15:58
Copy link
Contributor

@mellis13 mellis13 left a comment

Choose a reason for hiding this comment

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

Really great additions that get us closer to the online notifications. Mostly minor questions/comments

Copy link
Collaborator

@al-rigazzi al-rigazzi left a comment

Choose a reason for hiding this comment

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

A few comments, but overall looks impressive

Copy link
Contributor

@AlyssaCote AlyssaCote left a comment

Choose a reason for hiding this comment

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

The other reviewers had already caught any of the questions or suggestions I had. This is really well done!

Copy link
Contributor

@amandarichardsonn amandarichardsonn left a comment

Choose a reason for hiding this comment

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

I must commend thee on thy splendid work! I have conjured a few suggestions that might enhance your creation, but feel free to disregard any that do not align with your vision. I have perused about halfway through and shall return to complete my review with haste.

Copy link
Contributor

@amandarichardsonn amandarichardsonn left a comment

Choose a reason for hiding this comment

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

Some more comments, slowly looking through

@ankona ankona requested a review from al-rigazzi October 4, 2024 20:45
Copy link
Contributor

@amandarichardsonn amandarichardsonn left a comment

Choose a reason for hiding this comment

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

Partial review, stopping at consumer.py

Copy link
Collaborator

@al-rigazzi al-rigazzi left a comment

Choose a reason for hiding this comment

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

Only a few nitpicks otherwise looks great!

Copy link
Contributor

@amandarichardsonn amandarichardsonn left a comment

Choose a reason for hiding this comment

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

Reviewed rest of files excluding /tests, incredible work!

Copy link
Collaborator

@al-rigazzi al-rigazzi left a comment

Choose a reason for hiding this comment

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

LGTM!

@ankona ankona requested a review from al-rigazzi October 9, 2024 22:12
@ankona ankona merged commit ca01cb1 into CrayLabs:mli-feature Oct 10, 2024
79 of 85 checks passed
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.

5 participants