Detect if Snap needs to be updated in sandbox
Open
Nobody has claimed this yet.
snaps-feature
snaps-unrefined-backlog
- Dominant language
- TypeScript
- Stars
- 853
- Forks
- 662
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 8
Description
Currently when making updates to a Snap when using the sandbox, you need to manually remove the Snap from MetaMask and reinstall it. We can do polling on the manifest to detect if the shasum changed, thus the Snap needs to be reinstalled.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the sandbox code that reads the Snap manifest and handles installation updates. Trace how the manifest shasum is obtained, then determine where polling can trigger reinstallation when it changes. Done means sandbox Snap updates are detected without manually removing and reinstalling the Snap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100