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

Update snaps packages #21059

Merged
merged 3 commits into from
Sep 27, 2023
Merged

Update snaps packages #21059

merged 3 commits into from
Sep 27, 2023

Conversation

FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Sep 27, 2023

Description

Bump snaps packages to latest. This release mostly includes fixes to bugs found in the snaps execution environment. It also includes the removal of the already deprecated endowment:long-running.

Related release: https://github.com/MetaMask/snaps/releases/tag/v10.0.0

@FrederikBolding FrederikBolding added the team-snaps DEPRECATED: Use "team-snaps-platform" or "team-snaps-ecosystem" instead label Sep 27, 2023
FrederikBolding and others added 2 commits September 27, 2023 11:29
## **Description**
This PR removes `long-running` Snap endowment/permission.

Snaps team have decided to remove this endowment because of its
unpredictable security concerns around running Snaps indefinitely. This
endowment is removed in favor of the new endowments that will be focused
on solving certain use cases that require snap to be running for more
time than default.

## **Related issues**

_Fixes [#945](MetaMask/snaps#945

## **Related PR**
MetaMask/snaps#1751 (**required**)
MetaMask/metamask-docs#919

## **Pre-merge author checklist**

- [ ] I’ve followed [MetaMask Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [ ] I've clearly explained:
  - [ ] What problem this PR is solving.
  - [ ] How this problem was solved.
  - [ ] How reviewers can test my changes.
- [ ] I’ve indicated what issue this PR is linked to: Fixes #???
- [ ] I’ve included tests if applicable.
- [ ] I’ve documented any added code.
- [ ] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)).
- [ ] I’ve properly set the pull request status:
  - [ ] In case it's not yet "ready for review", I've set it to "draft".
- [ ] In case it's "ready for review", I've changed it from "draft" to
"non-draft".

## **Pre-merge reviewer checklist**

- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
@github-actions
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@FrederikBolding FrederikBolding marked this pull request as ready for review September 27, 2023 09:39
@FrederikBolding FrederikBolding requested review from a team as code owners September 27, 2023 09:39
@metamaskbot
Copy link
Collaborator

Builds ready [9cd148a]
Page Load Metrics (1070 ± 420 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint881671182210
domContentLoaded721571102612
load8722951070875420
domInteractive721571102612
Bundle size diffs [🚀 Bundle size reduced!]
  • background: 0 Bytes (0.00%)
  • ui: -183 Bytes (-0.00%)
  • common: -2.04 KiB (-0.04%)

@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (6e4bf67) 68.35% compared to head (9cd148a) 68.35%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #21059   +/-   ##
========================================
  Coverage    68.35%   68.35%           
========================================
  Files         1007     1007           
  Lines        40269    40268    -1     
  Branches     10773    10773           
========================================
  Hits         27524    27524           
+ Misses       12745    12744    -1     
Files Coverage Δ
shared/constants/snaps/permissions.ts 100.00% <ø> (ø)
ui/helpers/utils/permission.js 16.30% <ø> (+0.18%) ⬆️

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

@FrederikBolding FrederikBolding merged commit c2bda35 into develop Sep 27, 2023
9 checks passed
@FrederikBolding FrederikBolding deleted the fb/bump-snaps-2.0.1 branch September 27, 2023 20:57
@github-actions github-actions bot locked and limited conversation to collaborators Sep 27, 2023
@metamaskbot metamaskbot added the release-11.3.0 Issue or pull request that will be included in release 11.3.0 label Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-11.3.0 Issue or pull request that will be included in release 11.3.0 team-snaps DEPRECATED: Use "team-snaps-platform" or "team-snaps-ecosystem" instead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants