instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MemPalace__mempalace__999 | MemPalace/mempalace | 999 | defect | 74a31b70d3b527e3aeffff8e54ce3808543b9a4b | a3c778210b652221489c49f61a99579749152896 | fix(searcher): guard against None metadata in CLI print path | ## Summary
`col.query(...)` can return `None` entries in the inner `metadatas` list for drawers whose metadata was never set — older palaces, or rows written outside the normal mining path. When that happens, the CLI `search()` function renders earlier results successfully, then crashes mid-loop with:
```
AttributeEr... | diff --git a/mempalace/searcher.py b/mempalace/searcher.py
index db809d9268..ef951e290e 100644
--- a/mempalace/searcher.py
+++ b/mempalace/searcher.py
@@ -283,6 +283,7 @@ def search(query: str, palace_path: str, wing: str = None, room: str = None, n_r
for i, (doc, meta, dist) in enumerate(zip(docs, metas, dists)... | 1 | 1 | 1 | [{"id": "G0", "claim": "search_memories() still calls meta.get(...) and cmeta.get(...) on possibly-None Chroma metadata, so the API path would still raise AttributeError; apply the same meta or {} guard in those loops and add a regression test for the API function.", "category": "correctness", "verdict": "supported", "... | null |
MemoriLabs__Memori__124 | MemoriLabs/Memori | 124 | defect | 2c54b3835c0f497acf8f9445100f1a6708a3a90e | 92845ba6e3b41cdda2273f542884cb522ed4da10 | fix(logging): ensure verbose mode intercepts all standard logs | fix(logging): ensure verbose mode intercepts all standard logs
Closes #108
## Description
This pull request resolves an issue where the `LoggingManager`'s verbose mode did not reliably capture logs from Python's standard `logging` module.
The previous implementation was unreliable. This fix replaces it with... | diff --git a/.gitignore b/.gitignore
index 0251facbc..edd963a48 100644
--- a/.gitignore
+++ b/.gitignore
@@ -130,6 +130,7 @@ venv/
ENV/
env.bak/
venv.bak/
+me/
# Spyder project settings
.spyderproject
diff --git a/memori/utils/logging.py b/memori/utils/logging.py
index 75c3d4485..9da90e7ed 100644
--- a/memori/ut... | 5 | 4 | 2 | [{"id": "G0", "claim": "Remove the accidental `me/` entry the pull request adds to .gitignore, as it is unrelated to the change.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new verbose-mode format `{message}` removes timestamps, level and fil... | null |
MemoriLabs__Memori__306 | MemoriLabs/Memori | 306 | defect | 8f50bdcd59dd6e215a02216e83ae89a89fed8954 | 0921d62322de1494e1d2e18548d167b1564b179a | Fix: Lazy-import psycopg | - Remove module-level psycopg import and perform runtime imports with clear ImportError messages in Memori and ClusterManager to avoid requiring psycopg for users who don't use CockroachDB/Postgres.
- Move psycopg from required dependencies to project optional-dependencies (postgres and cockroachdb extras) in pypro... | diff --git a/memori/__init__.py b/memori/__init__.py
index 1aa78d9a5..e19853ded 100644
--- a/memori/__init__.py
+++ b/memori/__init__.py
@@ -13,8 +13,6 @@
from typing import Any
from uuid import uuid4
-import psycopg
-
from memori._config import Config
from memori._exceptions import (
MissingMemoriApiKeyErro... | 2 | 2 | 0 | [{"id": "G0", "claim": "The ImportError raised inline in _cluster_manager.py's start() should be a custom exception defined in memori/_exceptions.py, since the same error is re-used elsewhere.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove the pos... | null |
MemoriLabs__Memori__427 | MemoriLabs/Memori | 427 | defect | ee4037147c9bc22f802ae56ea2c863ed80da46c9 | 02af6182af8a387d748ffda260489c50125d7844 | feat: support tidb | Hi @harshalmore31 @devwdave,
This PR adds TiDB support to Memori while keeping the existing MySQL storage family as the base implementation.
- register a dedicated `tidb` driver and TiDB migrations
- auto-detect TiDB from `SELECT VERSION()` in both the SQLAlchemy and DBAPI adapters
- route TiDB connections through th... | diff --git a/docs/memori-byodb/databases/mysql.mdx b/docs/memori-byodb/databases/mysql.mdx
index 436b5a23b..43c547107 100644
--- a/docs/memori-byodb/databases/mysql.mdx
+++ b/docs/memori-byodb/databases/mysql.mdx
@@ -7,6 +7,12 @@ description: Set up Memori with MySQL — use your existing MySQL infrastructure
If your ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The TiDB docs and example use different env var names (TIDB_DATABASE_URL / TIDB_USE_TLS vs DATABASE_CONNECTION_STRING / DATABASE_USE_TLS) and they should be standardized.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The w... | null |
MemoriLabs__Memori__436 | MemoriLabs/Memori | 436 | defect | 5144264661a23abd77fb245103a2eb2cd471ec01 | 0bd262bceab3314c10ec6d506b507deba7581df3 | fix: sanitise recalled history to prevent tool-call corruption (#434) | ## Summary
Fixes the first bug reported in #434: Memori's conversation-injection
pipeline corrupts the message sequence when recalled history is replayed
into a tool-using OpenAI-compatible request, causing upstream providers
to reject the call with a 400.
## Authorship
Authored by Claude (Anthropic) with human over... | diff --git a/CHANGELOG.md b/CHANGELOG.md
index 46fa1f1cd..20b4adc1d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Fixed
+
+- Conversation injection no longer corrupts OpenAI-compatible message
+ s... | 1 | 1 | 1 | [{"id": "G0", "claim": "On lines 154 and 212, `_injected_message_count` should use the number of messages actually injected after sanitization/filtering rather than the original number read from storage/cloud; with a tool-call history (4 rows read, only 2 prepended) the stale count can make the post-response payload sl... | null |
Mermade__oas-kit__47 | Mermade/oas-kit | 47 | defect | 11d48c7648ba9d44c550620de82b88d14ea79d39 | 2bd9887c1c4ed10a8beb870240d93cbf7c70201c | Add basic testing setup with mocha | Tests are added by creating a new folder inside of test/ and adding 2 files to the directory:
- swagger.json - input swagger file
- oas.json - expected output oas file
The test runner at test/index.test.js iterates through these and performs a deepEqual on the output from running it through swagger2openapi.
I... | diff --git a/.gitignore b/.gitignore
index 87c294d3..73ed8846 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,7 +10,6 @@ utils/
in/
out/
dev/
-test/
# Logs
logs
diff --git a/.travis.yml b/.travis.yml
index ab313846..003254f5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,4 +15,4 @@ script:
# - travis_wait n... | 5 | 5 | 3 | [{"id": "G0", "claim": "The test fixture files should be named openapi.json instead of oas.json (offered as a bikeshed request).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tests use async/await, which Node 4 (still supported) does not su... | null |
Merovius__nbd__22 | Merovius/nbd | 22 | defect | 27b78b60d8da76ad8f0318e47d07fda75c9c3a47 | 2562500261f9ae29824b53fc25b9e0b8533d1b71 | really return on context done | Hi, Axel
I noticed that the comment for the function doesn't match its operation.
So, I fixed the function to work as described in the comment. | diff --git a/transmission.go b/transmission.go
index 182ad9d..eba4d5b 100644
--- a/transmission.go
+++ b/transmission.go
@@ -48,15 +48,30 @@ type Device interface {
// cancelled or an unrecoverable error occurs. Either way, it will wait for all
// connections to terminate first.
func ListenAndServe(ctx context.Conte... | 7 | 7 | 2 | [{"id": "G0", "claim": "The context-cancellation approach (essentially polling every second) seems like a hack; prefer (*net.ListenConfig).Listen for first-class context support or, if that does not work, spawn a goroutine that waits for the context to be done and closes the listener.", "category": "design", "verdict":... | null |
MeshInspector__MeshLib__4560 | MeshInspector/MeshLib | 4,560 | defect | cc8718f38f1cf640ad016c2f784a786b5b8bd798 | 8900c814936579d4d28367d799f339d9259163f0 | PartMapping: rename fields | * Better field names in `PartMapping` to allow introducing new fields later.
* More comments.
* New function `PartMapping::clear` | diff --git a/source/MRMesh/MRCloudPartMapping.h b/source/MRMesh/MRCloudPartMapping.h
index 8692ef1b4d07..c74bbae9c027 100644
--- a/source/MRMesh/MRCloudPartMapping.h
+++ b/source/MRMesh/MRCloudPartMapping.h
@@ -9,9 +9,9 @@ namespace MR
struct CloudPartMapping
{
// from.id -> this.id, efficient when full cloud wi... | 1 | 1 | 0 | [{"id": "G0", "claim": "The renamed CloudPartMapping field src2tgtVertHashMap is not really a hash map, so the new name is misleading.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MeshInspector__MeshLib__4681 | MeshInspector/MeshLib | 4,681 | defect | 0097ec950cc7a5703773e65748e3fae82184cc43 | f7272ae85bb0838e38ed379cdb7c7ada8a996d3e | insignificant expand aabbtree boxes for polylines | Fixes #4676 | diff --git a/source/MRMesh/MRAABBTreePolyline.cpp b/source/MRMesh/MRAABBTreePolyline.cpp
index d6644a4e29e4..fa1ec444b907 100644
--- a/source/MRMesh/MRAABBTreePolyline.cpp
+++ b/source/MRMesh/MRAABBTreePolyline.cpp
@@ -41,7 +41,7 @@ AABBTreePolyline<V>::AABBTreePolyline( const typename PolylineTraits<V>::Polylin
... | 1 | 1 | 0 | [{"id": "G0", "claim": "Add a comment explaining why the boxes are expanded with insignificantlyExpanded().", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MeshInspector__MeshLib__4815 | MeshInspector/MeshLib | 4,815 | defect | ccf415c14ec1403c5c1f10b9d321897988dadc4e | c47bc4f350a1cfe80d8461af9dd783a616023463 | Move cylinder approximator definition out of header file | - Remove obsolete Logger methods.
- Move cylinder approximation test to MRTest to check the extern template visibility. | diff --git a/source/MRMesh/MRCylinderApproximator.cpp b/source/MRMesh/MRCylinderApproximator.cpp
new file mode 100644
index 000000000000..8ef2bebffdc9
--- /dev/null
+++ b/source/MRMesh/MRCylinderApproximator.cpp
@@ -0,0 +1,337 @@
+#include "MRCylinderApproximator.h"
+#include "MRConstants.h"
+#include "MRCylinder3.h"
+... | 1 | 1 | 0 | [{"id": "G0", "claim": "The macros for template class instantiation added to MRMeshFwd.h are unnecessary, since the codebase already has examples of instantiating template algorithms without them.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MeshInspector__MeshLib__5070 | MeshInspector/MeshLib | 5,070 | defect | 3e89768826dffbd260d4bd9dbc09ce6706233536 | c154ae6f4cfc3b9e670d4e90533c5ac614c10d8c | Voxels: cellular filling | Introduce a new type of filling structure (and collateral refactoring). | diff --git a/source/MRTest/MRFillingSurface.cpp b/source/MRTest/MRFillingSurface.cpp
new file mode 100644
index 000000000000..cf0fc797c646
--- /dev/null
+++ b/source/MRTest/MRFillingSurface.cpp
@@ -0,0 +1,78 @@
+#ifndef MESHLIB_NO_VOXELS
+
+#include <MRMesh/MRGTest.h>
+#include <MRMesh/MRMesh.h>
+#include <MRMesh/MRMes... | 7 | 5 | 1 | [{"id": "G0", "claim": "Add comments to the newly added declarations in source/MRVoxels/MRFillingSurface.h — the CellularSurface params and build/fill/estimate API and the MeshParams/AllMeshParams block.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim... | null |
MeshInspector__MeshLib__5214 | MeshInspector/MeshLib | 5,214 | defect | 3d6fa4677658735006e561df06db48b541604853 | fcf2c21862b468677a98f1848c207ec100979b16 | fix macos release dynamic_cast for spdlog | Dynamic_cast to rotating_file_sink_mt fails due optimizations, fixed with https://stackoverflow.com/a/79378704/16680013 | diff --git a/cmake/Modules/CompilerOptions.cmake b/cmake/Modules/CompilerOptions.cmake
index 94b9404c0951..f0d77be6f6b3 100644
--- a/cmake/Modules/CompilerOptions.cmake
+++ b/cmake/Modules/CompilerOptions.cmake
@@ -80,6 +80,11 @@ ELSE()
IF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "App... | 2 | 2 | 2 | [{"id": "G0", "claim": "Gate the `-fno-assume-unique-vtables` flag with `IF(APPLE)` instead of `IF(CMAKE_CXX_COMPILER_ID STREQUAL \"AppleClang\")` so the fix also applies to normal Clang on macOS.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a... | null |
MeshInspector__MeshLib__5699 | MeshInspector/MeshLib | 5,699 | defect | e48c3a4a4ba879a31baaa2c7b541a070172b5788 | a449986cfe4ccc20a9ba6468a1f11b6db486b3f4 | Introduce `curve.totalLength` | - CurveFunc argument is now expected [0,totalLength)
- Bend function: curve time now has same "space" for stretched and non-stretched mode
- Remove `unitLength` argument from some functions because it is not longer needed | diff --git a/source/MRMesh/MRAlignContoursToMesh.cpp b/source/MRMesh/MRAlignContoursToMesh.cpp
index e56d1e92311c..f9daa56ce1bc 100644
--- a/source/MRMesh/MRAlignContoursToMesh.cpp
+++ b/source/MRMesh/MRAlignContoursToMesh.cpp
@@ -11,6 +11,7 @@
#include "MRMeshComponents.h"
#include "MRParallelFor.h"
#include "MRReg... | 3 | 2 | 1 | [{"id": "G0", "claim": "maybeLens may be empty, so maybeLens->back() in curveFromPoints could read past the end.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The periodic wrap `std::fmodf( curveTime, curve.totalLength )` does not work for negative... | null |
MeshInspector__MeshLib__5845 | MeshInspector/MeshLib | 5,845 | defect | 5d105054255abf4bf8a638a300119a8965e21568 | 0509ad5038a2ae7a8f87115b30d2bcebb1164a2e | UnfoldQuad lineIntersection caps support | Degenerate quads are now better supported for unfolded quads diagonal intersection | diff --git a/source/MRMesh/MRReducePath.cpp b/source/MRMesh/MRReducePath.cpp
index 662c98a03c76..da64798f78f5 100644
--- a/source/MRMesh/MRReducePath.cpp
+++ b/source/MRMesh/MRReducePath.cpp
@@ -32,6 +32,15 @@ static T lineIsect( const Vector2<T> & b, const Vector2<T> & c, const Vector2<T>
{
const auto c1 = cross... | 2 | 2 | 0 | [{"id": "G0", "claim": "The degenerate needles case assertion `EXPECT_TRUE( x == 0 || x == 1 )` should be replaced — the reviewer suggested the range check `EXPECT_TRUE( x >= 0 && x <= 1 )`, and the PR author countered with `EXPECT_TRUE( x == 0 )`.", "category": "testing", "verdict": "supported", "priority": "P2", "sco... | null |
MeshInspector__MeshLib__5852 | MeshInspector/MeshLib | 5,852 | defect | af9c4b58fd874206421d5edaf9bcac9a2a22cf27 | 8c51f0757a3a928e4653fe136f5f84b3bafd2bfd | Decimation: complete queue update after flip | Previously some queue elements were not added after edge flip during decimation, this PR fixes it. Test added for this scenario | diff --git a/source/MRMesh/MRMeshDecimate.cpp b/source/MRMesh/MRMeshDecimate.cpp
index df111f50342c..f02bf35c2d8b 100644
--- a/source/MRMesh/MRMeshDecimate.cpp
+++ b/source/MRMesh/MRMeshDecimate.cpp
@@ -515,10 +515,14 @@ void MeshDecimator::flipEdge_( UndirectedEdgeId ue )
assert( mesh_.topology.left( e ) );
... | 2 | 2 | 0 | [{"id": "G0", "claim": "In the new test's comment, \"allows collision of 46\" should read \"allows the collapse of 46\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In the new test's comment, \"only allow to collapse 46 edge\" should read \"onl... | null |
MeshInspector__MeshLib__5889 | MeshInspector/MeshLib | 5,889 | defect | b7258e40941d031d08b18e03e9fed04ea17d6b0c | acae515a0efee58f12b546ce7594c38fa444afe0 | isFillingMultipleEdgeFree function | New function `isFillingMultipleEdgeFree` that can be used for checking checking a fill plan that was generated before filling other holes. If the function returns `false` just call `fillHole` instead of executing bad plan.
Tests added. | diff --git a/source/MRMesh/MRMeshFillHole.cpp b/source/MRMesh/MRMeshFillHole.cpp
index 756a800940f0..48dbb73c589a 100644
--- a/source/MRMesh/MRMeshFillHole.cpp
+++ b/source/MRMesh/MRMeshFillHole.cpp
@@ -587,6 +587,27 @@ void executeHoleFillPlan( Mesh & mesh, EdgeId a0, HoleFillPlan & plan, FaceBitSe
assert( plan.n... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new function `doesFillingMultipleEdgeFree` should be named `isFillingMultipleEdgeFree` (does->is?).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added note that the function \"can be used for checking filling pl... | null |
MeshInspector__MeshLib__5948 | MeshInspector/MeshLib | 5,948 | defect | 2f3b5fb61ae21ca570937dd6fd09de949355db12 | 833c40a9ba8518790d22a1b1b880975c3396b3d7 | MRZlib: optional properties output (CRC-32 + sizes) on raw compress | ## Why
Step 2 toward parallelizing `MR::compressZip`. libzip's trust-source fast path ([zip_close.c:561](thirdparty/libzip/lib/zip_close.c#L561)) requires the source to report `COMP_METHOD | CRC | SIZE` valid in its `ZIP_SOURCE_STAT` response. The parallel pre-compression workers need `zlibCompressStream` to hand back... | diff --git a/source/MRMesh/MRZlib.cpp b/source/MRMesh/MRZlib.cpp
index 2289f7dc5568..2d08fa62c6f5 100644
--- a/source/MRMesh/MRZlib.cpp
+++ b/source/MRMesh/MRZlib.cpp
@@ -75,6 +75,10 @@ Expected<void> zlibCompressStream( std::istream& in, std::ostream& out, const Zl
deflateEnd( &stream );
};
+ const ... | 5 | 5 | 0 | [{"id": "G0", "claim": "The new ZlibCompressProperties struct should carry its own purpose description instead of pointing to another struct.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The struct and field named 'properties' actually hold comp... | null |
MetaMask__metamask-extension__42170 | MetaMask/metamask-extension | 42,170 | defect | 3c0306f11b86ad7c2fcaab677a13fe88e7f9fe93 | afd943f91dff252980cae9ef6c7956c0e7155941 | fix: inlude hip3 categorization on perps market list cp-13.29.0 | <!--
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**
The Stocks, Commodities, and Forex tabs in the perps market list were rendering empty even though HIP-3... | diff --git a/ui/pages/perps/market-list/index.test.tsx b/ui/pages/perps/market-list/index.test.tsx
index 0a3f7fbeba58..1f97f80ddb56 100644
--- a/ui/pages/perps/market-list/index.test.tsx
+++ b/ui/pages/perps/market-list/index.test.tsx
@@ -234,6 +234,60 @@ describe('MarketListView', () => {
expect(screen.getByT... | 1 | 1 | 1 | [{"id": "G0", "claim": "Since the UI categorization filter relies on the controller/data layer continuing to limit which HIP-3 markets reach the UI when the feature flag state is incomplete, an integration test should be added at that boundary.", "category": "testing", "verdict": "supported", "priority": "P1", "scope":... | null |
MetaMask__metamask-mobile__27152 | MetaMask/metamask-mobile | 27,152 | defect | 010ee1b635bfa01fbd50b00040cb3d5ddcf08d7c | 14a54791d19069916d0f0d552642286f3b30aa23 | test: color-no-hex mobile-core-ux batch |
<!--
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**
<!--
Write a short description of the changes included in this pull request, also include relevant motivation... | diff --git a/app/components/UI/Transactions/TransactionsFooter.test.tsx b/app/components/UI/Transactions/TransactionsFooter.test.tsx
index ce78fe5770ba..471e3b26e020 100644
--- a/app/components/UI/Transactions/TransactionsFooter.test.tsx
+++ b/app/components/UI/Transactions/TransactionsFooter.test.tsx
@@ -4,21 +4,12 @@... | 2 | 2 | 1 | [{"id": "G0", "claim": "The Transactions index tests should use the shared mockTheme for these colors and for the rest of the file instead of adding @metamask/design-tokens/color-no-hex eslint-disable comments around inline hex values.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": ... | null |
MetaMask__metamask-mobile__27535 | MetaMask/metamask-mobile | 27,535 | defect | d6fd3c403b48aca16ba7f799f032f96315665d7b | 9b8b7cf3a2fd4c41a4e0016df47a0fba81cec0fb | feat: migrate Button (bridge scope) | <!--
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**
<!--
Write a short description of the changes included in this pull request, also include relevant mot... | diff --git a/app/components/UI/Bridge/Views/BridgeView/BridgeView.test.tsx b/app/components/UI/Bridge/Views/BridgeView/BridgeView.test.tsx
index 0effde01eaf4..0b40b2f02681 100644
--- a/app/components/UI/Bridge/Views/BridgeView/BridgeView.test.tsx
+++ b/app/components/UI/Bridge/Views/BridgeView/BridgeView.test.tsx
@@ -3... | 4 | 1 | 1 | [{"id": "G0", "claim": "The optional chaining on confirmButton?.props.onPress?.() means that if UNSAFE_getAllByType(Button) does not find the DSRN Button, onPress is never called and the test fails at the waitFor with a confusing timeout error instead of clearly indicating the button was not found; a non-null assertion... | null |
MetaMask__metamask-mobile__27694 | MetaMask/metamask-mobile | 27,694 | defect | 8e46b07c854c66dc132b551ac79db4f8dbf41979 | fbe58fa70b60f44c192cfe33b653e565a96c8a35 | feat: add access restricted modal and compliance UI infrastructure | ## **Description**
Adds OFAC compliance UI infrastructure under a new `app/components/UI/Compliance/` feature directory, following the same co-location pattern as `Earn`, `Bridge`, and `Perps`.
**What changed:**
- New `AccessRestrictedModal` BottomSheet component that informs users when their wallet address has ... | diff --git a/app/components/UI/Compliance/AccessRestrictedModal/AccessRestrictedModal.test.tsx b/app/components/UI/Compliance/AccessRestrictedModal/AccessRestrictedModal.test.tsx
new file mode 100644
index 000000000000..3ba79b953587
--- /dev/null
+++ b/app/components/UI/Compliance/AccessRestrictedModal/AccessRestricted... | 11 | 4 | 0 | [{"id": "G0", "claim": "The element-presence assertions in AccessRestrictedModal.test.tsx use toBeTruthy() instead of the required toBeOnTheScreen() matcher.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "AccessRestrictedContext.test.tsx calls getByTest... | null |
MetaMask__metamask-mobile__27791 | MetaMask/metamask-mobile | 27,791 | defect | 8a03f66803964cbbe25b37cde717aeed03ec4bf7 | 1bbea67d42b933b9c641c66899712f3848de7951 | fix(perps): validate TP/SL prices, clear stale config, and block invalid orders cp-7.71.0 | ## **Description**
Fixes three related bugs in the Perps order form involving Take Profit (TP) and Stop Loss (SL) prices that were restored from a previous session's pending trade configuration:
1. **Stale TP/SL persisted after order submission**: The `pendingTradeConfiguration` was not cleared after a successful... | diff --git a/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.test.tsx b/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.test.tsx
index 81b8e3a67c16..3607e5230754 100644
--- a/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.test.tsx
+++ b/app/components/UI/Perps/Views/PerpsOrderView/P... | 5 | 3 | 2 | [{"id": "G0", "claim": "clearPendingTradeConfiguration runs unconditionally after executeOrder, so the pending trade config (including TP/SL) is cleared even when the order fails on the exchange, contradicting the comment's stated intent of clearing only after successful submission.", "category": "correctness", "verdic... | null |
MetaMask__metamask-mobile__27849 | MetaMask/metamask-mobile | 27,849 | defect | 6d239279c08ca3015d0351eddfd6483b67b79b72 | 1136a226b280a4819aca665b1661fd4f1f622163 | chore: market insights, adds filled state and persist ability to the feedback buttons | <!--
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**
The Market Insights thumbs up/down feedback buttons previously didn't give a clear indication that they... | diff --git a/app/components/UI/MarketInsights/Views/MarketInsightsView/MarketInsightsView.test.tsx b/app/components/UI/MarketInsights/Views/MarketInsightsView/MarketInsightsView.test.tsx
index 0315a5a763b7..10f47a37db97 100644
--- a/app/components/UI/MarketInsights/Views/MarketInsightsView/MarketInsightsView.test.tsx
+... | 3 | 2 | 1 | [{"id": "G0", "claim": "The feedbackGiven state is restored from the cache inside a useEffect that fires after the browser paints, so on remount there is one rendered frame where the icons appear unfilled; using useLayoutEffect would sync the cached value before the screen updates.", "category": "correctness", "verdict... | null |
MetaMask__metamask-mobile__27855 | MetaMask/metamask-mobile | 27,855 | defect | b2ebb6dae6936cb408a71c0621f619f0eb443817 | b5362c1eef3abf0cb63534f1db0150ba6bd44969 | refactor(analytics): C3-a migrate security, wallet UI, navigation, and settings to useAnalytics | ## **Description**
<!--
Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions:
1. What is the reason for the change?
2. What is the improvement/solution?
-->
Part of the C3 analytics migration (#26686). This ... | diff --git a/app/component-library/components/Navigation/TabBar/TabBar.tsx b/app/component-library/components/Navigation/TabBar/TabBar.tsx
index be91fde7a8f2..4e175bb0abe1 100644
--- a/app/component-library/components/Navigation/TabBar/TabBar.tsx
+++ b/app/component-library/components/Navigation/TabBar/TabBar.tsx
@@ -1... | 5 | 5 | 4 | [{"id": "G0", "claim": "The ProtectYourWalletModal test mocks useAnalytics, which the component no longer uses, and never mocks util/analytics/analytics, so mockTrackEvent is never invoked and assertions like expect(mockTrackEvent).toHaveBeenCalledWith(...) will always fail; the test should mock util/analytics/analytic... | null |
MetaMask__metamask-mobile__27862 | MetaMask/metamask-mobile | 27,862 | defect | 6df8a92dc26ecb2c979d71fb5f176663a9740375 | 1c4d1ec17c01beb20ba596b3fb9e1a331550c03a | fix: mm_pay_time_to_complete_s is logging incorrect (too low) values | <!--
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**
Fix time calculation for metrics `mm_pay_time_to_complete_s`. Replace the use of submittedTime in curre... | diff --git a/app/core/Engine/controllers/transaction-controller/metrics_properties/metamask-pay.test.ts b/app/core/Engine/controllers/transaction-controller/metrics_properties/metamask-pay.test.ts
index e3237c380ce5..5d0fce1732c3 100644
--- a/app/core/Engine/controllers/transaction-controller/metrics_properties/metamas... | 4 | 4 | 1 | [{"id": "G0", "claim": "For non-PAY_TYPE standalone MM Pay fallback transactions (metamaskPay metadata but no parent, no requiredTransactionIds, no batchId), passing getLatestChildSubmittedTime(...) instead of transactionMeta.submittedTime to addTimeToComplete yields undefined, so mm_pay_time_to_complete_s is never rec... | null |
MetaMask__metamask-mobile__27878 | MetaMask/metamask-mobile | 27,878 | defect | 79b1aa88a8bc5618a2a54dc633c34aef844c6a8f | 06aaadae65a2ecac095a666ddff803bf28773bc8 | feat(swaps): add verified badges to asset picker |
<!--
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**
<!--
Write a short description of the changes included in this pull request, also include relevant motivation... | diff --git a/app/components/UI/Bridge/components/BridgeTokenSelector/BridgeTokenSelector.test.tsx b/app/components/UI/Bridge/components/BridgeTokenSelector/BridgeTokenSelector.test.tsx
index 360805979ae3..23be039e0d22 100644
--- a/app/components/UI/Bridge/components/BridgeTokenSelector/BridgeTokenSelector.test.tsx
+++ ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The Icon test mock exports the wrong enum values (IconColor.Info and IconSize.Xs instead of IconColor.InfoDefault and IconSize.Sm), so the tests can never catch a regression where the wrong color or size is passed to the verified icon.", "category": "testing", "verdict": "supported", "priority":... | null |
MetaMask__metamask-mobile__27928 | MetaMask/metamask-mobile | 27,928 | defect | 905939b12a91984c2fcf1f539a61c61bb3be376a | f207bf679eae582e84cc246361fa06f1a7140296 | fix(swaps): scroll bridge to top from trending token details |
<!--
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**
<!--
Write a short description of the changes included in this pull request, also include relevant motivation... | diff --git a/app/components/UI/Bridge/Views/BridgeView/index.tsx b/app/components/UI/Bridge/Views/BridgeView/index.tsx
index a8f9bbf951d6..2fd220a5431a 100644
--- a/app/components/UI/Bridge/Views/BridgeView/index.tsx
+++ b/app/components/UI/Bridge/Views/BridgeView/index.tsx
@@ -36,6 +36,7 @@ import {
import {
useNa... | 1 | 1 | 1 | [{"id": "G0", "claim": "The tests for handleBuyPress and handleSellPress assert that goToSwaps is called with false as the last argument (scrollToTopOnNav), but the implementation in useTokenActions.ts passes true, so all four affected test assertions will fail.", "category": "testing", "verdict": "supported", "priorit... | null |
MetaMask__metamask-mobile__28039 | MetaMask/metamask-mobile | 28,039 | defect | 1a1b9b603f4fe935fb4a46efc92389e73320411c | a54a528ead8310833502a34ddf2bac7dca28d442 | feat: add info section for money account deposits | <!--
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**
Add info section for money account deposits.
## **Changelog**
<!--
If this PR is not End-User-Fa... | diff --git a/app/components/Views/confirmations/components/confirm/confirm-component.tsx b/app/components/Views/confirmations/components/confirm/confirm-component.tsx
index 2315e4f1cfd5..4541be031519 100755
--- a/app/components/Views/confirmations/components/confirm/confirm-component.tsx
+++ b/app/components/Views/conf... | 2 | 2 | 2 | [{"id": "G0", "claim": "MoneyAccountDepositInfo renders CustomAmountInfo without a currency prop, so useTokenFiatRate falls back to the user's selected currency and non-USD users get incorrect fiat-to-token conversion rates that could result in users depositing wrong amounts.", "category": "correctness", "verdict": "su... | null |
MetaMask__metamask-mobile__28072 | MetaMask/metamask-mobile | 28,072 | defect | e2bb36adf63622dc4ca65342b2e1705bef211979 | cf91733e4dbbd22a1d5791d21e1b7bfccf9ee565 | fix(perps): [DESIGN DEBT] Update arrow symbols on perps order pages | ## **Description**
Replaces `Arrow2Left`/`Arrow2Right` (bidirectional arrow icons) with `ArrowLeft`/`ArrowRight` (standard directional arrows) on three perps screens. The `Arrow2*` variants imply a two-way swap which is incorrect for a back button and before→after value transition indicators.
## **Changelog**
CHANGE... | diff --git a/app/components/UI/Perps/Perps.testIds.ts b/app/components/UI/Perps/Perps.testIds.ts
index 20b4d81bcb9f..b636f7c405dd 100644
--- a/app/components/UI/Perps/Perps.testIds.ts
+++ b/app/components/UI/Perps/Perps.testIds.ts
@@ -170,6 +170,7 @@ export const getPerpsMarketRowItemSelector = {
export const PerpsO... | 1 | 1 | 0 | [{"id": "G0", "claim": "The newly added unit test is named 'should use ArrowLeft icon for back button, not Arrow2Left', which uses the prohibited \"should\" prefix in violation of the unit-testing guidelines hard rule, and should be renamed to a compliant name such as 'uses ArrowLeft icon for back button instead of Arr... | null |
MetaMask__metamask-mobile__28147 | MetaMask/metamask-mobile | 28,147 | defect | b02b848bb896f7208c89c558c90c977b6d5a1fd1 | a2c4de080b95dd61d5635593460e9e56108a1790 | fix: enhance useMerklBonusClaim with session lock and reward refetching cp-7.72.0 | <!--
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**
Fixes a regression where the Claim bonus CTA for mUSD could remain visible after a successful claim and... | diff --git a/app/components/UI/Earn/components/MerklRewards/hooks/useMerklBonusClaim.test.ts b/app/components/UI/Earn/components/MerklRewards/hooks/useMerklBonusClaim.test.ts
index 9c5f2d075717..021139040f46 100644
--- a/app/components/UI/Earn/components/MerklRewards/hooks/useMerklBonusClaim.test.ts
+++ b/app/component... | 2 | 2 | 2 | [{"id": "G0", "claim": "claimRewardsWithSessionLock captures rewardsFetchVersion from its closure at creation time, so when the 60-second auto-refresh increments the version while the claim is in flight, setClaimLockFetchVersion is called with the stale pre-increment version, the lock comparison evaluates to false, and... | null |
MetaMask__metamask-mobile__28159 | MetaMask/metamask-mobile | 28,159 | defect | 952a1bfcb58a78711fce8dba05d006734b896d29 | ba0ca4aab120b51d7b000db599be70cd7427d407 | feat: migrate `FundActionMenu` to `BottomSheet` | <!--
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**
<!--
Write a short description of the changes included in this pull request, also include relevant mot... | diff --git a/app/components/UI/FundActionMenu/FundActionMenu.test.tsx b/app/components/UI/FundActionMenu/FundActionMenu.test.tsx
index ea3067610a0e..6faeba36ab3b 100644
--- a/app/components/UI/FundActionMenu/FundActionMenu.test.tsx
+++ b/app/components/UI/FundActionMenu/FundActionMenu.test.tsx
@@ -3,6 +3,7 @@ import Re... | 2 | 1 | 0 | [{"id": "G0", "claim": "Update the bottom sheet's testID in the component and in the tests to something more unique to this feature than the generic \"bottom-sheet\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The migrated DSRN BottomSheet r... | null |
MetaMask__metamask-mobile__28184 | MetaMask/metamask-mobile | 28,184 | defect | bbdda3cd74c4616fc6154253c71d91d1344570c2 | 0661d0b293c262cfacdc900f9551fac5e44377b8 | refactor: remove ScreenComponent any casts for RootModalFlow assets/settings | ## **Description**
Migrate 4 RootModalFlow assets/settings components from prop-based route access to `useRoute()` hook (PR 8 of 13).
**Components:** BasicFunctionalityModal, AssetHideConfirmation, AssetOptions, NftOptions
## **Changelog**
CHANGELOG entry: null
## **Related issues**
Fixes:
## **Manual testing st... | diff --git a/app/components/Nav/App/App.tsx b/app/components/Nav/App/App.tsx
index a87d92eb4cae..17e96c5fa6a6 100644
--- a/app/components/Nav/App/App.tsx
+++ b/app/components/Nav/App/App.tsx
@@ -512,7 +512,7 @@ const RootModalFlow = (props: RootModalFlowProps) => (
/>
<Stack.Screen
name={Routes.SHEET.B... | 9 | 6 | 0 | [{"id": "G0", "claim": "Replace the toBeTruthy assertion with toBeOnTheScreen in the title-render test so it asserts on the screen hierarchy rather than truthiness of an element query.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Replace the t... | null |
MetaMask__metamask-mobile__28258 | MetaMask/metamask-mobile | 28,258 | defect | d99884dafcc4cdf92ffd49924542a53c9d90a2d8 | 06e2127a725f8bd98fcfff0fcc6e81acdb32b7fc | fix(perps): reduce always-on websocket init errors |
<!--
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**
<!--
Write a short description of the changes included in this pull request, also include relevant m... | diff --git a/app/components/UI/Perps/components/PerpsTutorialCarousel/PerpsTutorialCarousel.tsx b/app/components/UI/Perps/components/PerpsTutorialCarousel/PerpsTutorialCarousel.tsx
index 6f3428b726d1..227ee8f41a75 100644
--- a/app/components/UI/Perps/components/PerpsTutorialCarousel/PerpsTutorialCarousel.tsx
+++ b/app/... | 6 | 4 | 3 | [{"id": "G0", "claim": "When suppressError is true the timeout handler never sets the CONNECTION_TIMEOUT error, so the post-health-check guard in connect() misses the timeout and a later ping success can override the timeout's state changes, leaving isConnected=true with isInitialized=false; the reviewer asks to decoup... | null |
MetaMask__metamask-mobile__28336 | MetaMask/metamask-mobile | 28,336 | defect | 13b1de3a8a860bebda558832fe9e0640d2dc3bd9 | daafd5ce87f21d6dd378bce347f1f82edfebc2b4 | feat: redesign MM Pay confirmations pages | <!--
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**
Implementing design changes in MM Page pages.
## **Changelog**
<!--
If this PR is not End-User-F... | diff --git a/app/components/Views/confirmations/components/MoneyAccountSelector/MoneyAccountSelector.styles.ts b/app/components/Views/confirmations/components/AccountSelector/AccountSelector.styles.ts
similarity index 80%
rename from app/components/Views/confirmations/components/MoneyAccountSelector/MoneyAccountSelecto... | 3 | 2 | 2 | [{"id": "G0", "claim": "The available balance shown on the money account withdraw page is hard-coded ($0.00) as a temporary measure until money accounts are implemented with a way to get their balance.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim... | null |
MetaMask__metamask-mobile__28452 | MetaMask/metamask-mobile | 28,452 | defect | e259aee9b2480ccb57deff52cc838d99c9656b10 | 8dec69d8859c30b400d25a3037b69475e29121f2 | feat: selectSRPbottomsheet and revealPrivateCredential design migration | <!--
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**
* Migrate SelectSRP and RevealPrivateCredential intp new design system migration.
* Jira: https://cons... | diff --git a/app/components/Views/RevealPrivateCredential/RevealPrivateCredential.tsx b/app/components/Views/RevealPrivateCredential/RevealPrivateCredential.tsx
index a6f451135ffc..d77068b9f2fd 100644
--- a/app/components/Views/RevealPrivateCredential/RevealPrivateCredential.tsx
+++ b/app/components/Views/RevealPrivate... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test should not mock the entire @metamask/design-system-react-native package just to expose callback props as pressable elements with testIDs, against the unit-testing guideline; BottomSheetHeader's native backButtonProps={{ testID }} support can make the back button testable without mocking... | null |
MetaMask__metamask-mobile__28489 | MetaMask/metamask-mobile | 28,489 | defect | bfd958c70b7e9278a3374894a9e7f8680dd19f07 | b61151bf47f4926dd0966dd8cb769db07b7b4c47 | feat(predict): add series data service for Crypto Up/Down markets | <!--
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**
<!--
Write a short description of the changes included in this pull request, also include relevant mot... | diff --git a/app/components/UI/Predict/controllers/PredictController-method-action-types.ts b/app/components/UI/Predict/controllers/PredictController-method-action-types.ts
index 05d34bf86531..d0971b632212 100644
--- a/app/components/UI/Predict/controllers/PredictController-method-action-types.ts
+++ b/app/components/U... | 3 | 3 | 2 | [{"id": "G0", "claim": "predictSeriesKeys.detail includes only seriesId while the queryFn also depends on endDateMin, endDateMax and limit, so if the date window changes while seriesId stays the same React Query returns stale cached data instead of refetching.", "category": "correctness", "verdict": "supported", "prior... | null |
MetaMask__metamask-mobile__28545 | MetaMask/metamask-mobile | 28,545 | defect | 4d6afcc67ed61f94603a048131cd1a63e37bbd11 | 2eea2364f421dd1dadc61a14a5232ec6f96483b7 | fix(perps): extract payment token init into useInitPerpsPaymentToken hook and move it to the parent cp-7.73.0 | ## **Description**
The `PerpsPayRow` component contained ~110 lines of payment token initialization logic (pending config syncing, default token selection, asset-change resets) mixed in with its rendering concerns. This made the component harder to follow and impossible to unit-test the initialization behavior in is... | diff --git a/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.tsx b/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.tsx
index 261e0d9afdd0..5508288a1746 100644
--- a/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.tsx
+++ b/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.t... | 4 | 2 | 0 | [{"id": "G0", "claim": "The newly added import of useDefaultPayWithTokenWhenNoPerpsBalance in PerpsOrderView.tsx is unused because the hook already uses it internally, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After... | null |
MetaMask__metamask-mobile__28580 | MetaMask/metamask-mobile | 28,580 | defect | 4d6afcc67ed61f94603a048131cd1a63e37bbd11 | 7574e2a78d21e926abab4c0d540b01e233846301 | fix: persist chart type in state |
## **Description**
Implemented persistent chart type preference (Line vs Candlestick) for Advanced Charts across all asset pages using Redux user state with automatic persistence via redux-persist.
## Problem
When users switched between Line and Candlestick chart types, the preference was not saved. Upon nav... | diff --git a/app/actions/user/index.ts b/app/actions/user/index.ts
index 27c4feb51fa8..d75e21c904b0 100644
--- a/app/actions/user/index.ts
+++ b/app/actions/user/index.ts
@@ -1,4 +1,5 @@
import { type AppThemeKey } from '../../util/theme/models';
+import { type ChartType } from '../../components/UI/Charts/AdvancedChar... | 2 | 2 | 1 | [{"id": "G0", "claim": "The import of normalizeTokenAddress in Price.advanced.tsx is unused and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "selectTokenOverviewChartType returns undefined for persisted state lacking tokenOve... | null |
MetaMask__metamask-mobile__28587 | MetaMask/metamask-mobile | 28,587 | defect | e75dadba567a9a2736d3049f5f756855288aa6b0 | bd26b883bc81a9b2035500210e9a346d6219434d | test: market insights on asset view added | <!--
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**
## Description
This PR adds E2E test coverage for the **Market Insights** feature on asset details.
... | diff --git a/tests/api-mocking/mock-responses/feature-flags-mocks.ts b/tests/api-mocking/mock-responses/feature-flags-mocks.ts
index 4dfaea13f0c4..7e3ce782359d 100644
--- a/tests/api-mocking/mock-responses/feature-flags-mocks.ts
+++ b/tests/api-mocking/mock-responses/feature-flags-mocks.ts
@@ -196,3 +196,16 @@ export c... | 2 | 1 | 1 | [{"id": "G3", "claim": "An assertion should be added on top of the tap so the test makes sure the tokens are loaded before tapping.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G5", "claim": "The suite's `SmokeNetworkAbstractions` tag describes network management te... | null |
MetaMask__metamask-mobile__28624 | MetaMask/metamask-mobile | 28,624 | defect | 3f566c5a225e27f075c57cbd6fd9770492f818d6 | a931b57903c3dcada50a6723cb86cc21edc47666 | test: phishing detection E2E tests with mocked dapp-scanning API | ## **Description**
Replace quarantined phishing detection E2E tests that navigated to live external URLs (`coin-qr.to`, `tyschenko.github.io`) with new tests using local HTML fixtures and mocked dapp-scanning API responses.
The two original tests in `browser-tests.failing.ts` hit live phishing sites, violating E2E te... | diff --git a/tests/fixtures/phishing/iframe-test.html b/tests/fixtures/phishing/iframe-test.html
new file mode 100644
index 000000000000..220c5bbd385b
--- /dev/null
+++ b/tests/fixtures/phishing/iframe-test.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewpor... | 2 | 2 | 1 | [{"id": "G0", "claim": "The tests/fixtures/phishing/index.html fixture is created but never referenced by any test, leaving dead code whose description claims it triggers phishing detection.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The URL... | null |
MetaMask__metamask-mobile__28625 | MetaMask/metamask-mobile | 28,625 | defect | 3f566c5a225e27f075c57cbd6fd9770492f818d6 | 10f85d13cbb9f2b35f80aeae4c5d7c7e8d0c2783 | feat(predict): add TimeSlotPicker component for series time windows (PRED-788) | ## **Description**
Add a new `TimeSlotPicker` component for the Predict feature that displays a horizontal scrollable strip of pill-shaped items representing time windows (past, live, future) for crypto Up/Down prediction market series.
This is a standalone reusable component built ahead of the series detail scre... | diff --git a/app/components/UI/Predict/components/TimeSlotPicker/TimeSlotPicker.constants.ts b/app/components/UI/Predict/components/TimeSlotPicker/TimeSlotPicker.constants.ts
new file mode 100644
index 000000000000..d6f01c27a4c9
--- /dev/null
+++ b/app/components/UI/Predict/components/TimeSlotPicker/TimeSlotPicker.cons... | 2 | 2 | 2 | [{"id": "G0", "claim": "liveMarket is memoized with [markets] only while findLiveMarket depends on Date.now(), so once the live market's countdown reaches zero the memo never recomputes: the expired market keeps isLive true and the live indicator never moves to the next market.", "category": "correctness", "verdict": "... | null |
MetaMask__metamask-mobile__28678 | MetaMask/metamask-mobile | 28,678 | defect | 495414e68e261dbc344edb3ed89dffa42a1d27db | f9a9f99408c27516641abd8e6720cf378c38d2ac | fix(perps): enforce geo-block and compliance gate on Market Insights Long/Short actions cp-7.72.1 | ## **Description**
The `MarketInsightsView` (AI summaries page) Long/Short buttons navigated directly to `PerpsOrderRedirect` without checking geo-eligibility or running the compliance gate. This allowed users in restricted regions to bypass restrictions and open perps positions from the Market Insights entry point,... | diff --git a/app/components/UI/MarketInsights/Views/MarketInsightsView/MarketInsightsView.test.tsx b/app/components/UI/MarketInsights/Views/MarketInsightsView/MarketInsightsView.test.tsx
index 439a107e8938..1aef20aebce7 100644
--- a/app/components/UI/MarketInsights/Views/MarketInsightsView/MarketInsightsView.test.tsx
+... | 3 | 1 | 1 | [{"id": "G0", "claim": "The geo-block <Modal> in MarketInsightsView lacks the plain <View> wrapper used by every other Perps geo-block modal, which per those components' comment can cause rendering issues and UI freezing on Android.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd... | null |
MetaMask__metamask-mobile__28873 | MetaMask/metamask-mobile | 28,873 | defect | 7c48d5be8250d4128fe5cd59fd042329fb15d006 | 2e2d6252a6c7afd9bb5010e432e15077cf8cef95 | feat: hold time label and wiring | <!--
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**
The trader profile StatsRow currently shows a dash placeholder for avg hold time with the label "avg. h... | diff --git a/app/components/Views/SocialLeaderboard/TraderProfileView/TraderProfileView.tsx b/app/components/Views/SocialLeaderboard/TraderProfileView/TraderProfileView.tsx
index cf48ce7363a2..c40eb8baebe4 100644
--- a/app/components/Views/SocialLeaderboard/TraderProfileView/TraderProfileView.tsx
+++ b/app/components/V... | 3 | 2 | 0 | [{"id": "G0", "claim": "The code reads profile.stats.medianHoldMinutes while the PR description names the API field medianHoldingTimeMinutes, so the property may not exist on TraderStats and the hold time could silently always render as a dash; this should be verified against the @metamask/social-controllers@0.2.0 type... | null |
MetaMask__metamask-mobile__29085 | MetaMask/metamask-mobile | 29,085 | defect | 9adef4fea5ba0a50cd9e30267b01e5904a9ba188 | a17261e5a6c117447d6da29b4262e82cb6bc8430 | feat(hw): add executeHardwareWalletOperation utility |
<!--
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**
Add shared utility that runs hardware wallet operations behind the standard readiness + awaiting-conf... | diff --git a/app/core/HardwareWallet/contexts/HardwareWalletContext.tsx b/app/core/HardwareWallet/contexts/HardwareWalletContext.tsx
index 983854e5ab7c..4c820b3c90c0 100644
--- a/app/core/HardwareWallet/contexts/HardwareWalletContext.tsx
+++ b/app/core/HardwareWallet/contexts/HardwareWalletContext.tsx
@@ -22,7 +22,7 @@... | 5 | 5 | 1 | [{"id": "G0", "claim": "The test name 'handles operationType message' uses the prohibited weasel word \"handles\" and should be renamed to describe the actual behavior, e.g. 'passes message operationType to showAwaitingConfirmation'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i... | null |
MetaMask__metamask-mobile__29170 | MetaMask/metamask-mobile | 29,170 | defect | 756b7015cb06258b0801c59c8cbc9c0400162a20 | 06d9c875991777b6ccf6f3b252ac08a0dd302efb | feat(perps): track pay-token validation errors in analytics | ## **Description**
In the "trade with any token" flow, the custom confirm button performs its own validation but was not tracking when standardized blocking alerts (e.g. `useInsufficientPayTokenBalanceAlert`, `useNoPayTokenQuotesAlert`) fire. This meant validation errors like "insufficient funds" and "insufficient s... | diff --git a/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.test.tsx b/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.test.tsx
index 1753466f186a..be09d4094684 100644
--- a/app/components/UI/Perps/Views/PerpsOrderView/PerpsOrderView.test.tsx
+++ b/app/components/UI/Perps/Views/PerpsOrderView/P... | 3 | 2 | 1 | [{"id": "G0", "claim": "The new tests assert against the wrong mock: since usePerpsEventTracking is fully mocked to return a no-op track that never calls createEventBuilder, findPerpsErrorBuilder always returns undefined, so the two positive assertions will always fail and the two negative tests pass vacuously.", "cate... | null |
MetaMask__metamask-mobile__29177 | MetaMask/metamask-mobile | 29,177 | defect | edf69ec5951efbc5c4ccf5eb58ed611ba4d29d3d | e81fa15b693903bf5b082d260ac2fe8b15774761 | feat(money): card linking homepage state (MUSD-609) | ## **Description**
Implements the Money Account homepage "card linking" state — displayed when a user has deposited funds and has an unlinked MetaMask Card. This state encourages card linking with benefits messaging.
**Subtasks implemented:**
- **MUSD-610**: Updated the "Step 2 of 2" `MoneyOnboardingCard` with... | diff --git a/app/components/UI/Money/Views/MoneyHomeView/MoneyHomeView.test.tsx b/app/components/UI/Money/Views/MoneyHomeView/MoneyHomeView.test.tsx
index 50ab4bf2e6d2..29a98b0862f3 100644
--- a/app/components/UI/Money/Views/MoneyHomeView/MoneyHomeView.test.tsx
+++ b/app/components/UI/Money/Views/MoneyHomeView/MoneyHom... | 3 | 2 | 1 | [{"id": "G0", "claim": "When isCardUnlinked is true, the MoneyOnboardingCard shows the link-card CTA text but onCtaPress is bound to handleCardPress/handleAddPress instead of handleLinkCardPress, so the Link card button will trigger the wrong flow once real handlers are wired.", "category": "correctness", "verdict": "s... | null |
MetaMask__metamask-mobile__29228 | MetaMask/metamask-mobile | 29,228 | defect | 8542e143f5d67038de4667c4756a08053ded17e6 | 6652ae9e1f80d1d6c9a5969e508d5705b8f16297 | chore: money account related code refactor | <!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until this PR meets the canonical
Definition of Ready For Review in `docs/readme/ready-for-review.md`.
In short: the template must be materially complete (not just section titles
present), all status checks must be currently ... | diff --git a/app/components/Views/confirmations/components/AccountSelector/AccountSelector.styles.ts b/app/components/Views/confirmations/components/AccountSelector/AccountSelector.styles.ts
index fb20dec7eb3e..8ead9380d40d 100644
--- a/app/components/Views/confirmations/components/AccountSelector/AccountSelector.style... | 1 | 1 | 0 | [{"id": "G0", "claim": "The newly added useMoneyAccountPayTokenMock.mockReturnValue(...) at the end of the pay-with-row.test.tsx beforeEach is an exact duplicate of the identical call earlier in the same block, adding no behavior but creating maintenance confusion about which setup is canonical.", "category": "maintain... | null |
MetaMask__metamask-mobile__29250 | MetaMask/metamask-mobile | 29,250 | defect | c463847719a5b5fff78693ffc46b3c71c5eef3f7 | e4ebeef84d79398e8852d79ab4e5af10f2e33abb | fix: add bridge missing-price warning flow | ## **Description**
This PR adds the missing-price warning flow for bridge quotes when price data is unavailable. It shows an inline danger banner in the bridge view, presents a confirmation modal before submission, and keeps the warning order consistent so token warnings are handled before the missing-price prompt. It... | diff --git a/app/components/UI/Bridge/Views/BridgeView/BridgeView.test.tsx b/app/components/UI/Bridge/Views/BridgeView/BridgeView.test.tsx
index 1195f1fa9d3e..77d8f4566185 100644
--- a/app/components/UI/Bridge/Views/BridgeView/BridgeView.test.tsx
+++ b/app/components/UI/Bridge/Views/BridgeView/BridgeView.test.tsx
@@ -2... | 3 | 3 | 3 | [{"id": "G0", "claim": "hasMissingPriceData has its real logic commented out and unconditionally returns true, so every bridge quote is treated as missing price data and no bridge transaction can complete normally.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1... | null |
MetaMask__metamask-mobile__29279 | MetaMask/metamask-mobile | 29,279 | defect | 072a42ce1ae59361ff6142aa90dd8d839787d396 | e1a702abb1121b8ae8c1dcbd753885ce50601cc5 | feat: adds haptic feedback and checkmark to quickbuy | <!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until this PR meets the canonical
Definition of Ready For Review in `docs/readme/ready-for-review.md`.
In short: the template must be materially complete (not just section titles
present), all status checks must be currently ... | diff --git a/app/components/Views/SocialLeaderboard/TraderPositionView/components/QuickBuyBottomSheet/QuickBuyBottomSheet.tsx b/app/components/Views/SocialLeaderboard/TraderPositionView/components/QuickBuyBottomSheet/QuickBuyBottomSheet.tsx
index ae8239514716..9ee61e61bc2d 100644
--- a/app/components/Views/SocialLeader... | 2 | 1 | 1 | [{"id": "G0", "claim": "Because dispatch(setIsSubmittingTx(false)) runs before the 800ms success delay, the BottomSheet becomes interactable (isInteractable={!isSubmittingTx}) during the checkmark animation, so a user swipe-dismiss unmounts the component while the setTimeout callback still fires, calling onClose() a se... | null |
MetaMask__metamask-mobile__29316 | MetaMask/metamask-mobile | 29,316 | defect | 0769701c494cf29648ddd1b946aa6d1e00f9a03b | 84240d507cf0ac77daf6500ecaaebbffd14f5d34 | chore: leaderboard - abbreviate large token amounts in position rows | <!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until this PR meets the canonical
Definition of Ready For Review in `docs/readme/ready-for-review.md`.
In short: the template must be materially complete (not just section titles
present), all status checks must be currently ... | diff --git a/app/components/Views/SocialLeaderboard/TraderProfileView/components/PositionRow.test.tsx b/app/components/Views/SocialLeaderboard/TraderProfileView/components/PositionRow.test.tsx
index caf5d1ec971e..b73dd790c30f 100644
--- a/app/components/Views/SocialLeaderboard/TraderProfileView/components/PositionRow.t... | 1 | 1 | 1 | [{"id": "G0", "claim": "formatAmountWithThreshold(value, 4) is called with a 4-decimal cap while the utility's 0.00001 threshold leaves values like 0.00003 passing the guard but rounding to \"0\", so small non-zero token amounts silently display as zero.", "category": "correctness", "verdict": "supported", "priority": ... | null |
MetaMask__metamask-mobile__29336 | MetaMask/metamask-mobile | 29,336 | defect | abe7112cd4b6071bafaf7fef521129f3783fe986 | 68f2802ecfce55b27ae66d245d09b32a6bf5e99f | feat(MUSD-473): Add money choice bottom sheet | <!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until this PR meets the canonical
Definition of Ready For Review in `docs/readme/ready-for-review.md`.
In short: the template must be materially complete (not just section titles
present), all status checks must be currently passing... | diff --git a/app/components/UI/Money/Views/MoneyHomeView/MoneyHomeView.test.tsx b/app/components/UI/Money/Views/MoneyHomeView/MoneyHomeView.test.tsx
index 50ab4bf2e6d2..af14d2453247 100644
--- a/app/components/UI/Money/Views/MoneyHomeView/MoneyHomeView.test.tsx
+++ b/app/components/UI/Money/Views/MoneyHomeView/MoneyHom... | 7 | 7 | 4 | [{"id": "G0", "claim": "The Add money sheet should be moved into a new MODALS route object and a dedicated modal navigator with screenOptions presentation 'transparentModal' (as in Earn), since registering it as a regular stack screen leaves a blank screen behind the modal instead of the previous screen showing through... | null |
MetaMask__metamask-mobile__29344 | MetaMask/metamask-mobile | 29,344 | defect | eec13f3e6fb3b1ef06c64652ef8ca595449316f7 | 9b7eb6e8338c3961b4815ae88b26659b2ec9c89f | fix: Perps chart viewport breaking when revisiting a candle interval | ## **Description**
Fixes a bug where the Perps trading chart's viewport would break, flicker, or "jump between views" when navigating back to a previously visited candle interval (e.g. 4h → 8h → 4h). The first visit to an interval worked correctly, but revisits would render the wrong zoom, drop candles older than th... | diff --git a/app/components/UI/Perps/components/TradingViewChart/TradingViewChart.incremental.test.tsx b/app/components/UI/Perps/components/TradingViewChart/TradingViewChart.incremental.test.tsx
new file mode 100644
index 000000000000..e1bda668bc94
--- /dev/null
+++ b/app/components/UI/Perps/components/TradingViewChart... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a describe('mergeCandleData', ...) unit-test block covering the merge invariants (incoming candles win on overlapping timestamps, older cached candles outside the incoming range are preserved, result sorted ascending, MAX_CACHED_CANDLES cap keeps the newest window, symbol/interval mismatch f... | null |
MetaMask__metamask-mobile__29346 | MetaMask/metamask-mobile | 29,346 | defect | dcad69f7a51661b781f5d4ebced34d1eb0a58d08 | f72688b81df9b3cefd966932d2a211740a520035 | feat(card): migrate delegation methods to CardController | <!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until this PR meets the canonical
Definition of Ready For Review in `docs/readme/ready-for-review.md`.
In short: the template must be materially complete (not just section titles
present), all status checks must be currently ... | diff --git a/app/components/UI/Card/hooks/useCardDelegation.test.ts b/app/components/UI/Card/hooks/useCardDelegation.test.ts
index 4cca69478709..9fc43552fbb2 100644
--- a/app/components/UI/Card/hooks/useCardDelegation.test.ts
+++ b/app/components/UI/Card/hooks/useCardDelegation.test.ts
@@ -1,10 +1,8 @@
import { render... | 1 | 1 | 0 | [{"id": "G0", "claim": "The currency field is lowercased twice — in useCardDelegation before calling CardController.approveFunding and again in BaanxProvider.approveFunding — creating ambiguous ownership of normalization that could silently break if either site is later removed.", "category": "maintainability", "verdic... | null |
MetaMask__metamask-mobile__29360 | MetaMask/metamask-mobile | 29,360 | defect | 20e81f04604f152bb96f01e234a024f0812a7b5a | ae546a5545dc58fd381efc9fbc5a21812e3080c8 | fix: reduce min/max amount validation flashing in build quote | ## **Description**
This PR fixes `TRAM-3472` on the Unified Buy V2 `BuildQuote` screen.
While a user is typing an amount, min/max provider-limit validation was surfacing immediately on each intermediate value. That made the amount input and inline error flash red while the user was still entering a final valid nu... | diff --git a/app/components/UI/Ramp/Views/BuildQuote/BuildQuote.test.tsx b/app/components/UI/Ramp/Views/BuildQuote/BuildQuote.test.tsx
index 02df98886d9c..538beeb822e4 100644
--- a/app/components/UI/Ramp/Views/BuildQuote/BuildQuote.test.tsx
+++ b/app/components/UI/Ramp/Views/BuildQuote/BuildQuote.test.tsx
@@ -151,7 +15... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new test 'clears the visible limit error immediately once the amount is no longer invalid' presses keypad-trigger-empty, which zeroes the amount so hasAmount is false and the whole error section unmounts (QuickAmounts renders instead of actionSectionMessage) — so the test passes vacuously an... | null |
MetaMask__metamask-mobile__29383 | MetaMask/metamask-mobile | 29,383 | defect | f7de05af7f414127d4af505cae373fa7c2809fb8 | 7ac3c8e6b6f451bf982065cf1bc9aaa641776f78 | feat: deeplinks config social ai | <!--
Please submit this PR as a draft initially.
Do not mark it as "Ready for review" until this PR meets the canonical
Definition of Ready For Review in `docs/readme/ready-for-review.md`.
In short: the template must be materially complete (not just section titles
present), all status checks must be currently ... | diff --git a/app/components/Views/SocialLeaderboard/TraderPositionView/TraderPositionView.test.tsx b/app/components/Views/SocialLeaderboard/TraderPositionView/TraderPositionView.test.tsx
index c75c96b177bf..cfb7c47b1c3b 100644
--- a/app/components/Views/SocialLeaderboard/TraderPositionView/TraderPositionView.test.tsx
+... | 7 | 6 | 3 | [{"id": "G0", "claim": "The scratch file write-permission-test.txt, committed only to verify push access, was left in the PR and will be merged into the codebase if not removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The deeplink handler... | null |
MetaMask__snaps__1586 | MetaMask/snaps | 1,586 | defect | 9b5ed07f50ee97ae1e093e2b5de711643ab667ea | cc0fa8534fc766fa2dfed5733ca2b336afcf2e66 | Allow disabling markdown for text component | Fixes #1587
Allow disabling markdown for the snaps-ui text component.
Markdown can be disabled by specifying either:
```
text('Hello world', false)
text({ value: 'foo bar', markdown: false }
```
If no flag is specified, we will assume markdown to be **enabled**, this way the API is backwards compatible.... | diff --git a/packages/examples/packages/bip32/snap.manifest.json b/packages/examples/packages/bip32/snap.manifest.json
index 46f28f9a9b..23f5a75fb4 100644
--- a/packages/examples/packages/bip32/snap.manifest.json
+++ b/packages/examples/packages/bip32/snap.manifest.json
@@ -7,7 +7,7 @@
"url": "https://github.com/M... | 2 | 2 | 0 | [{"id": "G0", "claim": "A ticket should be created to update the simulator to support the new markdown-disable behaviour of the text component.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The JSDoc of the text builder does not mention the new `... | null |
MetaMask__snaps__1669 | MetaMask/snaps | 1,669 | defect | 92648b61a8554e5eaa7a5680706f6c62ab5921fd | e8d65479ce5fdc7a9a6c03b9921e5bab6f6ba9c7 | Fix parallel usage of registry | Fixes an issue where multiple calls to the registry at once would spam requests to the registry. | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 524d3bb9cf..a49d0e5531 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,6 +1,6 @@
{
- "branches": 88.88,
+ "branches": 88.95,
"functions": 95.69,
- "lin... | 1 | 1 | 0 | [{"id": "G0", "claim": "The #triggerUpdate function should have a docstring (with the 'should not be called directly' note folded into it) so that editors surface it in popups, since a bare comment above can be invisible while maintaining.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope"... | null |
MetaMask__snaps__1800 | MetaMask/snaps | 1,800 | defect | e91915d531d421e4b8fa45c9cf65859c12d5191c | 4cb7005924b8237b15f3998657a66677817e624f | Fix some issues with SnapController events | Fixes a few issues with SnapController events being emitted prematurely when multiple snaps were being installed. Also adds a `SnapController:snapUninstalled` event which is more reliable than `SnapController:snapRemoved`.
This PR also removes an old feature flag `dappsCanUpdateSnaps`, this feature is now enabled by... | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 157cbf78d9..cbc4235bbb 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,6 +1,6 @@
{
- "branches": 89,
- "functions": 95.8,
- "lines": 96.89,
- "statements... | 1 | 1 | 0 | [{"id": "G0", "claim": "A comment should be added explaining why the snapUpdated event is not emitted by the updateSnap call made when an already installed snap is updated as part of processing a requested snap.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MetaMask__snaps__1835 | MetaMask/snaps | 1,835 | defect | 3c6782fbb711a446eb75a3760c71583e70659aec | 404f97d77d1d0dff07ee8c4600d2d78e05153693 | Fix `snaps-controllers` and `snaps-execution-environments` tests | This fixes the Snaps controllers and execution environments tests on #1818. | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 42a887dfc6..4d7ba0c10f 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,5 +1,5 @@
{
- "branches": 89.28,
+ "branches": 89.39,
"functions": 95.6,
"line... | 1 | 1 | 0 | [{"id": "G0", "claim": "A TODO comment, like the ones the PR already adds elsewhere, should also be added at these spots noting that errors should be unwrapped and the actual error message asserted.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
MetaMask__snaps__1838 | MetaMask/snaps | 1,838 | defect | 169599422d021ed1ebcf702c39f9b18660daecc9 | 6d46361b907ed902144ae4f7253b1f76ef40e0fb | Fix name lookup example snap | The current example snap is not inline with SIP-12, see https://github.com/MetaMask/snaps/pull/1768#discussion_r1334399505 | diff --git a/packages/examples/packages/name-lookup/package.json b/packages/examples/packages/name-lookup/package.json
index cd79c30158..f5fd64a9c3 100644
--- a/packages/examples/packages/name-lookup/package.json
+++ b/packages/examples/packages/name-lookup/package.json
@@ -32,8 +32,7 @@
"lint:dependencies": "depc... | 2 | 2 | 1 | [{"id": "G0", "claim": "Remove the console.log statement (and its eslint-disable comment) that logs the CAIP-2 chainId from onNameLookup.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Returning the static 'test.domain' drops the dynamic value b... | null |
MetaMask__snaps__1877 | MetaMask/snaps | 1,877 | defect | f2e652b36ee0f97b031a77e79fbf6053e57e66f9 | 9add4ca99b9f4ab25e98c4066178e03337031d9a | Try to match requested version with an allowlisted version | Adds a `resolveVersion` function to the registry implementation, this can be used to find the highest matching and allowlisted version for a given version range. This function will be used if the `requireAllowlist` feature flag is enabled and resolves to a specific version before hitting NPM.
This resolves an issue ... | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 2bbc0da9e1..b77508711c 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,6 +1,6 @@
{
- "branches": 89.54,
- "functions": 96.21,
- "lines": 97.1,
- "stateme... | 3 | 3 | 0 | [{"id": "G0", "claim": "The new \"not on the allow list\" error messages should read \"Snap\" and \"allowlist\" (capitalize Snap and spell allowlist as one word), as proposed in the suggestion blocks.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ... | null |
MetaMask__snaps__1915 | MetaMask/snaps | 1,915 | defect | 45a5591cf91f0f3ae16135cc0a5f4e3901a67800 | d7a18d7e42c89b0f010c3d5566c305fc8b2e2fd3 | Update manage state example | Updates manage state example to support both encrypted and unencrypted state.
Also adds support for the new unencrypted mode to `test-snaps`. | diff --git a/packages/examples/packages/manage-state/README.md b/packages/examples/packages/manage-state/README.md
index 8cd80a3c45..51f2a9f74d 100644
--- a/packages/examples/packages/manage-state/README.md
+++ b/packages/examples/packages/manage-state/README.md
@@ -44,5 +44,9 @@ JSON-RPC methods:
if one is set, or ... | 7 | 7 | 0 | [{"id": "G0", "claim": "Add a blank line after `operation: ManageStateOperation.GetState,` in getState to separate it from the encryption explanation comment.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a blank line after `newState,` in s... | null |
MetaMask__snaps__1917 | MetaMask/snaps | 1,917 | defect | 45a5591cf91f0f3ae16135cc0a5f4e3901a67800 | c553d1f6b16cf9fca8f1319bc5006c812e350ac8 | Make an initial commit when creating a Snap from template | Note: merge this after #1916
When creating a new Snap using the create-snap CLI, we make an initial commit with the code of the template. This makes it easier for devs to see the changes they make as they start hacking on the template, without having to remember to make an initial commit manually.
This is simila... | diff --git a/packages/create-snap/src/cmds/init/initHandler.test.ts b/packages/create-snap/src/cmds/init/initHandler.test.ts
index 2abf71d2b5..5bbfd76ba4 100644
--- a/packages/create-snap/src/cmds/init/initHandler.test.ts
+++ b/packages/create-snap/src/cmds/init/initHandler.test.ts
@@ -53,7 +53,7 @@ describe('initializ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The initial-commit message should not end with a period and should use the full package name \"@metamask/create-snap\" instead of \"create-snap\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
MetaMask__snaps__1953 | MetaMask/snaps | 1,953 | defect | f621a331d0c39c9ef1d901b18009aa968c052732 | e001a23592f67e48733030e99fd36b08f7c20013 | Use browser native SHA256 when possible | Use browser native SHA256 whenever possible as it is WAY faster in our environment.
Example benchmark (-96% 😎):
```
noble SHA256 of 143134685 bytes took 10131.300000190735 ms
browser SHA256 of 143134685 bytes took 351.90000009536743 ms
```
Because of this, the checksum function is now async. All functions th... | diff --git a/packages/create-snap/src/cmds/init/initHandler.test.ts b/packages/create-snap/src/cmds/init/initHandler.test.ts
index 715a845bd4..9b6c8f3b47 100644
--- a/packages/create-snap/src/cmds/init/initHandler.test.ts
+++ b/packages/create-snap/src/cmds/init/initHandler.test.ts
@@ -2,6 +2,7 @@ import * as snapUtils... | 5 | 3 | 0 | [{"id": "G0", "claim": "Asks whether top-level await is supported in the environment, which would let DEFAULT_SNAP_SHASUM be computed instead of hardcoded with a comment warning that it must be recalculated manually.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id":... | null |
MetaMask__snaps__1974 | MetaMask/snaps | 1,974 | defect | 08ae0ba939412efc029554f58df0e80e115e6959 | b39d1fa9df6f043e201eb687efb7c3d1298bcf03 | Fix a few issues with passing non-serializable JSON | `AbstractExecutionService` will now properly guard against passing invalid JSON-RPC requests and `BaseSnapExecutor` will try to respond with an error if it receives an invalid JSON-RPC request that is deemed valid enough to respond. | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 25912e75fb..4fe841e39a 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,6 +1,6 @@
{
- "branches": 90.26,
+ "branches": 90.47,
"functions": 96.32,
- "lin... | 2 | 1 | 1 | [{"id": "G0", "claim": "The `(message as Pick<JsonRpcRequest, 'id'>)` type cast looks unnecessary because `hasProperty` should already narrow the type of `message`.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When the message ID is invalid th... | null |
MetaMask__snaps__2002 | MetaMask/snaps | 2,002 | defect | 390d78824dfcde1154985b052abb39958ea9d029 | 9242bc790f94a4365dd10003839561f986deed53 | Add images example Snap | This adds a new example Snap, demonstrating the `image` component, as well as a utility functions for fetching images. | diff --git a/packages/examples/README.md b/packages/examples/README.md
index fd81efbcf2..10fe87454b 100644
--- a/packages/examples/README.md
+++ b/packages/examples/README.md
@@ -36,6 +36,9 @@ The following is a list of the snaps in this directory.
- [**`packages/home-page`**](./packages/home-page):
This snap demon... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new example Snap's package.json version should be \"0.0.0\" (via a suggestion block) rather than \"2.1.0\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MetaMask__snaps__2114 | MetaMask/snaps | 2,114 | defect | 51eab98bddc82158446370dc7602deb1e1d07f01 | a835582bb50a793fb7476dd2c7f60ad17d017062 | Add `onSignature` support to `snaps-jest` | Adds a `onSignature` helper to `snaps-jest`, allowing testing of signature insights. | diff --git a/packages/examples/packages/signature-insights/src/index.test.ts b/packages/examples/packages/signature-insights/src/index.test.ts
index 4aa40c825e..0dd7d8254f 100644
--- a/packages/examples/packages/signature-insights/src/index.test.ts
+++ b/packages/examples/packages/signature-insights/src/index.test.ts
@... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new `sendSignature` helper should be renamed after the handler it triggers (`onSignature`, alongside `onTransaction`, etc.), and the branch rebased.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The README example fo... | null |
MetaMask__snaps__2152 | MetaMask/snaps | 2,152 | defect | 2bebe60a93cdd6d6531850e61c00ac7c35f506d2 | 200e0aeee5a6ca7144989572b6536dab4002c265 | Always create dynamic UI for returned content | This PR makes changes to always create dynamic UI for returned static content from handlers. It introduces a `transformSnapRpcRequestResult` function that can be used in the future for any transformation needed for snap results before returning them.
This removes the need for the `SnapController` to handle phishing ... | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 14dd8d60b9..f9dea77fd9 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,6 +1,6 @@
{
- "branches": 91.17,
+ "branches": 91.22,
"functions": 96.92,
- "lin... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a test verifying that it returns the expected interface id if the handler returns an interface id.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MetaMask__snaps__2424 | MetaMask/snaps | 2,424 | defect | c95a142ba42d732d78ad9a19daa6ef4c48f1b8a6 | 7b512bfcfdc948da51057e41c88fdebf9aa45806 | Add connections diff calculations needed for Snap update | This PR adds additional logic for calculating difference of `initialConnections`. This is required so changes can be displayed in the UI for Snap update process.
New method is added to `SnapController` and integrated within Snap update handling functions. | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 7847baf18b..70b2ddcf6d 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,6 +1,6 @@
{
- "branches": 91.44,
+ "branches": 91.3,
"functions": 96.73,
"line... | 4 | 4 | 0 | [{"id": "G0", "claim": "The `connections` field in the update-approval requestState is now redundant given the new computed connection fields, and can probably be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `// @ts-expect-error t... | null |
MetaMask__snaps__2458 | MetaMask/snaps | 2,458 | defect | e95e6709cc3e883582e72994288f3c285ee10d7f | 5a0e5082c3915689ba1378431237fd36084150c1 | feat: allow wildcards in `allowedOrigins` | Allow wildcards in `allowedOrigins` by generating a RegExp based on each allowed origin and testing the origin against it.
Closes #2457 | diff --git a/packages/snaps-utils/coverage.json b/packages/snaps-utils/coverage.json
index ce1f9b87d8..2df1f16496 100644
--- a/packages/snaps-utils/coverage.json
+++ b/packages/snaps-utils/coverage.json
@@ -1,6 +1,6 @@
{
- "branches": 96.7,
- "functions": 98.72,
- "lines": 98.81,
- "statements": 94.79
+ "branches... | 4 | 3 | 0 | [{"id": "G0", "claim": "The wildcard count should be computed with value.split('*').length - 1 instead of the character-by-character reduce.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The wildcard tests would maybe be a bit more readable if ... | null |
MetaMask__snaps__2473 | MetaMask/snaps | 2,473 | defect | 1bf7e4f39bdec8211ed10b4a1d9bf226e4ade16f | b77768a5903d0555a9d6bf8ff0dd550826e249b9 | BREAKING: Defer creation of offscreen document in `OffscreenExecutionService` | Previously, the offscreen document needed to be created from the `OffscreenExecutionService` because the extension did not do any offscreen set up. Nowadays though, the offscreen document is used by the extension for functionality other than Snaps, and the set up is handled from the extension.
Instead, we the offscr... | diff --git a/packages/snaps-controllers/src/services/offscreen/OffscreenExecutionService.test.ts b/packages/snaps-controllers/src/services/offscreen/OffscreenExecutionService.test.ts
index 39f8866703..a814c202ce 100644
--- a/packages/snaps-controllers/src/services/offscreen/OffscreenExecutionService.test.ts
+++ b/packa... | 1 | 1 | 1 | [{"id": "G0", "claim": "With the PR's removal of the lazy document creation from `initEnvStream`, nothing guarantees the offscreen document exists by the time the stream code runs, breaking the ProxyExecutionService assumption and probably leading to a race condition.", "category": "correctness", "verdict": "supported"... | null |
MetaMask__snaps__2684 | MetaMask/snaps | 2,684 | defect | 908c37b400d0cb7a99d75f3a0266a527ff80633f | bbaa1509b83c7a56ccd3112d08aac709613dfb2f | Increase character limit for in-app notification messages | closes #2626 | diff --git a/packages/snaps-rpc-methods/jest.config.js b/packages/snaps-rpc-methods/jest.config.js
index e5ee2eb01e..015ebd2bcd 100644
--- a/packages/snaps-rpc-methods/jest.config.js
+++ b/packages/snaps-rpc-methods/jest.config.js
@@ -10,7 +10,7 @@ module.exports = deepmerge(baseConfig, {
],
coverageThreshold: {
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Specifying a non-string message makes the request fail with the first branch's error, telling the user the limit is 50 characters even when the selected notification type's limit is 500 characters.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MetaMask__snaps__2774 | MetaMask/snaps | 2,774 | defect | e7fab1c67a18d614848e7de64c9d8b33d4b4e8e8 | cb2379b7360bceb6a4d2de41ce32584ee33b75d4 | Add `AccountSelector` to `Box` and `Field` children | This PR fixes the forgotten addition of the `AccountSelector` to `Box` childrens list.
It also allows the usage of `AccountSelector` in the `Field` component.
The `title` prop of the `AccountSelector` was also dropped in favor of wrapping this component inside of a `Field`. | diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json
index 9110aeb803..96862de2bd 100644
--- a/packages/examples/packages/browserify-plugin/snap.manifest.json
+++ b/packages/examples/packages/browserify-plugin/snap.manifest.json
@... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pull request needs updates to its tests to cover the changes it makes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MetaMask__snaps__2809 | MetaMask/snaps | 2,809 | defect | a80db22dba02e7fbbf1a5f976662ae9e2ffc6ad3 | 955543e37a1cf86545b1f633786fb1ca3cac2881 | feat: Allow updating interface context | Allows updating the `context` object in the `SnapInterfaceController` via `snap_updateInterface`. This is a non-breaking change as `context` is optional.
Closes https://github.com/MetaMask/snaps/issues/2804 | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 194585d11c..cb15fa2386 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,5 +1,5 @@
{
- "branches": 92.6,
+ "branches": 92.63,
"functions": 96.65,
"line... | 1 | 1 | 1 | [{"id": "G0", "claim": "updateInterface overwrites the stored interface context with null when no new context is provided; the old context should be kept instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MetaMask__snaps__2833 | MetaMask/snaps | 2,833 | defect | 4be3dd39901312584f97df7ccdf7d85b0a801228 | b753e4dd35403d6cadcc162adbc8d1da19c08a5a | Add updated props for address component | Update props of address component to get it work in more flexible way.
Integration PR for `metamask-extension`: https://github.com/MetaMask/metamask-extension/pull/27798
Related ticket: https://github.com/MetaMask/snaps/issues/2758
| diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json
index 4eea98f356..2a3b9f89f8 100644
--- a/packages/examples/packages/browserify-plugin/snap.manifest.json
+++ b/packages/examples/packages/browserify-plugin/snap.manifest.json
@... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new optional props should be typed `boolean | undefined` instead of plain `boolean`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new props are missing JSDoc, both on the `AddressProps` type and on the `Address`... | null |
MetaMask__snaps__2849 | MetaMask/snaps | 2,849 | defect | 5d911607a58a905389b54055805fe200bda3d54f | e7b05088ea060f34117c5e10c01b5677ccebe670 | Add onInstall and onUpdate to snaps-jest | Add possibility to test lifecycle hooks with `snaps-jest`.
Fixes: https://github.com/MetaMask/snaps/issues/2790
| diff --git a/packages/examples/README.md b/packages/examples/README.md
index 1c6eeee985..ead217622c 100644
--- a/packages/examples/README.md
+++ b/packages/examples/README.md
@@ -118,6 +118,6 @@ This will make it easier for developers to understand the examples, and to use
them as a starting point for their own snaps.... | 4 | 4 | 3 | [{"id": "G0", "claim": "Developers should be able to pass the `origin` (and later more params) for the `onInstall`/`onUpdate` handlers, via a request object like the other helpers have.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The `onInstall` helpe... | null |
MetaMask__snaps__2856 | MetaMask/snaps | 2,856 | defect | ec811b7d140fd6a4ce3e7e68970bef7c55e89162 | 6f40593bf147cda59e92f2bb3b213d121d5b8934 | feat: Implement interface persistence | Implementing interface persistence based on a new property stored in the interface object called `contentType`, it is used to indicate whether the `SnapInterfaceController` should persist the interface. The property is added at various points in our system where an interface is created. | diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json
index 3fa785166d..3d64ffd13c 100644
--- a/packages/examples/packages/browserify-plugin/snap.manifest.json
+++ b/packages/examples/packages/browserify-plugin/snap.manifest.json
@... | 4 | 3 | 1 | [{"id": "G0", "claim": "The new #validateContentType utility should be covered by a test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "updateInterfaceContentType is overkill since only notifications need a content type, so it should be dropped or redu... | null |
MetaMask__snaps__2894 | MetaMask/snaps | 2,894 | defect | 0b198753de5511722d51fd2164cf519f6f5ae908 | 51b089b4abd86536668d1203c009b22306f45a65 | Add support for `Address` in `Card` title. | This PR adds support for the `Address` component as a title in the `Card` component. | diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json
index bb85919513..2f1d9b7758 100644
--- a/packages/examples/packages/browserify-plugin/snap.manifest.json
+++ b/packages/examples/packages/browserify-plugin/snap.manifest.json
@... | 1 | 1 | 0 | [{"id": "G0", "claim": "The Card `title` validation should use `selectiveUnion` (dispatching to `AddressStruct` for objects and `string()` otherwise) to get a slightly better error message than `nullUnion` provides.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MetaMask__snaps__2926 | MetaMask/snaps | 2,926 | defect | 6bd6fd818415a02eaa179672aa6c7a1e7a3ad382 | 24e3f5322a31e9fee7b001dea2ee8d13c75da12a | Allow `Field` in `Box` | This PR allows the usage of `Field` in `Box` to be able to put two field in a row. | diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json
index fed1f39649..9081fd0a99 100644
--- a/packages/examples/packages/browserify-plugin/snap.manifest.json
+++ b/packages/examples/packages/browserify-plugin/snap.manifest.json
@... | 1 | 1 | 0 | [{"id": "G0", "claim": "FormChildStruct duplicates the Box children struct after this change, so it should be removed and FormStruct should use children(BoxChildStruct) directly, or alternatively FormChildStruct should just be an alias of BoxChildrenStruct.", "category": "maintainability", "verdict": "supported", "prio... | null |
MetaMask__snaps__2956 | MetaMask/snaps | 2,956 | defect | b0036f54bf491d559525a1c51991a2aa435e18a0 | 4a134df1548ea40bb0630f6da7422c014b0223e9 | Expand testing for expanded-view notifications | 1. Updated the `@metamask/notification-example-snap` to have a method to trigger an expanded view notification.
2. Updated `test-snaps` to trigger the new methods added above.
3. Updated `snaps-jest` to allow for unit testing of expanded view notifications. | diff --git a/packages/examples/packages/notifications/src/index.ts b/packages/examples/packages/notifications/src/index.tsx
similarity index 70%
rename from packages/examples/packages/notifications/src/index.ts
rename to packages/examples/packages/notifications/src/index.tsx
index 03cb37a4be..399b562a9a 100644
--- a/pa... | 1 | 1 | 1 | [{"id": "G0", "claim": "The example snap's manifest needs to be updated so that CI passes.", "category": "build", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MetaMask__snaps__2966 | MetaMask/snaps | 2,966 | defect | aa5f7a141fcf2f75ffaca0cdefb9a87252ba2c29 | c7c2c505faf93ea7ddbf0d19bc43d3952fc8901c | BREAKING: Add support for new state methods to `snaps-simulation` | This adds support for the state methods introduced in #2916 to `snaps-simulation` (and `snaps-jest`), and updates the example to test these methods as well.
## Breaking changes
- The middleware hooks in `snaps-simulation` were separated into two separate types, `PermittedMiddlewareHooks` and `RestrictedMiddleware... | diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json
index ee74bc2427..551a11c430 100644
--- a/packages/examples/packages/browserify-plugin/snap.manifest.json
+++ b/packages/examples/packages/browserify-plugin/snap.manifest.json
@... | 2 | 1 | 0 | [{"id": "G0", "claim": "The new `getSnapStateImplementation` in permitted/state.ts duplicates a function that already exists, and the reviewer asks to dedupe them.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The internal methods middleware appe... | null |
MetaMask__snaps__3024 | MetaMask/snaps | 3,024 | defect | 687b5820030bef0cf386931371532df9219dc387 | 134c92cc9f2d5d0e398e16b484e11498d4dff163 | Add Skeleton component | ### Add Skeleton component.
Related PR in extension: https://github.com/MetaMask/metamask-extension/pull/29764
#### Code example
JSX code used for testing:
```typescript
<Container>
<Box>
<Text>Skeleton inside text component:</Text>
<Text>
... | diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json
index 0d829905dc..350ba5cec7 100644
--- a/packages/examples/packages/browserify-plugin/snap.manifest.json
+++ b/packages/examples/packages/browserify-plugin/snap.manifest.json
@... | 2 | 2 | 1 | [{"id": "G0", "claim": "The Skeleton border-radius union duplicates the Image component's, so it should be extracted to a shared `BorderRadius` type in a common place and reused by both components.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The JSDoc... | null |
MetaMask__snaps__3264 | MetaMask/snaps | 3,264 | defect | b0416059bd495aae5bb2ef4ed5d4ea4417d96ef6 | dd929b9a5bdc3caf51b23ee392ae89961915e5f4 | Add `displayAvatar` prop to `AddressInput` component | The `displayAvatar` prop is being added to the `AddressInput` component to allow a snap to indicate that it has validated the value of the component itself. Updated the send flow example snap as well, removed dead code that was missed previously. | diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json
index 4adcd8b77c..1437d1ac2a 100644
--- a/packages/examples/packages/browserify-plugin/snap.manifest.json
+++ b/packages/examples/packages/browserify-plugin/snap.manifest.json
@... | 1 | 1 | 0 | [{"id": "G0", "claim": "The `displayName` prop should instead be `displayAvatar`, reflecting the intent of showing an avatar for a valid address rather than a Snap-provided name.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MetaMask__snaps__3310 | MetaMask/snaps | 3,310 | defect | 88142f9a4cc00f33b705121d1691c5807b4bcc73 | 00449a01121ac3e5a46f22f85199344ad8595518 | fix: Make comparision case sensitive in MultichainRouter | As non-EVM accounts may be case sensitive, we cannot use `toLowerCase` for address comparision. This PR makes the `MultichainRouter` use case sensitive comparison instead. | diff --git a/packages/snaps-controllers/src/multichain/MultichainRouter.ts b/packages/snaps-controllers/src/multichain/MultichainRouter.ts
index 16b24210fa..ca79601a7f 100644
--- a/packages/snaps-controllers/src/multichain/MultichainRouter.ts
+++ b/packages/snaps-controllers/src/multichain/MultichainRouter.ts
@@ -218,7... | 2 | 2 | 2 | [{"id": "G0", "claim": "The PR should add a test case covering the new case-sensitive address comparison in MultichainRouter.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR should update the relevant documentation for the case-sensitivity change.... | null |
MetaMask__snaps__3394 | MetaMask/snaps | 3,394 | defect | fe8513ad357600e3fb69b468423549bd475f9164 | a07869bdab518f28179b91f2f08d6f896c07638a | feat: Implement SIP-31 | Introduces the `onClientRequest` handler as specified in SIP-31. This handler can only be called by MetaMask and is available to all Snaps without permission. It can be used for general purpose communication that must not be exposed to dapps (as `onRpcRequest`).
This handler is enforced to only be callable by the `m... | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 993ff36acf..b8cc8451e6 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,6 +1,6 @@
{
- "branches": 93.61,
+ "branches": 93.64,
"functions": 98.16,
"lin... | 3 | 2 | 0 | [{"id": "G0", "claim": "Nit: the mocked 'ExecutionService:handleRpcRequest' handler wraps its return value in a redundant 'Promise.resolve'; it should return the object literal directly.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Nit: the te... | null |
MetaMask__snaps__3461 | MetaMask/snaps | 3,461 | defect | 102e8185b1d284f82f7f6be3854c6767830a851b | 46ad146f6e7ca65202dc7c54e632b422a5c6a402 | feat: Add cronjob duration example | This adds a new example Snap demonstrating cronjobs with ISO 8601 durations instead of cron expressions. | diff --git a/packages/examples/README.md b/packages/examples/README.md
index eee0990f20..815151a667 100644
--- a/packages/examples/README.md
+++ b/packages/examples/README.md
@@ -27,7 +27,10 @@ The following is a list of the snaps in this directory.
executing the snap.
- [**`packages/cronjobs`**](./packages/cronjob... | 2 | 2 | 0 | [{"id": "G0", "claim": "The cronjob execution should use something less obtrusive than a dialog, such as a notification.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add UI for this snap to the test-snaps package.", "category": "design", "verdict": "su... | null |
MetaMask__snaps__3510 | MetaMask/snaps | 3,510 | defect | b814848970d746b26cedde3264747265ec9783ff | fd1897db2c2e505fb7359c849ba022ff3eb30a0f | fix: Handle scheduled events close to current time gracefully | When an event is supposed to be scheduled immediately there is a chance that by the time we get to schedule it the time left is less than 0 milliseconds. In that case we should just execute immediately. This is most likely to happen during initialization. | diff --git a/packages/snaps-controllers/src/cronjob/CronjobController.test.ts b/packages/snaps-controllers/src/cronjob/CronjobController.test.ts
index 767b72b04b..80b58d4827 100644
--- a/packages/snaps-controllers/src/cronjob/CronjobController.test.ts
+++ b/packages/snaps-controllers/src/cronjob/CronjobController.test.... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use `ms <= 0` instead of `ms < 0` so an event scheduled for exactly the current time is executed immediately rather than scheduled via the timer.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
MetaMask__snaps__3519 | MetaMask/snaps | 3,519 | defect | 9ef5f0f6c491eb4fbfba338a5c1f37630129eaa8 | 4f95cb5f0421934bf8511057bba26b7ea1b04b1c | feat: Add `snap_startTrace` and `snap_endTrace` methods for performance tracing | This adds two methods, `snap_startTrace` and `snap_endTrace`, intended to hook into the performance tracing functionality of Sentry. They are essentially wrappers of the `trace` and `endTrace` functions in the clients. | diff --git a/packages/examples/packages/preinstalled/snap.manifest.json b/packages/examples/packages/preinstalled/snap.manifest.json
index 4b3921c284..d2ae728132 100644
--- a/packages/examples/packages/preinstalled/snap.manifest.json
+++ b/packages/examples/packages/preinstalled/snap.manifest.json
@@ -7,7 +7,7 @@
... | 5 | 4 | 3 | [{"id": "G0", "claim": "The `endTrace` hook is declared to accept `TraceRequest` (the start-trace parameter type) while the implementation passes `EndTraceParameters`, so the hook's parameter type should be `EndTraceParameters` (EndTraceRequest).", "category": "correctness", "verdict": "supported", "priority": "P1", "s... | null |
MetaMask__snaps__3523 | MetaMask/snaps | 3,523 | defect | 46c9eb92d3aab27c0f1a18f6c99ea631c18923dd | 72d9a3633cffa0f073a7f27d9f7366d635487e7d | feat: Add feature flag to treat local Snaps as preinstalled | This adds a new feature flag `forcePreinstalledSnaps`, which makes the `SnapController` treat any local Snaps as preinstalled Snaps.
It's intended to only be enabled in local Flask builds, and should not be enabled in any production builds. It can be used to simplify the development of preinstalled Snaps by using a ... | diff --git a/packages/snaps-controllers/src/snaps/SnapController.ts b/packages/snaps-controllers/src/snaps/SnapController.ts
index c291a73505..0ec098e956 100644
--- a/packages/snaps-controllers/src/snaps/SnapController.ts
+++ b/packages/snaps-controllers/src/snaps/SnapController.ts
@@ -187,6 +187,7 @@ import {
throt... | 1 | 1 | 1 | [{"id": "G0", "claim": "The preinstalled args should set hideSnapBranding to true (instead of false) so that local preinstalled Snaps mimic production as closely as possible.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
MetaMask__snaps__3547 | MetaMask/snaps | 3,547 | defect | 27c8e144b600917f9b67391d72b6943ea8986076 | 43c3ca6733397600e86802673dff04a29d28c17d | feat: Add `snap_startTrace` and `snap_endTrace` support to `snaps-jest` | This adds support for `snap_startTrace` and `snap_endTrace` to `snaps-jest`, and a `toTrace` matcher to go with it. | diff --git a/packages/examples/packages/preinstalled/snap.manifest.json b/packages/examples/packages/preinstalled/snap.manifest.json
index 574602b886..fcbed12971 100644
--- a/packages/examples/packages/preinstalled/snap.manifest.json
+++ b/packages/examples/packages/preinstalled/snap.manifest.json
@@ -7,7 +7,7 @@
... | 8 | 7 | 3 | [{"id": "G0", "claim": "The author suggests considering not clearing performance traces (pendingTraces) between requests, and FrederikBolding asks whether keeping pendingTraces between runs would be a lot of work.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
MetaMask__snaps__3625 | MetaMask/snaps | 3,625 | defect | a8e0d22ea85a26c0212d7d18ffd38f557c7b7b75 | 508d7632ec62b39f1fab8c58f0459fe603ae1843 | fix: Improve a couple of error messages for UI components | Improve a couple of error messages when validating UI components that use the `children` utility method. | diff --git a/packages/snaps-sdk/src/internals/structs.test.ts b/packages/snaps-sdk/src/internals/structs.test.ts
index e5942b7744..3bb73c2331 100644
--- a/packages/snaps-sdk/src/internals/structs.test.ts
+++ b/packages/snaps-sdk/src/internals/structs.test.ts
@@ -8,6 +8,7 @@ import {
any,
} from '@metamask/superstru... | 4 | 3 | 0 | [{"id": "G0", "claim": "The `lazy` wrapper in BoldStruct's children may no longer be needed now that it is nested inside `selectiveUnion`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `lazy` wrapper in ItalicStruct's children may no longer... | null |
MetaMask__snaps__3723 | MetaMask/snaps | 3,723 | defect | e5f394c3e57a047eefce9b79a587a885841176dc | 27dda1a7a4ce81859097a0eb4bbe1ab050dea3b3 | fix: Remove logic for granting CAIP-25 permissions | This logic may not be needed. Pending verification.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Removes automatic granting of `endowment:caip25` and related network lookups, updates default dynamic permission to `endowment:caip25`, and adjusts tests accordingly.
>
> - **Core (`SnapController.ts`)**:
> - Remove logic t... | diff --git a/packages/snaps-controllers/src/snaps/SnapController.test.tsx b/packages/snaps-controllers/src/snaps/SnapController.test.tsx
index f8aa458bc1..21af87e078 100644
--- a/packages/snaps-controllers/src/snaps/SnapController.test.tsx
+++ b/packages/snaps-controllers/src/snaps/SnapController.test.tsx
@@ -6011,275 ... | 1 | 1 | 0 | [{"id": "G0", "claim": "Now that #getPermissionsToGrant has been removed, the messenger actions it used (SelectedNetworkController:getNetworkClientIdForDomain and NetworkController:getNetworkClientById) should be removed from the controller's allowed actions as well.", "category": "maintainability", "verdict": "support... | null |
MetaMask__snaps__3726 | MetaMask/snaps | 3,726 | defect | fe87c3a81dfb761270701c6e7b291aa8af345400 | 073aade746d9c68797125ef0ea30878207f94f5b | fix: Keep dynamic permissions on update | This fixes a bug where dynamic permissions would be revoked when updating a Snap. For example, if a Snap dynamically requested accounts through the `endowment:caip25` permission, that permission would be deemed unused, since the Snap can't request it in the manifest.
To solve it, I've added some logic that checks if... | diff --git a/packages/snaps-controllers/coverage.json b/packages/snaps-controllers/coverage.json
index 61ba9a304f..89feea7f15 100644
--- a/packages/snaps-controllers/coverage.json
+++ b/packages/snaps-controllers/coverage.json
@@ -1,5 +1,5 @@
{
- "branches": 94.87,
+ "branches": 94.77,
"functions": 98.03,
"lin... | 4 | 3 | 1 | [{"id": "G0", "claim": "The `?? []` fallback branch added for DYNAMIC_PERMISSION_DEPENDENCIES lookups is not covered by tests, and covering it is not easy without adding mock data to DYNAMIC_PERMISSION_DEPENDENCIES.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", ... | null |
MetaMask__snaps__3838 | MetaMask/snaps | 3,838 | defect | ce80114ed59dc618652ec200d08a32e5da59db3d | b9c22d7bbd3fe0c39ff459a66a44d468af17557b | feat: Add middleware to validate `wallet_snap` permission request | This adds middleware which validates `wallet_snap` permission requests. It ensures `wallet_snap` is not requested together with other permissions.
https://consensyssoftware.atlassian.net/browse/WPC-398
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Adds new request-validation middleware for `wallet_requ... | diff --git a/packages/snaps-rpc-methods/jest.config.js b/packages/snaps-rpc-methods/jest.config.js
index 0232cdaf75..8b94ad4d30 100644
--- a/packages/snaps-rpc-methods/jest.config.js
+++ b/packages/snaps-rpc-methods/jest.config.js
@@ -10,10 +10,10 @@ module.exports = deepmerge(baseConfig, {
],
coverageThreshold: ... | 2 | 1 | 0 | [{"id": "G0", "claim": "The reviewer asks whether v2 middlewares like the one added here can be dropped into clients as-is where needed, concerned they may not integrate directly.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use the existing WALLET_SNA... | null |
Meteor-Community-Packages__meteor-roles__299 | Meteor-Community-Packages/meteor-roles | 299 | defect | 84736398bac15cfc5c1e677f9ede1bfc91602296 | fa83039907854568622d41a42f4ceb24396baebe | Pull request to implement issue 298 | I modified the `_getUsersInRoleCursor` method to recognize `onlyScoped` option as well and added a server side test | diff --git a/roles/client/uiHelpers.js b/roles/client/uiHelpers.js
index 7ee2991..8061c71 100644
--- a/roles/client/uiHelpers.js
+++ b/roles/client/uiHelpers.js
@@ -41,7 +41,7 @@ Roles._uiHelpers = {
* @static
* @for UIHelpers
*/
- isInRole: function (role, scope) {
+ isInRole: function isInRoleHelper(rol... | 5 | 5 | 0 | [{"id": "G0", "claim": "The commented-out console.log debug line in the server test helper should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `r ? r._id : null` guard added in getRolesForUser is unjustified — in which case wou... | null |
MeteorDevelopment__meteor-client__128 | MeteorDevelopment/meteor-client | 128 | defect | 266e43f89ad6d0c8ecbe0df5b58c45aa06abefb9 | 61c39a3d5aa930b83dbae6ce32781c30a47bb4c3 | Added packet rotation setting to most modules that may need them. | Added packet rotation setting to the following:
- AnchorAura
- AntiBed
- AutoAnvil
- AutoCity
- AutoMount
- AutoNametag
- AutoShearer (for wing <3)
- AutoWeb
- HoleFiller
- KillAura
- LiquidFiller
- Nuker
- Scaffold
- SelfAnvil
- SelfWeb
- SmartSurround
- Surround | diff --git a/src/main/java/minegame159/meteorclient/modules/combat/AnchorAura.java b/src/main/java/minegame159/meteorclient/modules/combat/AnchorAura.java
index f84ffd9ac46..ec189edc06b 100644
--- a/src/main/java/minegame159/meteorclient/modules/combat/AnchorAura.java
+++ b/src/main/java/minegame159/meteorclient/module... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new rotation-mode setting's description, \"The way anchors are placed.\", should be fixed because it does not describe what the setting controls.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In the modules touched by ... | null |
MeteoraAg__dlmm-sdk__68 | MeteoraAg/dlmm-sdk | 68 | defect | bba9b2f8b29656838b980de970a58729647ffe1c | 250751b69e90d8798d4141691862c88f2dce4d47 | Feat/check lbpair v1 existence | Context: https://discord.com/channels/931167763907612703/953101077232893992/1238204884042383380 | diff --git a/ts-client/package-lock.json b/ts-client/package-lock.json
index 2cc2d8ed..368c64de 100644
--- a/ts-client/package-lock.json
+++ b/ts-client/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@meteora-ag/dlmm",
- "version": "1.0.34-rc.0",
+ "version": "1.0.35-rc.2",
"lockfileVersion": 3,
"requires":... | 3 | 3 | 1 | [{"id": "G0", "claim": "The new pool-existence helper should be renamed (reviewer suggests `isPoolNotExisted`) so its name reads sensibly at the `if (!checkPoolExists(...))` call site.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The guard at ... | null |
Michael-F-Bryan__mdbook-epub__123 | Michael-F-Bryan/mdbook-epub | 123 | defect | 14395b55ef0974da42f57f2d2764f79b942c79c0 | 58176a3a0b3a4101f1fe8ac5c961f144482f499a | Footnote pop-up and backreference links | This adds an option to add backreference links at the end of footnote definitions, so that the user can return and continue reading the main body of the text.
The code is based on the [footnote-rewrite.rs](https://github.com/pulldown-cmark/pulldown-cmark/blob/master/pulldown-cmark/examples/footnote-rewrite.rs) examp... | diff --git a/Cargo.lock b/Cargo.lock
index 8e167f8b8..8c5725d4d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -682,14 +682,143 @@ dependencies = [
"cc",
]
+[[package]]
+name = "icu_collections"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db2fa452206ebee18c4b5c227... | 6 | 5 | 1 | [{"id": "G0", "claim": "The checks fail because of a new compiler version.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The footnote_backrefs option should default to false rather than true.", "category": "design", "verdict": "supported", "prior... | null |
Michael-F-Bryan__mdbook-linkcheck__42 | Michael-F-Bryan/mdbook-linkcheck | 42 | defect | b6409a631f7294eeadca7cf9d77985488086ac67 | eedb1264776ee6fcdc96bbeb3c69c7984751f18f | Add option to check subset of files | closes #41
cc @camelid | diff --git a/src/bin/mdbook-linkcheck.rs b/src/bin/mdbook-linkcheck.rs
index dc46260e5..655a4ae43 100644
--- a/src/bin/mdbook-linkcheck.rs
+++ b/src/bin/mdbook-linkcheck.rs
@@ -21,7 +21,7 @@ fn main() -> Result<(), Error> {
};
let cache_file = ctx.destination.join("cache.json");
- mdbook_linkcheck::run(&... | 2 | 2 | 1 | [{"id": "G0", "claim": "The change to load_files_into_memory's signature breaks the build: tests/smoke_tests.rs still calls it with 2 arguments where 3 are now expected, as the linked CI run shows (error[E0061]).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1",... | null |
MichaelAquilina__S4__122 | MichaelAquilina/S4 | 122 | defect | ac7694a803a00f0ece4265c28d0109da02650687 | 932747e93afb4f6c326739a6be231ff09b4df749 | Replace fnmatch with pathspec for more thorough gitignore support | I've added a unit test to cover the subdirectory use case | diff --git a/requirements.txt b/requirements.txt
index 69f75ab..11afc5d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,3 +7,4 @@ tqdm>=4.8.4
scandir>=1.5
inotify-simple>=1.1.7
enum34>=1.1.6
+pathspec>=0.5.6
diff --git a/s4/clients/local.py b/s4/clients/local.py
index 0628146..2fcd920 100644
--- a/s4/clie... | 1 | 1 | 1 | [{"id": "G0", "claim": "The added line `full_path = os.path.join(path, item)` is failing on older versions of Python in the CI, and the bugs the CI caught should be fixed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}] | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.