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 stopAllSnaps function to SnapController #2674

Merged
merged 6 commits into from
Aug 30, 2024

Conversation

hmalik88
Copy link
Contributor

closes #2668

@hmalik88 hmalik88 requested a review from a team as a code owner August 28, 2024 18:01
@FrederikBolding FrederikBolding changed the title Add stopAllRunningSnaps function to SnapController Add stopAllSnaps function to SnapController Aug 29, 2024

this.messagingSystem.registerActionHandler(
`${controllerName}:stopAllSnaps`,
async (...args) => this.stopAllSnaps(...args),
Copy link
Member

Choose a reason for hiding this comment

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

We should test this action and the accompanying function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done here: 1e50e98

@hmalik88 hmalik88 force-pushed the hm/add-stop-all-snaps-action branch from b907d3c to 1e50e98 Compare August 29, 2024 18:35
Copy link

codecov bot commented Aug 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.30%. Comparing base (f9dd736) to head (1e50e98).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2674   +/-   ##
=======================================
  Coverage   94.29%   94.30%           
=======================================
  Files         481      481           
  Lines       10031    10040    +9     
  Branches     1511     1512    +1     
=======================================
+ Hits         9459     9468    +9     
  Misses        572      572           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hmalik88 hmalik88 merged commit 908c37b into main Aug 30, 2024
156 checks passed
@hmalik88 hmalik88 deleted the hm/add-stop-all-snaps-action branch August 30, 2024 10:30
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.

Add an action to stop all running Snaps
3 participants