Skip to content

Conversation

FrederikBolding
Copy link
Member

Moved some of the ideas from #3356 to this PR which will be a simple to merge right away. The other referenced PR needs some more work, but is eventually what we should do.

This PR let's Snaps start their outbound request before waiting for the notification to land, this should be a small perf improvement to all requests made from the Snap.

@FrederikBolding FrederikBolding requested a review from a team as a code owner May 6, 2025 11:37
Copy link

codecov bot commented May 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.06%. Comparing base (93a31e2) to head (518bc17).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3381   +/-   ##
=======================================
  Coverage   98.06%   98.06%           
=======================================
  Files         397      397           
  Lines       10929    10931    +2     
  Branches     1720     1720           
=======================================
+ Hits        10718    10720    +2     
  Misses        211      211           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

);

snapController.destroy();
await service.terminateAllSnaps();
Copy link
Member

Choose a reason for hiding this comment

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

How come this is unnecessary?

Copy link
Member Author

Choose a reason for hiding this comment

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

Some of the timing changed and so the Snap is already torn down when we get to the end of the test

Copy link
Member Author

Choose a reason for hiding this comment

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

It was causing the test to fail due to some timing issue where we were trying to terminate a Snap that had already been terminated. Simplest solution was to remove it for now and look into it later

@FrederikBolding FrederikBolding enabled auto-merge May 6, 2025 12:03
@FrederikBolding FrederikBolding added this pull request to the merge queue May 6, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 6, 2025
@FrederikBolding FrederikBolding added this pull request to the merge queue May 6, 2025
Merged via the queue into main with commit 7cffbee May 6, 2025
115 checks passed
@FrederikBolding FrederikBolding deleted the fb/change-notification-order branch May 6, 2025 12:25
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.

2 participants