Skip to content

Conversation

@FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Aug 1, 2025

Properly stop Snaps instead of only terminating their execution when clearing state. This properly cleans up stuck requests that are not terminated gracefully.

@FrederikBolding FrederikBolding changed the title fix: Properly terminate Snaps when clearing state fix: Properly stop Snaps when clearing state Aug 1, 2025
@FrederikBolding FrederikBolding marked this pull request as ready for review August 1, 2025 08:37
@FrederikBolding FrederikBolding requested a review from a team as a code owner August 1, 2025 08:37
GuillaumeRx
GuillaumeRx previously approved these changes Aug 1, 2025
@codecov
Copy link

codecov bot commented Aug 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (554d5d0) to head (d96c55f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3552      +/-   ##
==========================================
- Coverage   98.28%   98.27%   -0.01%     
==========================================
  Files         417      417              
  Lines       11765    11762       -3     
  Branches     1827     1826       -1     
==========================================
- Hits        11563    11559       -4     
- Misses        202      203       +1     

☔ 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.

cursor[bot]

This comment was marked as outdated.

@FrederikBolding FrederikBolding added this pull request to the merge queue Aug 1, 2025
Merged via the queue into main with commit 3257236 Aug 1, 2025
119 of 120 checks passed
@FrederikBolding FrederikBolding deleted the fb/properly-terminate-snaps-when-clearing-state branch August 1, 2025 12:22
github-merge-queue bot pushed a commit to MetaMask/metamask-mobile that referenced this pull request Aug 5, 2025
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Properly stop Snaps when clearing state. Patching in a fix from
MetaMask/snaps#3552 because mobile is a few
versions behind on `snaps-controllers`.
runway-github bot added a commit to MetaMask/metamask-mobile that referenced this pull request Aug 5, 2025
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Properly stop Snaps when clearing state. Patching in a fix from
MetaMask/snaps#3552 because mobile is a few
versions behind on `snaps-controllers`.
runway-github bot added a commit to MetaMask/metamask-mobile that referenced this pull request Aug 5, 2025
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Properly stop Snaps when clearing state. Patching in a fix from
MetaMask/snaps#3552 because mobile is a few
versions behind on `snaps-controllers`.
runway-github bot added a commit to MetaMask/metamask-mobile that referenced this pull request Aug 5, 2025
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Properly stop Snaps when clearing state. Patching in a fix from
MetaMask/snaps#3552 because mobile is a few
versions behind on `snaps-controllers`.
runway-github bot added a commit to MetaMask/metamask-mobile that referenced this pull request Aug 5, 2025
<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Properly stop Snaps when clearing state. Patching in a fix from
MetaMask/snaps#3552 because mobile is a few
versions behind on `snaps-controllers`.
runway-github bot pushed a commit to MetaMask/metamask-mobile that referenced this pull request Aug 5, 2025
…earing state (#17810)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Properly stop Snaps when clearing state. Patching in a fix from
MetaMask/snaps#3552 because mobile is a few
versions behind on `snaps-controllers`.
tommasini added a commit to MetaMask/metamask-mobile that referenced this pull request Aug 5, 2025
…earing state (#17926)

- fix: cp-7.53.0 Properly stop Snaps when clearing state (#17810)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Properly stop Snaps when clearing state. Patching in a fix from
MetaMask/snaps#3552 because mobile is a few
versions behind on `snaps-controllers`.
[a17c422](a17c422)

Co-authored-by: Frederik Bolding <[email protected]>
Co-authored-by: tommasini <[email protected]>
Co-authored-by: Nico MASSART <[email protected]>
sethkfman pushed a commit to MetaMask/metamask-mobile that referenced this pull request Aug 27, 2025
…earing state (#17926)

- fix: cp-7.53.0 Properly stop Snaps when clearing state (#17810)

<!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until the template has been
completely filled out, and PR status checks have passed at least once.
-->

## **Description**

Properly stop Snaps when clearing state. Patching in a fix from
MetaMask/snaps#3552 because mobile is a few
versions behind on `snaps-controllers`.
[a17c422](a17c422)

Co-authored-by: Frederik Bolding <[email protected]>
Co-authored-by: tommasini <[email protected]>
Co-authored-by: Nico MASSART <[email protected]>
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