mousetrap, a transitive dep of <HotKeys>, has a memory leak

Description

We have a dependency chain of <CommandList> on react-hotkeys on mousetrap and it appears that mousetrap leaks listeners. In the context of running tests in CI, this memory leak may manifest as tests timing out and failing. A POC PR removing <CommandList> from ui-users passed CI without any test failures, suggesting this memory leak is a major contributor to the random unit test failures we see there.

There is not a clear/obvious/easy path to resolving this because mousetrap is not a direct dependency.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Stripes Force

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 23, 2020 at 5:31 PM
Updated February 12, 2020 at 3:00 PM
Resolved February 12, 2020 at 3:00 PM
TestRail: Cases
TestRail: Runs